User AI Settings

Update User Ai Keys

Обновить AI API ключи пользователя

Philosophy v0.2.55: User control over API keys

Body: { "openai": "sk-...", "anthropic": "sk-ant-...", "gemini": "..." }

Keys are stored in user.protected.keys.api.service_keys Empty string removes the key

Returns: { "success": true, "message": "AI keys updated", "updated_providers": ["openai", "gemini"] }

put/api/users/me/ai-keys

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/users/me/ai-keys
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

object required

AI provider API keys

Response

Successful Response

unknown required

Changes

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