AI

Store a model provider credential

Encrypted at rest and never returned. AI is off by default and enabled per connection.

post/v1/ai/credentials

Request

  • Base URL: https://www.chatrail.dev
  • URL: https://www.chatrail.dev/v1/ai/credentials
  • Auth: HTTP bearer

Request body

provider'openai_compatible' | 'anthropic' required
labelstring required
api_keystring required
base_urlstring uri

Response

Stored.

Changes

No recorded changes to this operation across all 1 revision of this API.