Skip to content
Start here

Custom Providers

List Account Providers
ai_gateway.custom_providers.list(CustomProviderListParams**kwargs) -> SyncV4PagePaginationArray[CustomProviderListResponse]
GET/accounts/{account_id}/ai-gateway/custom-providers
Fetch a Account Provider
ai_gateway.custom_providers.get(strid, CustomProviderGetParams**kwargs) -> CustomProviderGetResponse
GET/accounts/{account_id}/ai-gateway/custom-providers/{id}
Create a new Account Provider
ai_gateway.custom_providers.create(CustomProviderCreateParams**kwargs) -> CustomProviderCreateResponse
POST/accounts/{account_id}/ai-gateway/custom-providers
Delete a Account Provider
ai_gateway.custom_providers.delete(strid, CustomProviderDeleteParams**kwargs) -> CustomProviderDeleteResponse
DELETE/accounts/{account_id}/ai-gateway/custom-providers/{id}
ModelsExpand Collapse
class CustomProviderListResponse:
id: str
formatuuid
base_url: str
formaturi
created_at: datetime
formatdate-time
modified_at: datetime
formatdate-time
name: str
slug: str
beta: Optional[bool]
curl_example: Optional[str]
description: Optional[str]
enable: Optional[bool]
headers: Optional[str]
maxLength8192
js_example: Optional[str]
position: Optional[int]
class CustomProviderGetResponse:
id: str
formatuuid
base_url: str
formaturi
created_at: datetime
formatdate-time
modified_at: datetime
formatdate-time
name: str
slug: str
beta: Optional[bool]
curl_example: Optional[str]
description: Optional[str]
enable: Optional[bool]
headers: Optional[str]
maxLength8192
js_example: Optional[str]
position: Optional[int]
class CustomProviderCreateResponse:
id: str
formatuuid
base_url: str
formaturi
created_at: datetime
formatdate-time
modified_at: datetime
formatdate-time
name: str
slug: str
beta: Optional[bool]
curl_example: Optional[str]
description: Optional[str]
enable: Optional[bool]
headers: Optional[str]
maxLength8192
js_example: Optional[str]
position: Optional[int]
class CustomProviderDeleteResponse:
id: str
formatuuid
base_url: str
formaturi
created_at: datetime
formatdate-time
modified_at: datetime
formatdate-time
name: str
slug: str
beta: Optional[bool]
curl_example: Optional[str]
description: Optional[str]
enable: Optional[bool]
headers: Optional[str]
maxLength8192
js_example: Optional[str]
position: Optional[int]