Storage

Preview — pending review

This reference is generated from the platform API contract and is still under review. Operations, fields, and descriptions can change before publication.

List a backup plan's runs

GET
/scopes/{scopeId}/storage/backup-plans/{planId}/runs

Returns the plan's runs, newest first, each with its per-outcome counts so the run history table renders "3 of 5 succeeded" without a second call. Validation: unknown plan → 404. RBAC: any scope role may read. Errors: 401; 403; 404; 422 malformed pagination; 500. Idempotency/Concurrency: Safe.

Authorization

bearerToken
headerAuthorizationBearer <token>

An API token (pc_live_…) or a service-account key (sak_live_…), created in Identity & Access Management and sent as Authorization: Bearer <token>. Requests are rate limited per credential and per tenant: every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, and a refused request gets 429 RATE_LIMITED with Retry-After.

Path Parameters

scopeId*string

Opaque ownership+authorization scope resolving to tenant + subscription + project.

planId*string

Query Parameters

page?integer

1-based page number.

Range1 <= value
Default1
pageSize?integer

Items per page (max 200).

Range1 <= value <= 200
Default50

Response Body

Paginated page of runs, newest first.

application/json
  1. response
data*array<>
meta*

Pagination envelope metadata. List responses are always { data, meta } — never a naked array.

curl -X GET "https://example.com/scopes/string/storage/backup-plans/string/runs"
{  "data": [    {      "id": "string",      "planId": "string",      "operationId": "string",      "trigger": "SCHEDULED",      "status": "QUEUED",      "scheduledFor": "2019-08-24T14:15:22Z",      "totalCount": 0,      "succeededCount": 0,      "failedCount": 0,      "skippedCount": 0,      "retryOfRunId": "string",      "retryableFailureCount": 0,      "startedAt": "2019-08-24T14:15:22Z",      "finishedAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "meta": {    "page": 1,    "pageSize": 1,    "total": 0,    "hasNext": true  }}