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

Get task overview

POST
/xmb.api.v1.TaskService/GetTaskOverview

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

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
includeRoutine?boolean

Include the clean successes of routine sweeps in recent. Off by default: at their cadence they would fill the whole window within the hour and bury every run somebody actually came to read.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.TaskService/GetTaskOverview" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "active": [
    "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]"
  ],
  "recent": [
    "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]"
  ],
  "runningCount": "1",
  "queuedCount": "1",
  "queue": "map[depth:1 held:[map[blockedCount:1 lockKey:library-scan:server:12 runUuid:9c8b7a6f-5e4d-4c3b-a291-807f6e5d4c3b since:2026-10-22T04:23:02Z taskName:Library scan]] oldestQueuedAt:2026-10-22T04:23:40Z]"
}