# List agents

Lists the organization's agents with status, team, mandate, budget, last activity, runtime and wallets. Console session or API key with payment:read; team-scoped roles see their team only.

`GET /v1/agents`

Lists the organization's agents with status, team, mandate, budget, last activity, runtime and wallets. Console session or API key with payment:read; team-scoped roles see their team only.

Requires permission `payment:read`.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `status` | query | no | Only agents in this status: active, frozen or revoked. |
| `team_id` | query | no | Only agents in this team (team_...). |
| `kind` | query | no | Only agents of this kind: cloud or local. |

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.

Example 200 response:

```json
{
  "data": [
    {
      "id": "agt_01m7dmxx5b0jc1gcgw6sgeaqf3",
      "name": "Research Agent",
      "status": "active",
      "kind": "cloud",
      "rails": [
        "x402",
        "wdk_direct"
      ],
      "team": {
        "id": "team_01m7dmxx43vkd5ezrghf9m2ytw",
        "name": "Research"
      },
      "team_id": "team_01m7dmxx43vkd5ezrghf9m2ytw",
      "mandate_id": null,
      "mandate": {
        "id": "mdt_01m7dmxx4s2aw9p40vyaxmzdtf",
        "version": 4,
        "name": "Demo: research agent",
        "status": "active",
        "expires_at": "2026-11-28T23:59:59Z",
        "limits": {
          "hard_cap": 500000,
          "plan_hard_cap": 1500000,
          "auto_threshold": 100000,
          "card_hard_cap_cents": 2500,
          "unknown_merchant_limit": 100000,
          "card_auto_threshold_cents": 500
        },
        "allowed_rails": [
          "x402",
          "wdk_direct"
        ]
      },
      "budget": {
        "id": "bud_01m7dmxx65qkskxx1dqm3716p1",
        "limit": "5000000",
        "committed": "1600000",
        "spent": "1600000",
        "reserved": "0",
        "available": "3400000",
        "asset": "USDC"
      },
      "last_activity_at": "2026-11-14T18:44:17.771552Z",
      "frozen_reason": null,
      "revoked_at": null,
      "created_at": "2026-11-14T18:25:47.180051Z"
    },
    {
      "id": "agt_01m7dmxx67d55ehbqb0my2b0e1",
      "name": "Local Agent",
      "status": "active",
      "kind": "local",
      "rails": [
        "x402",
        "wdk_direct"
      ],
      "team": {
        "id": "team_01m7dmxx43vkd5ezrghf9m2ytw",
        "name": "Research"
      },
      "team_id": "team_01m7dmxx43vkd5ezrghf9m2ytw",
      "mandate_id": null,
      "mandate": {
        "id": "mdt_01m7dmxx4s2aw9p40vyaxmzdtf",
        "version": 4,
        "name": "Demo: research agent",
        "status": "active",
        "expires_at": "2026-11-28T23:59:59Z",
        "limits": {
          "hard_cap": 500000,
          "plan_hard_cap": 1500000,
          "auto_threshold": 100000,
          "card_hard_cap_cents": 2500,
          "unknown_merchant_limit": 100000,
          "card_auto_threshold_cents": 500
        },
        "allowed_rails": [
          "x402",
          "wdk_direct"
        ]
      },
      "budget": {
        "id": "bud_01m7dmxx6wb58z9qbt8a37wxhx",
        "limit": "2000000",
        "committed": "500000",
        "spent": "500000",
        "reserved": "0",
        "available": "1500000",
        "asset": "USDC"
      },
      "last_activity_at": "2026-11-14T18:49:05.593793Z",
      "frozen_reason": null,
      "revoked_at": null,
      "created_at": "2026-11-14T18:25:47.207936Z"
    }
  ]
}
```
