Traces
List traces
GET
Returns a cursor-paginated list of traces matching the selected projects, filters and time range.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
from*stringFormat
date-timeto*stringFormat
date-timeprojectIds?array<string>name?stringLength
length <= 500environment?array<string>platform?array<>minDurationMs?numberRange
0 <= value <= 3600000cursor?stringlimit?integerRange
1 <= value <= 200Default
50application/json- response
data*array<>nextCursor*string|nullcurl -X GET 'https://api.example.com/api/v1/traces?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z'Example Response
{
"data": [
{
"projectId": "string",
"projectIds": [
"string"
],
"traceId": "string",
"transaction": "string",
"rootName": "string",
"rootOp": "string",
"environment": "string",
"platform": "server",
"startTime": "2019-08-24T14:15:22Z",
"durationMs": 0,
"status": "unset",
"spanCount": 0,
"errorCount": 0
}
],
"nextCursor": "string"
}