For the complete documentation index, see llms.txt. Any page on this site can be fetched as Markdown by appending .md to its URL.

Introduction

Pagination

Page through large collections with pageNumber and pageSize.

List endpoints return results in pages so you can iterate through large collections predictably.

Query parameters

ParameterTypeDefaultDescription
pageNumberinteger1The 1-based page to return.
pageSizeinteger100Items per page (maximum 1000).
curl "https://api.tandemcx.ai/v1/workflows?pageNumber=2&pageSize=50" \
  -H "Authorization: Bearer <token>"

Response shape

Paginated responses wrap the items in data and include paging metadata:

{
    "data": [/* items for this page */],
    "pageNumber": 2,
    "pageSize": 50,
    "pageCount": 7,
    "totalCount": 340
}
FieldDescription
dataThe items on the current page.
pageNumberThe page that was returned.
pageSizeThe page size that was applied.
pageCountTotal number of pages available.
totalCountTotal number of items across all pages.

Iterating

Start at pageNumber=1 and request successive pages until pageNumber reaches pageCount.

On this page