Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.TaskService

List task runs

POST
/xmb.api.v1.TaskService/ListTaskRuns

Returns finished task runs, newest first. History is kept for a fixed period and removed after that by the server's own housekeeping task.

Required scopes: xmb:admin

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

serverSlug?string
Length1 <= length <= 128
taskKey?string

Narrow to one task. Optional.

Lengthlength <= 64
status?string

Narrow to one outcome. Optional.

Value in"TASK_RUN_STATUS_UNSPECIFIED" | "TASK_RUN_STATUS_QUEUED" | "TASK_RUN_STATUS_RUNNING" | "TASK_RUN_STATUS_SUCCEEDED" | "TASK_RUN_STATUS_FAILED" | "TASK_RUN_STATUS_CANCELLED"
pageSize?integer

Defaults to 50, capped server-side.

Formatint32
Range0 <= value
pageToken?string

Opaque cursor from a previous response.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.TaskService/ListTaskRuns" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "runs": [
    "map[durationMs:280000 finishedAt:2026-10-22T03:04:41Z issueErrorCount:0 issueWarningCount:0 lockKey:metadata-refresh:server:12 progress:1 progressStep:Finished. queuedAt:2026-10-22T03:00:00Z serverSlug:luke-s-basement startedAt:2026-10-22T03:00:01Z status:TASK_RUN_STATUS_SUCCEEDED taskKey:metadata.refresh taskName:Metadata refresh trigger:TASK_RUN_TRIGGER_SCHEDULE uuid:4f3e2d1c-0b9a-4876-a543-210fedcba987]"
  ],
  "nextPageToken": "MTAw",
  "total": "212"
}