Page through dumps and other lists (API)
Every DumpTriage API list pages with limit and offset and returns X-Total-Count. GET /api/v1/dumps and /traces also take a cursor and filters by state and time.
Short answer: A list returns at most limit rows (default 100, at most 500), newest first, starting at offset, and the X-Total-Count header says how many rows there are in all. For your dumps and traces, follow the X-Next-Cursor header instead of counting offsets: send it back as cursor until a response comes without one.
1. Limit, offset and the total
Every list route below takes the same two query parameters and answers a JSON array:
| Parameter | Meaning |
|---|---|
limit | Rows per page: 1 to 500, default 100. A value outside that range is a 422, not clamped. |
offset | Rows to skip, default 0. |
The X-Total-Count response header holds how many rows the list has (with filters, how many match them), whatever page you asked for. Rows come newest first; rows created at the same instant are ordered by id, so the order is the same on every request and a page boundary does not move between calls. Crash groups have no id: they are ordered by their newest dump.
curl -i "https://api.performanceinsights.ai/api/v1/symbols?limit=100&offset=100" \
-H "Authorization: Bearer dts_..."
# HTTP/1.1 200 OK
# X-Total-Count: 230
# [ ...rows 101 to 200... ]
| List | Newest first by | Also takes |
|---|---|---|
GET /api/v1/dumps | upload time | cursor, reference, state, since, until |
GET /api/v1/traces | upload time | cursor, state, since, until |
GET /api/v1/dumps/groups | the newest dump in each group | none |
GET /api/v1/symbols | upload time | none |
GET /api/v1/customers/me/connectors | creation time | none |
GET /api/v1/customers/me/api-keys | creation time | none |
GET /api/v1/customers/me/webhook/deliveries | creation time | none |
GET /api/v1/support/tickets | creation time | none |
GET /api/v1/traces/{id}/comparisons | creation time | none |
GET /api/v1/symbols, GET /api/v1/customers/me/connectors, GET /api/v1/customers/me/api-keys, GET /api/v1/dumps/groups and GET /api/v1/support/tickets used to return every row. They now return the first 100 unless you ask for more, so a client that read the whole list in one call should read X-Total-Count and page.
Crash groups are built from your 5000 most recent analyses. When the account has more, the oldest are left out and the response carries X-Groups-Truncated: true; every page of one walk is built from the same analyses, so the pages fit together.
2. Follow the cursor (dumps and traces)
Your dumps and traces grow with the account, and a large offset gets slower the further in it starts. These two lists also answer an X-Next-Cursor header whenever another page exists, on an offset page too, so you can switch to cursors part-way through. Send its value back as cursor to get the page that starts right after the last row you have. A response without the header is the last page.
curl -i "https://api.performanceinsights.ai/api/v1/dumps?limit=500" \
-H "Authorization: Bearer dts_..."
# X-Total-Count: 1210
# X-Next-Cursor: <opaque>
curl -i "https://api.performanceinsights.ai/api/v1/dumps?limit=500&cursor=<opaque>" \
-H "Authorization: Bearer dts_..."
- The cursor is opaque: pass it back as you received it, and do not build or edit one.
- Send a cursor or a non-zero
offset, not both: the pair is refused with422cursor_with_offset. - A cursor the API did not issue is refused with
422invalid_cursor. Start again without it. - The cursor does not carry the filters. Send the same filters with it as with the first page.
X-Total-Countstays the number of rows that match the filters, not the number left after the cursor.- A dump uploaded while you walk the list is newer than the cursor, so it does not shift the later pages the way it shifts an offset.
3. Filter the list
The filters combine: a row has to match all of the ones you send.
| Filter | On | Matches |
|---|---|---|
reference | dumps | Dumps whose reference is exactly this, as stored: on one line, with runs of white space as one space. |
state | dumps | Dumps whose analysis is in this job_state: queued, tier1_running, tier1_done, tier2_queued, tier2_running, tier2_done, delivered, escalated or failed. |
state | traces | Traces whose status is this: uploaded, processing, delivered, escalated or failed. |
since | both | Uploaded at or after this time. |
until | both | Uploaded before this time. |
since and until are ISO 8601 times with a UTC offset, such as 2026-11-01T00:00:00Z; a time without one is a 422. In a URL, write a + offset as %2B, or the server reads a space. Traces have no reference filter.
All escalated dumps since the start of November, in a small Python loop:
import requests
H = {"Authorization": "Bearer dts_..."}
BASE = "https://api.performanceinsights.ai/api/v1"
params = {"limit": 500, "state": "escalated", "since": "2026-11-01T00:00:00Z"}
dumps = []
while True:
r = requests.get(f"{BASE}/dumps", headers=H, params=params)
r.raise_for_status()
dumps += r.json()
cursor = r.headers.get("X-Next-Cursor")
if cursor is None: # the last page
break
params["cursor"] = cursor # same filters, next page
print(len(dumps), "of", r.headers["X-Total-Count"])
Errors on these calls
| Status | When |
|---|---|
401 | Missing or invalid API key. |
403 | The key's scope or the account does not allow it: an upload-scoped key cannot read lists. |
422 | invalid_cursor, cursor_with_offset, a limit outside 1 to 500, a negative offset, an unknown state, or a time without a UTC offset. |
429 | The account is over its API request rate limit; wait the seconds in Retry-After. |
invalid_cursor and cursor_with_offset come as {"detail": "..."}, the message starting with the code. A parameter that does not validate comes as FastAPI's {"detail": [...]}, a list naming each parameter at fault.
Common questions
- Why does GET /api/v1/symbols return only 100 entries?
- Every list is paged: limit defaults to 100 and goes up to 500. The X-Total-Count header says how many there are; ask for the next page with offset.
- How do I know I have reached the last page?
- On GET /api/v1/dumps and /api/v1/traces, the X-Next-Cursor header is missing on the last page. On the other lists, stop when offset plus the rows you got reaches X-Total-Count, or when a page comes back shorter than limit.
- Do I send the filters again with the cursor?
- Yes. The cursor only says where the next page starts. Send the same reference, state, since and until with it as with the first page, and no offset.
Ready to send a dump?
Upload a minidump to DumpTriage. It runs the debugger, reads the output and sends back the faulting module, the stack and a plain-language root cause (how the analysis works). Except on the Solo plan, cases the automated passes can't settle go to an engineer. Free during the pilot.
Create an account