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

Get task run

POST
/xmb.api.v1.TaskService/GetTaskRun

Returns a single task run and the state of each step in it.

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

uuid?string
Formatuuid
serverSlug?string
Length1 <= length <= 128
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.TaskService/GetTaskRun" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "run": "map[durationMs:87000 etaSeconds:140 issueErrorCount:0 issueWarningCount:1 lockKey:library-scan:server:12 progress:0.37 progressStep:Reading 2 hubs. queuedAt:2026-10-22T04:23:00Z serverSlug:luke-s-basement stages:[map[durationMs:84000 groupKey:3b9e6f0a-1c2d-4e5f-8a7b-6c5d4e3f2a10 groupName:Living room groupOrdinal:0 itemsFailed:0 itemsProcessed:1204 itemsTotal:2880 key:walk name:Reading folders ordinal:3 progress:0.42 progressStep:Read 1,204 of 2,880 folders. startedAt:2026-10-22T04:23:05Z status:TASK_STAGE_STATUS_RUNNING]] startedAt:2026-10-22T04:23:02Z status:TASK_RUN_STATUS_RUNNING taskKey:library.scan taskName:Library scan trigger:TASK_RUN_TRIGGER_MANUAL triggeredBy:luke uuid:9c8b7a6f-5e4d-4c3b-a291-807f6e5d4c3b]"
}