agentPass.report
Agent Pass report: an owner's (or agent's) passes, their rules in plain words, spend against caps and every action, for a human.
Details
- Endpoint
- GET /v1/agent-pass/report
- Credits
- 5
- Rate class
- Heavy. Counts against your heavy requests per second.
Agent Pass (Sui's on-chain agent authorization) report for a pass, an owner or an agent address. For each pass: status and term, every rule in plain words (pools, per-trade and daily caps, price floor, named recipients, validators), budgets drawn from the owner's balance with what is left, today's usage, totals, and every transaction signed under it in one sentence each, including what Sui refused and which rule stopped it. `summary` is ready to show a human.
Parameters
| Name | Type | Description |
|---|---|---|
| owner | string | Owner or agent address (0x...). |
| pass | string | A pass object id. |
| limit | integer | Transactions per pass, 1 to 100. Default 20. |
Request
Send your key in the x-api-key header, or leave it out to use the keyless tier.
curl "https://api.tide.ad/v1/agent-pass/report?owner=0x1eb7c57e3f2bd0fc6cb9dcffd143ea957e4d98f805c358733f76dee0667fe0b1" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch("https://api.tide.ad/v1/agent-pass/report?owner=0x1eb7c57e3f2bd0fc6cb9dcffd143ea957e4d98f805c358733f76dee0667fe0b1", {
headers: {
"x-api-key": process.env.TIDE_API_KEY!,
},
});
const data = await res.json();Response
{
"subject": {
"kind": "owner",
"id": "0x1eb7c57e3f2bd0fc6cb9dcffd143ea957e4d98f805c358733f76dee0667fe0b1"
},
"summary": "0x1eb7…e0b1 has 3 agent passes, 1 active. Agents made 23 successful actions in the activity shown.\n\n\"Buy ZUK daily\" (0x2d66…c931): agent 0xd601…b238 for owner 0x1eb7…e0b1. Expired on 2026-11-03. The agent can no longer act. Rules: Swap SUI for ZUK on Cetus USDC/SUI or Cetus USDC/ZUK, up to 1 SUI ($0.91) a trade and 1 SUI ($0.91) a day, at no worse than 1,150 ZUK per SUI. Gas budget for the agent: 0.1 SUI in total, at most 0.02 SUI per day; 0.02 SUI used. Budget: the agent may draw 4 SUI ($3.65) in total from the owner's SUI; 2 SUI drawn, 2 SUI left. Swapped in total: 2 SUI for 5,261 ZUK ($1.82). 6 actions in the latest 10 transactions. Latest: The agent swapped 0.333 SUI for 898.54 ZUK on Cetus. (2026-11-02 17:08 UTC)\n\n\"Buy LOFI daily\" (0xa2bf…ae6c): agent 0x9092…9056 for owner 0x1eb7…e0b1. Expired on 2026-11-03. The agent can no longer act. Rules: Swap SUI for LOFI on Cetus LOFI/SUI, up to 1 SUI ($0.91) a trade and 1 SUI ($0.91) a day, at no worse than 55 LOFI per SUI. Budget: the agent may draw 4 SUI ($3.65) in total from the owner's SUI; 2 SUI drawn, 2 SUI left. Gas budget for the agent: 0.1 SUI in total, at most 0.02 SUI per day; 0.02 SUI used. Swapped in total: 2 SUI for 201.18 LOFI ($1.82). 6 actions in the latest 10 transactions. Latest: The agent swapped 0.333 SUI for 33.73 LOFI on Cetus. (2026-11-02 17:08 UTC)\n\n\"Buy SUI daily\" (0x03c7…7bac): agent 0xb569…dab6 for owner 0x1eb7…e0b1. Active. The agent can act until 2026-11-06. Rules: Swap USDC for SUI on DeepBook SUI/USDC or Cetus USDC/SUI, up to 0.5 USDC a trade and 0.5 USDC a day, at no worse than 1 SUI per USDC. Budget: the agent may draw 3.5 USDC in total from the owner's USDC; 1 USDC drawn, 2.5 USDC left. Gas budget for the agent: 0.1 SUI in total, at most 0.02 SUI per day; 0.02 SUI used. Today: Daily cap $0.50, $0 used today. Swapped in total: 1 USDC for 1.12 SUI ($1). 2 actions in the latest 6 transactions. Latest: The agent swapped 0.5 USDC for 0.563 SUI on Cetus. (2026-11-02 17:07 UTC)",
"passes": [
{
"pass": {
"id": "0x2d664c7931c12f9c30a8d9730899dc906cfaff99e059afcb769ef71e17a0c931",
"name": "Buy ZUK daily",
"owner": "0x1eb7c57e3f2bd0fc6cb9dcffd143ea957e4d98f805c358733f76dee0667fe0b1",
"agent": "0xd6019993e0b4f1d6b1e93ca9252a3a71b80834363355a29b63d04e21aa7bb238",
"agentExpiresMs": 1793741214512,
"status": "expired",
"statusWords": "Expired on 2026-11-03. The agent can no longer act.",
"receipt": "0xa6d9621b15d22823773cfc2ee651652fdd2d74ef7d1a14fcd336d4ca2909be8c",
"created": {
"digest": "26yn36d1roGNodNPDbEmrPCsLen56jKzn9kovgSCJRjX",
"checkpoint": 339910073,
"ms": 1793395628327
},
"closed": null,
"policies": [
{
"kind": "swap",
"fieldId": "0xc2a9cdaed53d7c47cac828772dc97b2bdfa6b1f3fc501d0af2394369556754fe",
"type": "0x389b58171d057852dd4b071d47474a2a97a6e4489cc2094a527a57d57d58063f::swap_policy::SwapPolicy<0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI,0x42ba9220e980b4819e4df208dd50013d0bbbfde142996e8db1319ac61f879205::zuk::ZUK>",
"meterDay": 20759,
"coinIn": {
"type": "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
"symbol": "SUI",
"decimals": 9,
"priceUsd": 0.9112503222341568
},
"coinOut": {
"type": "0x42ba9220e980b4819e4df208dd50013d0bbbfde142996e8db1319ac61f879205::zuk::ZUK",
"symbol": "ZUK",
"decimals": 6,
"priceUsd": 0.0002826505715110669
},
"perAction": {
"raw": "1000000000",
"amount": "1 SUI",
"usd": 0.9112503222341568
},
"daily": {
"raw": "1000000000",
"amount": "1 SUI",
"usd": 0.9112503222341568
},
"usedToday": {
"raw": "0",
"amount": "0 SUI",
"usd": 0
},
"leftToday": {
"raw": "1000000000",
"amount": "1 SUI",
"usd": 0.9112503222341568
},
"venues": [
{
"id": "0xb8d7d9e66a60c239e7a60110efcf8de6c705580ed924d0dde141f4a0e2c90105",
"venue": "cetus",
"name": "Cetus",
"coinA": "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC",
"coinB": "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
"label": "Cetus USDC/SUI"
}
],
"minPrice": {
"raw": "1150000000",
"perUnit": 1150,
"text": "1,150 ZUK per SUI"
},
"words": "Swap SUI for ZUK on Cetus USDC/SUI or Cetus USDC/ZUK, up to 1 SUI ($0.91) a trade and 1 SUI ($0.91) a day, at no worse than 1,150 ZUK per SUI."
}
],
"allowances": [
{
"id": "0x94e231850c6f00eefdc250b411d34d872506d1d329b6e2be8928dbb294348441",
"coin": {
"type": "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
"symbol": "SUI",
"decimals": 9,
"priceUsd": 0.9112503222341568
},
"purpose": "gas",
"name": "agent gas",
"funder": "0x1eb7c57e3f2bd0fc6cb9dcffd143ea957e4d98f805c358733f76dee0667fe0b1",
"spender": "0xd6019993e0b4f1d6b1e93ca9252a3a71b80834363355a29b63d04e21aa7bb238",
"lifetimeCap": {
"raw": "100000000",
"amount": "0.1 SUI",
"usd": 0.09112503222341568
},
"spent": {
"raw": "20000000",
"amount": "0.02 SUI",
"usd": 0.018225006444683136
},
"left": {
"raw": "80000000",
"amount": "0.08 SUI",
"usd": 0.07290002577873254
},
"expiresMs": 1793741214512,
"rateLimit": {
"windowMs": 86400000,
"window": "day",
"limit": {
"raw": "20000000",
"amount": "0.02 SUI",
"usd": 0.018225006444683136
},
"spent": {
"raw": "20000000",
"amount": "0.02 SUI",
"usd": 0.018225006444683136
}
},
"live": true,
"words": "Gas budget for the agent: 0.1 SUI in total, at most 0.02 SUI per day; 0.02 SUI used."
}
],
"positions": 0,
"totals": {
"actions": 6,
"refused": 0,
"swaps": [
{
"coinIn": {
"type": "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
"symbol": "SUI",
"decimals": 9,
"priceUsd": 0.9112503222341568
},
"coinOut": {
"type": "0x42ba9220e980b4819e4df208dd50013d0bbbfde142996e8db1319ac61f879205::zuk::ZUK",
"symbol": "ZUK",
"decimals": 6,
"priceUsd": 0.0002826505715110669
},
"in": "2 SUI",
"out": "5,261 ZUK",
"inNum": 1.999999998,
"outNum": 5261.251251,
"inUsd": 1.822500642645813
}
],
"transfers": []
},
"words": "Agent pass \"Buy ZUK daily\" lets agent 0xd601…b238 act for 0x1eb7…e0b1. Expired on 2026-11-03. The agent can no longer act. Swap SUI for ZUK on Cetus USDC/SUI or Cetus USDC/ZUK, up to 1 SUI ($0.91) a trade and 1 SUI ($0.91) a day, at no worse than 1,150 ZUK per SUI. Gas budget for the agent: 0.1 SUI in total, at most 0.02 SUI per day; 0.02 SUI used. Budget: the agent may draw 4 SUI ($3.65) in total from the owner's SUI; 2 SUI drawn, 2 SUI left."
},
"role": "owner",
"today": [],
"activity": [
{
"digest": "DaukXM3RjjSwJepPk7hWr6MLMqZPQJ5dCXncwsM65iGH",
"ms": 1793697579137,
"checkpoint": 341156172,
"by": "agent",
"sender": "0xd6019993e0b4f1d6b1e93ca9252a3a71b80834363355a29b63d04e21aa7bb238",
"ok": true,
"kind": "funds",
"refusedBy": null,
"verb": "Gas returned",
"detail": "0.01912 SUI of unused gas back to the owner",
"legs": [
{
"type": "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
"symbol": "SUI",
"amount": "+0.01912"
}
],
"venues": [],
"sentence": "The agent returned 0.01912 SUI of unused gas to the owner.",
"url": "https://tide.ad/tx/DaukXM3RjjSwJepPk7hWr6MLMqZPQJ5dCXncwsM65iGH"
}
],
"summary": "\"Buy ZUK daily\" (0x2d66…c931): agent 0xd601…b238 for owner 0x1eb7…e0b1. Expired on 2026-11-03. The agent can no longer act. Rules: Swap SUI for ZUK on Cetus USDC/SUI or Cetus USDC/ZUK, up to 1 SUI ($0.91) a trade and 1 SUI ($0.91) a day, at no worse than 1,150 ZUK per SUI. Gas budget for the agent: 0.1 SUI in total, at most 0.02 SUI per day; 0.02 SUI used. Budget: the agent may draw 4 SUI ($3.65) in total from the owner's SUI; 2 SUI drawn, 2 SUI left. Swapped in total: 2 SUI for 5,261 ZUK ($1.82). 6 actions in the latest 10 transactions. Latest: The agent swapped 0.333 SUI for 898.54 ZUK on Cetus. (2026-11-02 17:08 UTC)",
"link": "https://tide.ad/object/0x2d664c7931c12f9c30a8d9730899dc906cfaff99e059afcb769ef71e17a0c931"
}
],
"projects": {
"cetus": {
"name": "Cetus",
"logoUrl": "/pads/cetus.png"
},
"deepbook": {
"name": "DeepBook",
"logoUrl": "/pads/deepbook.png"
}
},
"link": "https://tide.ad/address/0x1eb7c57e3f2bd0fc6cb9dcffd143ea957e4d98f805c358733f76dee0667fe0b1#agent-passes"
}Long lists are cut to a few items here.