SocialHz Engineering · 17 November 2026

One cursor format, every error code, and a full pagination guide

GET /api/v1/search · GET /api/v1/comments · POST /api/v1/runs/{name}/history · GET /api/v1/docs

What shipped

next_cursor in search, comments, runs, exports and webhooks is now one opaque token, tied to the platform and kind of request it came from. Pass it back unchanged as cursor to get the next page. The API reference gains a full guide to pagination and to multi-keyword search, and lists every error code with its HTTP status.

Why

Developers paging through results asked for one rule that works on every endpoint, and for an error table they could code against without guessing.

Pagination in four rules

  • Send next_cursor back unchanged as cursor, with the same other parameters.
  • Stop when has_more is false, not when a page looks short: page sizes vary from page to page.
  • The last page can be empty; it is free.
  • A cursor works only for the platform and kind of request it came from. Any other use is refused with 400 invalid_cursor.

New codes and fields

  • invalid_cursor (400): the cursor was changed, or came from another platform or kind of request.
  • too_many_terms (400): more alternative terms than the platform takes in one search.
  • service_error (502): searching the platform isn't available right now. Nothing is charged; retry after retry_after seconds.
  • too_many_attempts (429) now also on runs, with retry_after.
  • Run progress reports progress.stage: waiting, fetching, working, finished or failed.

Request a feature

Tell us what you need on the updates page. The engineering team reads every request.

How pagination works · All engineering updates