analyses

Soft-cancel a running analysis (status → cancelled)

Mark a running run as cancelled.

No-op (idempotent 200) when the run is already in a terminal state — not all clients will ship a "stop polling" hook to detect that the run finished between their last poll and the cancel click. 409 only for the genuinely contradictory case (status not in {running, succeeded, failed, cancelled}).

Cancellation does NOT decrement the daily quota — the run row has already been INSERTed by orchestrator.start, and BYOK / partial LLM cost may have been incurred (#496 quota AC).

delete/api/v1/contexts/{context_id}/analyses/{run_id}

Request

  • Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://memory.kagura-ai.com/api/v1/contexts/{context_id}/analyses/{run_id}
  • Auth: none declared

Path parameters

context_idstring uuid required
run_idstring uuid required

Headers

authorizationstring nullable

Response

Successful Response

run_idunknown required
statusunknown required
cancellation_reasonunknown required
finished_atunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.