Overview
The Agent Runtimes API manages external or local agent runtimes. A runtime record tracks a host, a status, a heartbeat, a list of CLI binaries the runtime can execute, and an optional workspace association. Jobs can be dispatched to a runtime; the gateway persists the queued job, runs it through the local agent runtime, and updates the record with the result.Base URL
Authentication
All requests must include a valid bearer token in theAuthorization header.
Runtime object
Job object
Endpoints
List runtimes
Example request
Example response
Create a runtime
Request body
Example request
Example response
Get a runtime
Example response
Update a runtime
Request body
Example request
Example response
Heartbeat a runtime
last_heartbeat. Optionally updates status.
Request body
Example request
Example response
Delete a runtime
Example response
204 No Content