ServicesWorker PoolsHTTP APIWorker pools

Read worker pool

GET
/api/tasks/projects/{project_id}/worker-pools/{worker_pool_id}

Read worker pool.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

project_id*string
worker_pool_id*string
Formatuuid

Response Body

Success

application/json
  1. response
stats*
workerPool*
curl -X GET 'https://api.spiraldb.dev/api/tasks/projects/string/worker-pools/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "stats": {    "activeWorkerCount": "string",    "busyWorkerCount": "string",    "claimedReadyTaskCount": "string",    "oldestReadyTaskAvailableAtMicros": "string",    "runningTaskCount": "string",    "workerPoolId": "e466ab52-fe40-49dd-8e6c-d197c33239a3"  },  "workerPool": {    "capabilities": {      "architecture": "string",      "installedTaskSpecs": [        {          "name": "string",          "version": 0        }      ],      "operatingSystem": "string",      "resources": {        "cpuCount": 0,        "gpu": {          "count": 0,          "memoryBytes": "string",          "runtime": "cuda"        },        "memoryBytes": "string"      }    },    "createdAtMicros": "string",    "managedProfileId": "string",    "managedProviderId": "string",    "maxWorkers": 0,    "name": "string",    "projectId": "string",    "status": "active",    "updatedAtMicros": "string",    "workerPoolId": "e466ab52-fe40-49dd-8e6c-d197c33239a3"  }}