Skip to navigation

Connect Compute Executor

View as Markdown

Attest original workspace/journal. Reconnection never replays uncertain effects.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_idstringRequired
attachment_idstringRequired

Request

This endpoint expects an object.
capabilitieslist of enumsRequired

Optional features beyond compute.execute. ‘condition-waits-v1’ serves bash.wait_for (WaitForArguments -> WaitForResult) and jobs.next_completed (NextCompletedArguments -> NextCompletedResult); only executors declaring it receive those operations.

Allowed values:
executor_instance_idstringRequired1-128 characters
journal_idstringRequired1-128 characters
protocol_version"sikaru-compute-v1"Required
workspace_provenanceobjectRequired

Response

Successful Response
capabilitieslist of strings
cleanup_atdouble or null
cleanup_statusenum
Allowed values:
environment_idstring
idstring
journal_idstring
lease_untildouble
owner_epochinteger
owner_idstring or null
processeslist of objects
project_idstring
protocol_versionstring or null
provider_idstring
session_idstring
startup_deadlinedouble
statusenum
uncertain_operationslist of objects
workspace_generationstring
workspace_provenanceobject
lease_ttl_secondsintegerOptionalDefaults to 60

Renewal TTL; anchor only ready/heartbeat acknowledgments to request-start monotonic time. Status and poll responses never renew the lease.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
503
Service Unavailable Error