ai

Create or update an AI provider configuration

Changed on
put/ai/provider-configs

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/ai/provider-configs
  • Auth: none declared

Request body

provider'claude' | 'chatgpt' | 'gemini' required
credentialstring
enabledboolean
allowPlatformFallbackboolean
allowedModelsstring[]
requestsPerDayinteger
estimatedCentsPerMonthinteger
storeIdstring

Response

Updated provider configuration

provider'claude' | 'chatgpt' | 'gemini' required
enabledboolean required
hasCredentialboolean required
maskedCredentialstring nullable
allowPlatformFallbackboolean required
allowedModelsstring[]
requestsPerDayinteger nullable
estimatedCentsPerMonthinteger nullable

Changes