me

Update a current user model provider secret

put/me/model-provider-secrets/{id}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/me/model-provider-secrets/{id}
  • Auth: none declared. Required headers: x-organization-id

Path parameters

idstring required

Headers

x-organization-idstring required

Active organization id (or slug). Required for org-scoped operations; the generated client enforces it at compile time.

Request body

namestring
valuestring
baseUrlstring uri nullable

Response

Response

idstring required
organizationIdstring required
ownerIdstring nullable required
scope'org' | 'team' | 'user' required
provider'anthropic' | 'openai' | 'xai' | 'google' | 'openrouter' | 'cursor' | 'fireworks-ai' | 'baseten' | 'vercel' | 'nebius' | 'runloop' required
type'apiKey' | 'subscription' required
namestring required
secretIdstring required
tokenExpiresAtinteger nullable required
baseUrlstring uri nullable required
createdAtinteger required
updatedAtinteger required

Changes

No recorded changes to this operation across all 50 revisions of this API.