Skip to Content
OpenPerf

Replays

List replays

GET
/api/v1/replays

Returns a cursor-paginated list of recorded sessions 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>
environment?array<string>
search?string
Lengthlength <= 500
outcome?array<>
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/replays?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z'
Example Response
{
  "data": [
    {
      "projectId": "string",
      "sessionId": "string",
      "startedAt": "2019-08-24T14:15:22Z",
      "endedAt": "2019-08-24T14:15:22Z",
      "durationMs": 0,
      "activeMs": 0,
      "clickCount": 0,
      "errorCount": 0,
      "segmentCount": 0,
      "url": "string",
      "environment": "string",
      "release": "string",
      "browserName": "string",
      "browserVersion": "string",
      "osName": "string",
      "viewport": {
        "width": 0,
        "height": 0
      },
      "user": {
        "id": "string",
        "name": "string",
        "email": "string",
        "avatar": "string",
        "url": "string"
      }
    }
  ],
  "nextCursor": "string"
}