Pagination
Cursor pagination for list endpoints.
List endpoints that can return more than a page of results use cursor (keyset) pagination, not page numbers. This keeps pages stable even as new items are created between requests.
Shape
A paginated response has an items array and a next_cursor:
{
"items": [ { "...": "..." } ],
"next_cursor": null
}
next_cursor is null on the last page. Otherwise, pass it back as the cursor query parameter
to fetch the next page:
curl "https://semaschools.com/api/v1/content/help/articles?limit=20"
curl "https://semaschools.com/api/v1/content/help/articles?limit=20&cursor=<next_cursor from the previous response>"
cursor is an opaque token — don't construct or decode it yourself; store and replay it exactly
as returned. A malformed or expired cursor fails with content.cursor.invalid (400); start
again from the first page (no cursor) when that happens.
Page size
Most list endpoints accept a limit query parameter with a sane default and maximum (for
example, help/blog article lists default to 20, up to 100). Check each endpoint's parameters
in the API reference for its exact bounds.