Skip to content
Start here

Custom Providers

List custom providers
GET/accounts/{account_id}/ai-gateway/custom-providers
Get a custom provider
GET/accounts/{account_id}/ai-gateway/custom-providers/{id}
Create a custom provider
POST/accounts/{account_id}/ai-gateway/custom-providers
Delete a custom provider
DELETE/accounts/{account_id}/ai-gateway/custom-providers/{id}
ModelsExpand Collapse
CustomProviderListResponse object { id, base_url, created_at, 12 more }
id: string
formatuuid
base_url: string
formaturi
created_at: string
formatdate-time
modified_at: string
formatdate-time
name: string
slug: string
beta: optional boolean
curl_example: optional string
description: optional string
enable: optional boolean
headers: optional string

JSON object of extra HTTP headers that AI Gateway sends to the provider. Values can contain credentials.

maxLength8192
js_example: optional string
position: optional number
CustomProviderGetResponse object { id, base_url, created_at, 12 more }
id: string
formatuuid
base_url: string
formaturi
created_at: string
formatdate-time
modified_at: string
formatdate-time
name: string
slug: string
beta: optional boolean
curl_example: optional string
description: optional string
enable: optional boolean
headers: optional string

JSON object of extra HTTP headers that AI Gateway sends to the provider. Values can contain credentials.

maxLength8192
js_example: optional string
position: optional number
CustomProviderCreateResponse object { id, base_url, created_at, 12 more }
id: string
formatuuid
base_url: string
formaturi
created_at: string
formatdate-time
modified_at: string
formatdate-time
name: string
slug: string
beta: optional boolean
curl_example: optional string
description: optional string
enable: optional boolean
headers: optional string

JSON object of extra HTTP headers that AI Gateway sends to the provider. Values can contain credentials.

maxLength8192
js_example: optional string
position: optional number
CustomProviderDeleteResponse object { id, base_url, created_at, 12 more }
id: string
formatuuid
base_url: string
formaturi
created_at: string
formatdate-time
modified_at: string
formatdate-time
name: string
slug: string
beta: optional boolean
curl_example: optional string
description: optional string
enable: optional boolean
headers: optional string

JSON object of extra HTTP headers that AI Gateway sends to the provider. Values can contain credentials.

maxLength8192
js_example: optional string
position: optional number