Pagination
List endpoints support offset-based pagination with limit and offset query parameters.
Parameters
| Parameter | Type | Default | Range |
|---|---|---|---|
limit | integer | 50 | 1-100 |
offset | integer | 0 | 0+ |
Example
# First page
curl "https://promptic.eu/api/v1/experiments?limit=10&offset=0" \
-H "Authorization: Bearer YOUR_API_KEY"
# Second page
curl "https://promptic.eu/api/v1/experiments?limit=10&offset=10" \
-H "Authorization: Bearer YOUR_API_KEY"Response Format
List endpoints return results in a data array:
{
"data": [
{ "id": "...", "name": "..." },
{ "id": "...", "name": "..." }
]
}