Create Hosted Provider
Changed onConfigure a provider with the key this deployment will serve it on.
Everything the provider lists on that key is offered at once; a provider that will not say yields a provider with no models, not an error. A provider the configuration defines may be created too, and the stored one then serves instead.
Request
- The document declares no server URL.
- Auth: one of:
- API key in header Otari-Key
- API key in header x-api-key
Request body
Example request
{
"api_key": "<your OpenAI API key>",
"provider": "openai"
}Response
Successful Response
Changes
- info
added the new optional request property
- info
the request property
became optional - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
the
request property's minLength was decreased from1to0 - 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 required property
to the response with the status
- info
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
response property
created_atlist-of-types was widened by adding typesnullto media typeapplication/jsonof response201 - breaking
response property
idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response201 - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking