agent

Atomically reserve a private task compute plan

Trusted Activity only; original workflow attachment and current task authority required. Funding and immutable workspace/resource/price/expiry pins share one Git publication. Prepared identifies the first acknowledged preparation; uncertainty or expiry never permits repeated allocation. This port does not create a provider resource, issue provider credentials, settle usage or prove hard expiry. Return private data only inside trusted Activities, never Workflow payloads.

post/api/v1/agent/persistent/scheduler/prepare_compute

Request

  • Base URL
    https://composal.com (the document declares no server; this is the origin it was published from)
  • URL
    https://composal.com/api/v1/agent/persistent/scheduler/prepare_compute
  • Auth
    HTTP bearer

Request body

organization_idstring required
agent_idstring required
task_idstring required
first_execution_run_idstring required
operation_keystring required
machine_class'standard-2gb' | 'standard-4gb' | 'standard-8gb' required
max_secondsinteger required

Response

Immutable funded preparation or reconciliation metadata

state'prepared' | 'uncertain' | 'expired' | 'released' required
versionstring required

Changes

No recorded changes to this operation across all 3 revisions of this API.