Secrets

Save secrets

Save secrets, replacing ones with the same names. A person turns on the agent's secrets first.

patch/agents/{id}/secrets

Request

  • Base URL
    https://app.artil.ai/api
  • URL
    https://app.artil.ai/api/agents/{id}/secrets
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: https://mcp.artil.ai/oauth/authorize
      Token URL: https://mcp.artil.ai/oauth/token scopes: agent

Path parameters

idstring uuid required

The agent's id

Request body

secretsobject required
kind'secret' | 'password' | 'otp'

secret, password, or otp for a one-time password, kept as its otpauth:// link

Response

The secrets are saved

Changes

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