providers

Create Stored Provider

Changed on

Add a provider at runtime. Storing a key requires OTARI_SECRET_KEY.

post/api/v1/provider-credentials

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

api_basestring nullable
api_keystring nullable

Provider API key. Stored encrypted; never returned.

client_argsobject nullable
instancestring required

Routing key, e.g. 'openai' or a named instance like 'home_lab'.

provider_typestring nullable

any-llm implementation when the instance name is not itself one.

Response

Successful Response

api_basestring nullable
client_argsobject
created_atstring nullable
decryptableboolean
instancestring required
last4string nullable
provider_typestring nullable
updated_atstring nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      api operation id create_stored_provider_api_v1_provider_credentials_post removed and replaced with providers-create_stored_provider