Skip to main content
POST
/
api
/
v1
/
workers
/
heartbeat
Worker Heartbeat
curl --request POST \
  --url https://control-plane.kubiya.ai/api/v1/workers/heartbeat \
  --header 'Content-Type: application/json' \
  --data '{
  "worker_id": "<string>",
  "environment_name": "<string>",
  "status": "active",
  "tasks_processed": 0,
  "current_task_id": "<string>",
  "worker_metadata": {}
}'
This response does not have an example.

Body

application/json

Worker heartbeat request

worker_id
string
required
environment_name
string
required
status
string
default:active
tasks_processed
integer
default:0
current_task_id
string | null
worker_metadata
object

Response

Successful Response