Pagination
Paginated /v1 collections accept an opaque cursor and an endpoint-specific
limit. Responses include the plural collection and may include
next_cursor:
{
"runs": [],
"next_cursor": "opaque-value"
}
Pass next_cursor unchanged as the next request’s cursor. Absence of
next_cursor ends the traversal. Do not decode, compare, persist as a resource
ID, or construct cursors.
The SDK maps a collection page to { items, nextCursor? }. Most SDK list
limits validate in the inclusive range 1–100. Exact key filters such as a
Workspace key, Actor key, or Schedule task ID cannot be combined with cursor
pagination where their query type forbids it.
Run logs and Run events also use finite cursor pages. Following is client-side
polling from the returned cursor, not an infinite response stream. Actor
Session output uses a different durable integer sequence contract:
after, next_after, and has_more.