Pagination
List endpoints return results newest first, a page at a time. Each page comes with a cursor that points to the next one.
curl \ -H "Authorization: Bearer YOUR_API_KEY" \ "https://api.limitry.com/v1/workspace/audit-events?limit=25"{ "items": [ { "id": "aud_6b2f9e1c-3d4a-4f8b-9e7c-1a2b3c4d5e6f", "action": "workspace.member.invited", "createdAt": "2026-08-19T12:00:00.000Z" } ], "nextCursor": "eyJ0IjoiMjAyNi0wOC0uLi4ifQ"}To get the next page, send the cursor back as it is:
curl \ -H "Authorization: Bearer YOUR_API_KEY" \ "https://api.limitry.com/v1/workspace/audit-events?limit=25&cursor=eyJ0IjoiMjAyNi0wOC0uLi4ifQ"Keep going until nextCursor is null, which means you’ve reached the
last page.
Start from a date
Section titled “Start from a date”To start from a moment in the past, send before with an ISO time. You
get the items older than it, newest first:
curl \ -H "Authorization: Bearer YOUR_API_KEY" \ "https://api.limitry.com/v1/checks?before=2026-11-20T00:00:00Z"From there, page on with nextCursor as usual. When you send a cursor,
before is ignored. Audit events, checks, a limit’s credits and webhook
deliveries take before.
Filter a list
Section titled “Filter a list”Some lists take filters. Each filter is named after the field it narrows:
| List | Filter | Keeps |
|---|---|---|
| Checks | subject |
Checks that named one subject, as kind:id |
| Checks | refused |
Only refused checks, with true |
| Limits | subjectKind |
Limits for one subject kind |
| Limits | action |
Limits for one action |
| Limits | archived |
The archived limits instead, with true |
| Subjects | kind |
Subjects of one kind |
| Subjects | label |
Subjects with one label, as key:value |
| Subjects | q |
Subjects whose name or ID contains the text |
| A limit’s credits | subjectId |
One subject’s credits |
| Audit events | action |
Events of one action, such as workspace.member.invited |
| Audit events | actor |
What one person did (user: and the item’s actor.id), or one key or token (credential: and its credential.id) |
| Webhook deliveries | status |
Deliveries that are pending, delivered or failed |
Filters combine with before and with paging. Send the same filters
with every page.
Good to know
Section titled “Good to know”limitcan be from 1 to 100. It’s 25 if you don’t set it.- Don’t build or change a cursor yourself. Sending one we didn’t give
you returns
invalid_request. - Items added while you’re paging won’t make you skip or repeat any.
- Items may gain new fields over time, but we won’t rename existing ones.
- A few lists are always short, such as webhook endpoints and event
types. They come back as one page, and their
nextCursorisnull. They have the same shape as every other list, so the same code reads them. - One list works differently.
GET /v1/usage/subjectsranks a limit’s subjects, most used first, in a single response with no cursor. It answers them assubjects. Itstopcan be from 1 to 50, and it’s 50 if you don’t set it.