errors.performance.get

Read a project’s server performance in a window, against the window before it

GET /errors/api/projects/{id}/performanceIAM errors:GetEventsRead

Request syntax

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

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

Response

200 with 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) for `current` and `previous` (the window before, same length); `changes` (perMinute, p95, errorRate: relative change, null without a previous value); `coverage` (coversWindow: per-minute summaries cover the window, so the totals are exact; since: the minute summaries started inside it, or null); `series` (at, perMinute, p95Ms, errorRate per slice, about 60 slices); apdexThresholdMs. 404 when the project does not exist, 403 without errors:GetEvents 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: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 id

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.