Agents

Save an encrypted AI provider token for use in sandbox containers.

Changed on
post/settings/agent-token

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

tokenstring required

The OAuth token from claude setup-token or an API key. Will be encrypted before storage.

Response

Token encrypted and persisted

savedboolean required

Changes