Skip to main content
PATCH
cURL
Cancel an unfinished origination with its current ETag. Cancelling invalidates queued work; completed and failed results cannot be changed. A new assessment uses supersedes_origination_id and the same stable application reference. Historical results/charges are preserved; unfinished cancelled work creates no assessment charge. Required scope: insights:write. Examples use synthetic IDs. Replace them with values returned by your environment.

Operation name

updateOrigination The X-Amlok-Operation-Id response header identifies this endpoint. Request receipts apply to accepted POST commands.

Authorizations

Authorization
string
header
required

Server-to-server API key bound to exactly one workspace, institution tenant and environment. No caller-supplied workspace override is accepted. Do not use in public browser code.

Headers

If-Match
string
required

Required current ETag from the origination. Stale versions return 412. PATCH uses optimistic concurrency; Idempotency-Key does not create a replay receipt.

Minimum string length: 1

Path Parameters

id
string
required

id

Minimum string length: 1

Body

application/json
status
any
required

Cancel unfinished assessment work. Completed/failed results remain immutable. Cancelled unfinished work creates no product charge.

Response

Successful response.

data
object
required
meta
object
required