Proxy
Proxy DELETE request to provider
Changed onProxy DELETE 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.
delete/proxy/{provider}/{path}
Request
- Base URLhttp://localhost:8080
- URLhttp://localhost:8080/proxy/{provider}/{path}
- AuthHTTP bearer
Response
ProviderResponse depends on the specific provider and endpoint being called If you decide to use this approach, please follow the provider-specific documentations.
Provider Specific Response 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
- info
api tag
Proxyadded
- info
- info
endpoint added
- info