Get Available API Formats
Changed onRetrieves list of supported API formats/protocols: 'openai' (Chat Completions), 'openai_responses' (Responses API), 'anthropic' (Messages API), 'anthropic_oauth' (Anthropic via long-lived setup token), 'llm_liberty_oauth' (Anthropic via llm-liberty OAuth envelope), and 'gemini' (Google Gemini).
Request
- Base URL: http://localhost:1135
- URL: http://localhost:1135/bodhi/v1/models/api/formats
- Auth: one of:
- HTTP bearer
- HTTP bearer
- OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback, scopes: resource_power_user)
Response
API formats retrieved successfully
Example response
{
"data": [
"openai"
]
}Changes
- warning
added the new
llm_liberty_oauthenum value to the/response property for the response status
- warning
- breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking