errors.traces.listList a project’s sampled traces (their root transactions): newest or slowest, server or page loads or failed, of one route
Request syntax
GET /errors/api/projects/{id}/tracesPath parameters
idRequiredstring
Constraints: uuid
Query parameters
rangeOptionalenum
Window counted back from now: 1h, 24h (default), 7d, 14d, 30d or 90d
One of:
1h,24h,7d,14d,30d,90dDefault:
"24h"environmentOptionalstring
Only this environment (production, staging, …). Default: every environment
Constraints: 1-64 chars
routeOptionalstring
Only traces whose root is this route
Constraints: 1-300 chars
orderOptionalenum
newest (default) or slowest first
One of:
newest,slowestDefault:
"newest"kindOptionalenum
all (default), server requests, page loads, or failed ones (status not ok)
One of:
all,server,pages,failedDefault:
"all"minMsOptionalnumber
Only traces at least this long, in milliseconds
Constraints: 0-3600000
limitOptionalnumber
Most traces to return, the busiest first: 1–500, default 50
Constraints: integer, 1-500
Default:
50
Response
200 with a row per trace root: eventId, traceId, name (the route), op, status, startedAt, durationMs, spanCount, release, environment, sampleRate. Open one with `traces get`.
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:GetEvents 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 traces list idcurl -X GET "https://console.platform.deutschecloud.app/errors/api/projects/id/traces" \
-H "Authorization: EWS-ACCESS-KEY $ACCESS_KEY"import { DcloudClient } from '@dcloud/sdk';
const client = new DcloudClient();
const result = await client.errors.traces.list({ id: "id" });from dcloud import Client
client = Client()
result = client.errors.traces.list(id="id")Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_errors_traces_list.