hosted-providers
Test Hosted Provider
Changed onAsk a provider what it lists on the given credentials, storing nothing.
Backs the form's "Test connection". With name naming a stored provider, a field left out is read from it, so an edit can be tested without typing the key again; pointing the stored key at another origin still needs it. Failure comes back in the body.
post/api/v1/hosted-providers/test
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
endpoint added
- info