API Specificationxmb.api.v1.TaskService
Get task run
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
Format
uuidserverSlug?string
Length
1 <= 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]"
}Get task overview POST
Returns running and queued tasks with their progress, a short window of recent runs, and queue diagnostics. Bounded in size so it can be polled while work is in flight. **Required scopes:** `xmb:admin`
List scheduled tasks POST
Returns the background tasks this server runs, with their schedules and most recent outcomes. Schedules are set in the server's configuration and cannot be changed through the API. **Required scopes:** `xmb:admin`