Skip to main content
POST
Cancel a procedure run

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Headers

Idempotency-Key
string

Client-chosen key for safe retries: 1-128 letters, digits, -, _, . or :. Use a new random UUID for each intended operation and the same key when retrying it. Do not put customer data or credentials in the key.

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9\-_.:]+$

Path Parameters

runId
string<uuid>
required

Tenant-scoped logical procedure run identifier

Body

application/json
reason
string

Why the run is cancelled, kept in its history.

Required string length: 1 - 1000

Response

The run is cancelling, or had already finished.

runId
string<uuid>
required

Tenant-scoped logical procedure run identifier

outcome
enum<string>
required

cancelling: the run was asked to stop and reaches, or has reached, cancelled. already_finished: it had finished another way; nothing changed.

Available options:
cancelling,
already_finished