Skip to content
Start here

Custom Providers

List Account Providers
client.aiGateway.customProviders.list(CustomProviderListParams { account_id, beta, enable, 3 more } params, RequestOptionsoptions?): V4PagePaginationArray<CustomProviderListResponse { id, base_url, created_at, 12 more } >
GET/accounts/{account_id}/ai-gateway/custom-providers
Fetch a Account Provider
client.aiGateway.customProviders.get(stringid, CustomProviderGetParams { account_id } params, RequestOptionsoptions?): CustomProviderGetResponse { id, base_url, created_at, 12 more }
GET/accounts/{account_id}/ai-gateway/custom-providers/{id}
Create a new Account Provider
client.aiGateway.customProviders.create(CustomProviderCreateParams { account_id, base_url, name, 9 more } params, RequestOptionsoptions?): CustomProviderCreateResponse { id, base_url, created_at, 12 more }
POST/accounts/{account_id}/ai-gateway/custom-providers
Delete a Account Provider
client.aiGateway.customProviders.delete(stringid, CustomProviderDeleteParams { account_id } params, RequestOptionsoptions?): CustomProviderDeleteResponse { id, base_url, created_at, 12 more }
DELETE/accounts/{account_id}/ai-gateway/custom-providers/{id}
ModelsExpand Collapse
CustomProviderListResponse { 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?: boolean
curl_example?: string
description?: string
enable?: boolean
headers?: string
maxLength8192
js_example?: string
position?: number
CustomProviderGetResponse { 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?: boolean
curl_example?: string
description?: string
enable?: boolean
headers?: string
maxLength8192
js_example?: string
position?: number
CustomProviderCreateResponse { 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?: boolean
curl_example?: string
description?: string
enable?: boolean
headers?: string
maxLength8192
js_example?: string
position?: number
CustomProviderDeleteResponse { 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?: boolean
curl_example?: string
description?: string
enable?: boolean
headers?: string
maxLength8192
js_example?: string
position?: number