providers

Test Stored Provider

Changed on

Verify a stored provider's key by listing its models, without exposing the key.

post/api/v1/provider-credentials/{instance}/test

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Path parameters

instancestring required

Response

Successful Response

discovery_unsupportedboolean

True when the test failed only because this backend serves no model-listing endpoint, so the credentials could not be verified this way but may still work for requests.

errorstring nullable
model_countinteger required
okboolean required

Changes

    • info

      added the optional property to the response with the status

    • info

      api operation id test_stored_provider_api_v1_provider_credentials__instance__test_post removed and replaced with providers-test_stored_provider