Cursor-based pagination for list endpoints

Jul 15, 2024

1 minute read

Improvement

Share

All list endpoints now support cursor-based pagination. Previously, list endpoints returned all results in a single response — which doesn't scale as the number of models and predictions grows.

Paginated responses include next_cursor and next_url fields for navigating between pages. Page size is configurable via the page_size query parameter.


1# Fetch the first page of public models
2curl "https://api.wrift.ai/v1/models?page_size=10" \
3 -H "Authorization: Bearer $WRIFTAI_ACCESS_TOKEN"
4
5# Fetch the next page using the cursor
6curl "https://api.wrift.ai/v1/models?page_size=10&cursor=eyJpZCI6..." \
7 -H "Authorization: Bearer $WRIFTAI_ACCESS_TOKEN"

See the API reference for the full list of paginated endpoints and response structure.

Scale Your Projects.
Build With Confidence.

Scale your projects effortlessly with WriftAI. Seamlessly integrate and optimize performance as you expand and innovate.

© 2026 Sych Inc.