API Specificationxmb.api.v1.TaskService
Stop a task run
Stops a task. A queued run is removed immediately; a running one is asked to stop and does so at its next opportunity.
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/CancelTaskRun" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"run": "map[finishedAt:2026-10-22T04:23:30Z lockKey:library-scan:server:12 progress:0 queuedAt:2026-10-22T04:23:00Z serverSlug:luke-s-basement status:TASK_RUN_STATUS_CANCELLED taskKey:library.scan taskName:Library scan trigger:TASK_RUN_TRIGGER_MANUAL triggeredBy:luke uuid:9c8b7a6f-5e4d-4c3b-a291-807f6e5d4c3b waitingOnTaskName:]"
}xmb.api.v1.TaskService
TaskService exposes the background task subsystem to administrators.
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`