Durable Functions
Stop a durable execution
Changed onCancels a running execution. Its completed steps are not undone.
The call is accepted rather than awaited: cancellation happens behind it, so the response reports the execution as it was read back and may still say running. Do not branch on that status — the execution settles into stopped shortly after, and polling GET /projects/{id}/durable-functions/{functionId}/executions/{executionId} is how you see it get there.
Stopping an execution that already finished is not an error: the response carries the state it settled in.
post/projects/{id}/durable-functions/{functionId}/executions/{executionId}/stop
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/projects/{id}/durable-functions/{functionId}/executions/{executionId}/stop
- Auth: HTTP bearer
Path parameters
idstring uuid required
Project ID
functionIdstring required
Durable function ID, or its name within the project
executionIdstring uuid required
Durable execution ID
Response
Stop accepted. The body is the execution as it was read back, which may still report running.
Changes
- ○
endpoint added
- ○