Skip to main content

Pagination

List endpoints in the Tedro API use offset-based pagination. You control how many items to retrieve and where to start in the result set.

Query Parameters

Response Format

Paginated endpoints return an object with an items array and a total count:
Use total to calculate the number of pages: Math.ceil(total / limit).

Paginated Endpoints

The following list endpoints support limit and offset:
Some list endpoints (like GET /api/workflows, GET /api/tags, GET /api/tools) return all items without pagination. These endpoints typically have smaller result sets.

Examples

First Page

cURL
Node.js

Fetching All Pages

Node.js