cURL
curl --request POST \ --url https://api.example.com/api/work_pools/{work_pool_name}/workers/heartbeat \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "heartbeat_interval_seconds": 123 } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
The work pool name
The worker process name
The worker's heartbeat interval in seconds
Successful Response
Was this page helpful?