Skip to Content
OpenPerf

Traces

List traces

GET
/api/v1/traces

Returns a cursor-paginated list of traces matching the selected projects, filters and time range.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Query Parameters

from*string
Formatdate-time
to*string
Formatdate-time
projectIds?array<string>
name?string
Lengthlength <= 500
environment?array<string>
platform?array<>
minDurationMs?number
Range0 <= value <= 3600000
cursor?string
limit?integer
Range1 <= value <= 200
Default50

Response Body

application/json
  1. response
data*array<>
nextCursor*string|null
Example Request
curl -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"
}