Expand description
Generic pagination wrapper used across paginated endpoints.
Anthropic’s list endpoints return:
{
"data": [...],
"has_more": false,
"first_id": "...",
"last_id": "..."
}Paginated<T> models that envelope. Caller-driven paging via
Paginated::next_after / Paginated::next_before; auto-paginating
collectors (e.g. Models::list_all) live on each endpoint and return
Vec<T> for v0.1.
Structs§
- Paginated
- One page of items returned from a paginated list endpoint.
- Paginated
Next Page - Pagination envelope for endpoints that use opaque
next_pagecursors instead ofafter_id/before_id. Used by Skills, the Admin API’s reports + rate-limit lists, and a few other surfaces.