v51

OpenAPI 3.1.0raw.githubusercontent.com2026-08-018486293.2 KB
providers

Create Stored Provider

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

post/v1/provider-credentials

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