Skip to main content
POST
/
workflow
/
{walletAddress}
/
chat
Workflow runtime
curl --request POST \
  --url https://api.compose.market/workflow/{walletAddress}/chat

Documentation Index

Fetch the complete documentation index at: https://docs.compose.market/llms.txt

Use this file to discover all available pages before exploring further.

Workflow runtime routes proxy to the runtime service after preparing payment. They accept Compose Key bearer auth or raw x402 payment headers.

Routes

MethodPathStreamingDescription
POST/workflow/executeNoExecutes a workflow and settles from returned usage records.
GET/workflow/pricesNoReturns runtime workflow prices.
POST/workflow/{walletAddress}/chatYesRuns streaming workflow chat.
POST/workflow/{walletAddress}/stopNoStops the active workflow.
GET/workflow/{walletAddress}/runs/{runId}/stateNoReads runtime state for one workflow run.
POST/workflow/{walletAddress}/runs/{runId}/approvalNoSends an approval decision to a run.
POST/workflow/{id}/runYesRuns a workflow by ID.

Path parameters

walletAddress
string
Workflow wallet address.
id
string
Workflow ID accepted by the runtime.
runId
string
Runtime run ID.

Headers

Authorization
string
Bearer compose-... for Compose Key billing.
PAYMENT-SIGNATURE
string
Raw x402 payment signature.

Settlement

Workflow settlement requires usageRecords from the runtime response or result SSE event. The settlement subject is workflow:{walletAddress}.