Fetch available models from the API.
Changed onRequest
- Base URL: http://localhost:1135
- URL: http://localhost:1135/bodhi/v1/models/api/fetch-models
- 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)
Request body
Example request
{
"creds": {
"type": "id",
"value": "openai-gpt4"
}
}Response
Available models
Example response
{
"models": [
"gpt-4",
"gpt-3.5-turbo",
"gpt-4-turbo"
]
}Changes
- breaking
the request's body type changed from
objectto no type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
added
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6to the request bodyoneOflist
- breaking
- 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