Skip to content
Navigation

listAgentSecrets

GET
/api/v1/agents/{agentId}/secrets

Authorization

  • session
    optional
    API key in cookie
  • token
    optional
    HTTP Bearer

    Authorization: Bearer <token>

Path parameters

  • agentId
    string
    required

Returns

200

Secrets attached to the agent.

JSON
  • secret
    object
    required
    • id
      string
      required
    • workspaceId
      string
      required
    • name
      string
      required
    • rule
      object
      required
      • hosts
        array of
        string
        required

        Exact host names or "*.example.com".

      • header
        string
        required
      • template
        string
        required

        Header value; {{.Value}} is the secret. Function: base64.

    • placeholder
      string
      required

      What sandboxes see instead of the value.

    • owner
      object
      required
      • id
        string
        required
      • email
        string
        required
      • name
        string
        required
      • avatarUrl
        string
        required
    • canManage
      boolean
      required
    • createdAt
      string
      required
      format: date-time
    • updatedAt
      string
      required
      format: date-time
  • envVar
    string
    required

404

Error.
JSON
  • error
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close