API Reference
Register an executor
POST
/api/executors/register
Called by an executor on startup (and re-called after a control-plane restart when its first heartbeat 404s). The control plane renews the leases of any runIds included so liveness is re-established immediately rather than waiting for the next heartbeat cycle.
Operation IDexecutorRegister
Authentication
- ExecutorKeyAuth
http bearerShared executor secret (ENVOY_EXECUTOR_KEY). Used by internal executor-to-control-plane routes (registration, heartbeat, completion/log callbacks).Internal executor authentication; use the shared executor key.
Request body
This request body is required.
Content typeapplication/json
requestobject4 properties
urlstringrequiredExecutor base URL (matches runs.executor_id).
maxConcurrentintegerrequiredConcurrency capacity.
labelsobjectOptional labels used for dispatch selection.
Additional properties
valuestring | boolean | numberOne of
One of 1stringOne of 2booleanOne of 3numberrunIdsarray<integer>Run IDs currently in flight on the executor; their leases are renewed on register.
Array items
itemintegerSuccess response body
200Registered.
Registered.
Content typeapplication/json
responseobject1 property
registeredbooleanError responses
400Validation error
Validation error
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "VALIDATION_ERROR",
"message": "Invalid input"
}