errors.performance.get-route

Read one route: its numbers now and before, over time, per release, what it calls, and its slowest traces

GET /errors/api/projects/{id}/performance/routeIAM errors:GetEventsRead

Request syntax

GET /errors/api/projects/{id}/performance/route

Path parameters

  • idRequired

    string

    Constraints: uuid

Query parameters

  • rangeOptional

    enum

    Window counted back from now: 1h, 24h (default), 7d, 14d, 30d or 90d

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

    Default: "24h"

  • environmentOptional

    string

    Only this environment (production, staging, …). Default: every environment

    Constraints: 1-64 chars

  • nameRequired

    string

    The route (transaction name) as the routes list names it, e.g. GET /api/orders/[id]

    Constraints: 1-300 chars

Response

200 with name; current and previous (count (requests in the window: exact, or extrapolated), perMinute, errorRate (0–1), p50Ms, p75Ms, p95Ms, p99Ms, meanMs, apdex (0–1, with the project’s apdexThresholdMs), exact (true: from per-minute summaries of every request; false: estimated from sampled traces), sampled (the traces behind an estimate)); series; releases (release and the same fields); http (the outgoing calls it makes: name and the same fields); queries (fingerprint, statement, calls, meanMs, totalMs from sampled traces); slowest and failed (traces: eventId, traceId, name, op, status, startedAt, durationMs, spanCount, release, environment).

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 performance get-route id --name example

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