Proxy
Proxy POST request to provider
Proxy POST request to provider The request body depends on the specific provider and endpoint being called. If you decide to use this approach, please follow the provider-specific documentations.
post/proxy/{provider}/{path}
Request body
Response
ProviderResponse depends on the specific provider and endpoint being called If you decide to use this approach, please follow the provider-specific documentations.
ProviderSpecificResponse required
Provider-specific response format. Examples:
OpenAI GET /v1/models?provider=openai response:
{
"provider": "openai",
"object": "list",
"data": [
{
"id": "gpt-4",
"object": "model",
"created": 1687882410,
"owned_by": "openai",
"served_by": "openai"
}
]
}
Anthropic GET /v1/models?provider=anthropic response:
{
"provider": "anthropic",
"object": "list",
"data": [
{
"id": "gpt-4",
"object": "model",
"created": 1687882410,
"owned_by": "openai",
"served_by": "openai"
}
]
}
Changes
No recorded changes to this endpoint across all 55 revisions of this API.