# AgentTokenList

> A page of AgentToken objects.

A page of AgentToken objects.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `data` * | array of [AgentToken](/docs/api/objects/agent-token/) |  |
| `next_cursor` * | string or null | Pass as `cursor` to get the next page; null on the last page. |
| `has_more` * | boolean |  |

\* always present

## Example

```json
{
  "data": [
    {
      "id": "tok_01jbx2m9k7q4r8t5v6w3y0z1tk",
      "workspace_id": "ws_01jbx2m9k7q4r8t5v6w3y0z1ws",
      "name": "claude-code-on-stewart-laptop",
      "description": "Claude Code on Stewart's MacBook",
      "prefix": "guv_agt_Qm4x",
      "scopes": [
        "projects:read",
        "deploy:preview",
        "deploy:staging",
        "logs:read",
        "secrets:write-only",
        "db:branch"
      ],
      "projects": null,
      "environments": [
        "preview",
        "staging"
      ],
      "budget": {
        "spend_increase_per_day": {
          "amount": "10.00",
          "currency": "GBP",
          "display": "£10.00"
        }
      },
      "approval_channel": [
        "push",
        "email"
      ],
      "status": "active",
      "summary": [
        "Can deploy to staging and previews.",
        "Cannot touch production without your approval.",
        "Can set secrets but never read them.",
        "Can raise spend by up to £10.00 a day."
      ],
      "created_by": {
        "type": "user",
        "id": "usr_01jbx2m9k7q4r8t5v6w3y0z1us",
        "display": "Stewart Webb"
      },
      "expires_at": "2026-11-22T09:00:00Z",
      "last_used_at": "2026-10-23T13:58:00Z",
      "revoked_at": null,
      "created_at": "2026-10-23T09:00:00Z"
    }
  ],
  "next_cursor": "string",
  "has_more": false
}
```

## Used by

- [List agent tokens](/docs/api/agent-tokens/#list-agent-tokens)
