Skip to main content
GET
/
agent-delegations
List agent delegations
curl --request GET \
  --url https://api.natural.co/agent-delegations \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "type": "agentDelegation",
      "id": "adl_550e8400e29b41d4a716446655440000",
      "attributes": {
        "agentName": null,
        "permissions": [
          "payments.create",
          "payments.read"
        ],
        "limits": null,
        "expiresAt": "2027-01-04T15:30:00Z",
        "createdAt": "2026-01-04T15:30:00Z",
        "createdBy": "usr_550e8400e29b41d4a716446655440000",
        "updatedAt": "2026-01-04T15:30:00Z",
        "delegatorPartyName": null,
        "delegateePartyName": null
      },
      "relationships": {
        "delegation": {
          "data": {
            "type": "delegation",
            "id": "dlg_550e8400e29b41d4a716446655440000"
          }
        },
        "agent": {
          "data": {
            "type": "agent",
            "id": "agt_3c4d5e6f7g8h9i0j1k2l3m4n5o6p7q8r"
          }
        },
        "delegatorParty": {
          "data": {
            "type": "party",
            "id": "pty_7c9e6679e29b41d4a716446655440001"
          }
        },
        "delegateeParty": {
          "data": null
        }
      }
    }
  ],
  "meta": {
    "pagination": {
      "hasMore": false,
      "nextCursor": null
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Agent-ID
string | null

Agent ID (agt_xxx) identifying which agent is making the request.

X-Instance-ID
string | null

Required when X-Agent-ID is present. Session or conversation ID for agent observability.

Maximum string length: 1024

Query Parameters

delegationId
string

Filter by parent delegation (dlg_xxx)

Pattern: ^dlg_[0-9a-f]{32}$
agentId
string

Filter by agent (agt_xxx)

Pattern: ^agt_[0-9a-f]{32}$
delegatorPartyId
string

Filter to delegations where caller is the delegating party (customer)

Pattern: ^pty_[0-9a-f]{32}$
delegateePartyId
string

Filter to delegations where caller is the delegated party (developer)

Pattern: ^pty_[0-9a-f]{32}$
includeRevoked
boolean
default:false

Include revoked delegations

cursor
string

Cursor for pagination

limit
integer
default:50

Max items per page

Required range: 1 <= x <= 100

Response

Successful Response

data
AgentDelegationResource · object[]
required
meta
object
required