API Specificationxmb.api.v1.TaskService
Run task now
Queues a task immediately. If another run of the same task is already going, this one waits for it to finish rather than running alongside 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
taskKey?string
Registry key of the task to run.
Length
1 <= length <= 64serverSlug?string
Length
1 <= length <= 128[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.TaskService/RunTask" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"run": "map[lockKey:library-scan:server:12 progress:0 queuedAt:2026-10-22T04:23:00Z serverSlug:luke-s-basement status:TASK_RUN_STATUS_QUEUED taskKey:library.scan taskName:Library scan trigger:TASK_RUN_TRIGGER_MANUAL triggeredBy:luke uuid:9c8b7a6f-5e4d-4c3b-a291-807f6e5d4c3b waitingOnTaskName:Library reconcile]"
}