errors.replays.list

List a project’s session replays, newest first: when, how long, user or anonymous, pages, errors, browser

GET /errors/api/projects/{id}/replaysIAM errors:ListReplaysRead

Request syntax

GET /errors/api/projects/{id}/replays

Path parameters

  • idRequired

    string

    Constraints: uuid

Query parameters

  • rangeOptional

    enum

    Time range by start: 1h, 24h, 7d, 14d (default), 30d; never past the replay retention

    One of: 1h, 24h, 7d, 14d, 30d, 90d

  • environmentOptional

    string

    Only replays of this environment

    Constraints: max 64 chars

  • qOptional

    string

    Search: part of the user’s id, email, username or address, or of a page

    Constraints: 1-200 chars

  • withErrorsOptional

    enum

    1: only replays in which an error happened

    One of: 1, true

  • errorIdOptional

    string

    Only the replay that recorded this error event (an event id)

    Constraints: /^[0-9a-fA-F]{32}$|^[0-9a-fA-F-]{36}$/

  • beforeOptional

    string

    Paging: replays that started before this time (the last row’s startedAt)

    Constraints: datetime

  • limitOptional

    number

    Rows, 1–100 (default 50)

    Constraints: integer, 1-100

    Default: 50

Response

200 with { enabled, retentionDays, from, to, total, environments, items, nextBefore }: `enabled` whether the project keeps replays (off for a new project); `items` the replays (replayId, startedAt, endedAt, durationMs, segments, bytes, replayType session|buffer, user {id, email, username, ipAddress}, urls, errorIds, traceIds, browser, os, device, environment, release, sdk, expiresAt); `nextBefore` the `before` of the next page, null at the end. 404 when the project does not exist, 403 without errors:ListReplays on it.

A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.

Errors

  • 400The request does not pass the schema above. The body is { "error": …, "issues": […] }, one issue per field.
  • 401No credentials, or an access key that is unknown, revoked or expired.
  • 403The caller's policies do not allow errors:ListReplays on this resource. The body names the action and the resource, and the refusal is recorded in the audit log.
  • 404The resource does not exist in your organization.

Examples

The required parameters only, with example values. Replace id and the other placeholders with your own.

dcloud errors replays list id

Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_errors_replays_list.