List agreements
list_agreementsList paginated agreement summaries, filtered by chain, state, and date range. Sort by name or timestamps.
Instructions
Lists agreement summaries visible to the current API key. Supports pagination (cursor + limit), filtering by chain and state, and sorting. Returns summaries only; use get_agreement for the full record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size (max 100). | |
| state | No | Filter by current lifecycle state ID. | |
| cursor | No | Opaque pagination cursor from a previous response (pageInfo.nextCursor). | |
| sortBy | No | Sort field (single field only). | |
| chainId | No | Filter by EVM chain ID (e.g. 59141 for Linea Sepolia). | |
| createdAfter | No | ISO 8601 timestamp; only agreements created at or after this time. | |
| updatedAfter | No | ISO 8601 timestamp; only agreements updated at or after this time. | |
| createdBefore | No | ISO 8601 timestamp; only agreements created at or before this time. | |
| sortDirection | No | Sort direction; defaults to desc. | |
| updatedBefore | No | ISO 8601 timestamp; only agreements updated at or before this time. |