方法路径摘要认证
GET/v1/admin/system-backup-runsRead persisted control-plane backup run history登录会话

契约文件:api/control-backup-history.openapi.yaml

接口详情

GET /v1/admin/system-backup-runs

Read persisted control-plane backup run history

operationId
listSystemBackupRuns
认证
  • 登录会话:主控登录后的 Bearer 会话,由客户本人在自己的主控里使用;插件不能要求客户交出会话。
所需权限

契约没有单独标注权限码,权限要求见下方说明与 403 响应。

说明(契约原文)

Reads only signed start and terminal facts persisted by the controlled backup runner. A missing terminal or an unverifiable fact is returned as an unknown outcome and is never inferred from plans, approvals, or audit events. With no backup runner bound it answers an empty page with unconfigured=true; a partial or invalid binding is unavailable.

参数

listSystemBackupRuns 参数
名称位置类型必填说明
backup_idquerystring否—
statequerystring: succeeded / failed / unknown否—
fromquerystring(date-time)否—
toquerystring(date-time)否—
limitqueryinteger: 10 / 30 / 100 / 300否—
cursorquerystring否Signed continuation bound to the backup ID, state, and effective time range; omitted times retain the first page range.

响应

listSystemBackupRuns 响应
状态码说明
200Persisted backup run facts

字段:schema: string items: array<BackupRunHistoryRecord> total_count: integer next_cursor?: string snapshot_at: string(date-time) unconfigured?: boolean

400Invalid query or cursor
401Authentication required
403Platform administrator permission required
503Protected backup history capability unavailable

失败时怎么办

  • 400 按字段说明修正参数或请求体再发;不要原样重试。
  • 401 检查凭据格式、是否过期或被轮换。
  • 403 检查 Key 范围与所有者当前权限、当前租户作用域;不要换更高权限账号绕过。
  • 503 依赖暂不可用:稍后用原 Idempotency-Key 重试。

↑ 回到列表