All requests below will use this key. Your API key is sent directly to api.cueapi.ai and never stored by the docs site.

POST/v1/worker/heartbeat

Worker Heartbeat

Register or update a worker's liveness and handler list.

worker_idstringrequiredbody

Unique identifier for this worker instance (e.g., hostname).

handlersarrayrequiredbody

List of task names this worker can handle.

Request

bash
curl -X POST https://api.cueapi.ai/v1/worker/heartbeat \
  -H "Authorization: Bearer cue_sk_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "worker_id": "my-laptop",
    "handlers": ["draft-linkedin", "generate-report"]
  }'

Response

json
{
  "acknowledged": true
}
POST/v1/worker/heartbeat
Try it
Request Body
Enter your API key above to send requests