ReportsReport operations drill-down (§26)

Report operations drill-down (§26)

Expands any aggregated figure down to operations. filters are the report's shared filters (including categoryKeys and categoryField); drilldown is a refinement (direction/periodStart/counterpartyAddressId/ownAddressId/status/category/tokenId/categoryField). drilldown.categoryField="ticker:EUR" expands a report group by a category field; if the key matches, the refinement from the click overrides the report filter. With snapshotId, the list is built from the snapshot manifest, not from live data.

curl -X POST "https://policy-engine-rest.ezig.workers.dev/api/v1/vaults/demo_vault/reports/query/operations" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "reportType": "example_string",
  "filters": {},
  "drilldown": {},
  "snapshotId": "example_string",
  "limit": 42,
  "cursor": "example_string"
}'
{
  "items": [
    {}
  ],
  "nextCursor": "example_string",
  "totals": {
    "count": 3.14,
    "byAsset": [
      {
        "tokenId": "example_string",
        "assetCode": "example_string",
        "assetSymbol": "example_string",
        "network": "example_string",
        "contractAddress": "123 Main St",
        "amount": "example_string"
      }
    ],
    "usdValue": "example_string"
  }
}
POST
/api/v1/vaults/{code}/reports/query/operations
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Session token. Mobile/services. The web uses a cookie.

Session token. Mobile/services. The web uses a cookie.
API Key (cookie: session_token)
session_tokenstring
Required

API key (sent in cookie)

path
codestring
Required

Unique Vault code (slug)

Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Session token. Mobile/services. The web uses a cookie.

path
parameterstring
Required

API Key for authentication. Provide your API key in the cookie.

Path Parameters

codestring
Required

Unique Vault code (slug)

Example:
demo_vault

Responses

itemsobject[]
Required

Operations with fields and categoryAssignments (sensitive values redacted by permissions: value null + key in redactedFields)

nextCursorstring
Required
totalsobject
Required