errors.replays.segmentsRead a replay’s recording, 30 segments (about 2½ minutes) per page: rrweb events, as an rrweb player replays them, and the page’s timeline markers
Request syntax
GET /errors/api/projects/{id}/replays/{replayId}/segmentsPath parameters
idRequiredstring
Constraints: uuid
replayIdRequiredstring
Query parameters
grantRequiredstring
The playbackGrant that GET …/replays/{replayId} returned (valid 15 minutes)
Constraints: 10-200 chars
fromOptionalnumber
First segment number of the page (0 for the start, then the answer’s next)
Constraints: integer, min 0
Default:
0
Response
200 with { segments, next, unreadable, markers }: `segments` (segmentId, events: the rrweb event list, already scrubbed); `next` the `from` of the next page, null at the end; `markers` console lines, network calls, navigations and clicks (offsetMs, kind, label, detail, failed). 403 when the grant is missing, expired or another principal’s.
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:GetReplay 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 segments id replayId --grant examplecurl -X GET "https://console.platform.deutschecloud.app/errors/api/projects/id/replays/replayId/segments" \
-H "Authorization: EWS-ACCESS-KEY $ACCESS_KEY"import { DcloudClient } from '@dcloud/sdk';
const client = new DcloudClient();
const result = await client.errors.replays.segments({ id: "id", replayId: "replayId", grant: "example" });from dcloud import Client
client = Client()
result = client.errors.replays.segments(id="id", replay_id="replayId", grant="example")Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_errors_replays_segments.