> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/documentation/start-here/ai-agents/make-changes-safely/resume-or-cancel-an-operation.md).

# Resume or cancel an operation

Resume recoverable Podigee work or cancel eligible active work with a fresh safety check.

Inspect the current operation before you decide whether to resume or cancel it.

## Before you start

* Keep the operation ID.
* Connect as the same user and select the same Podigee account.
* Restore every scope required by the operation.
* Review the operation state, stage, result, and error.

## Resume recoverable work

1. Confirm that the operation is retryable or that Podigee reports a recoverable checkpoint.
2. Ask for a dry-run preview of `resume_operation` with the operation ID.
3. Review the operation and the exact resume action.
4. Confirm the fresh preview without changing the operation ID.
5. Submit the resume once.
6. Monitor the same operation ID to its next terminal state.

A resume uses current authorization. It does not erase the original user, account, credential, scope, or contract provenance.

## Cancel eligible work

1. Confirm that the operation is not already complete.
2. Ask for a dry-run preview of `cancel_operation` with the operation ID.
3. Review the operation that will be cancelled.
4. Confirm the fresh preview.
5. Monitor the operation until its state becomes `cancelled` or another terminal result is returned.
6. Verify what completed before cancellation.

An active listener password reset cannot be cancelled safely. A publish or import cancellation can need time to reach a safe terminal checkpoint.

## Expected result

Podigee either continues the same operation under current authority or stops eligible work at a safe boundary.

## If resume is rejected

Do not start the original workflow again. The operation can be active, terminal, not retryable, still cancelling, or outside the current account or permissions. Inspect it again and follow the returned recovery message.

## If cancellation is still in progress

Continue monitoring the same operation. Do not submit repeated cancellation requests or start a replacement workflow.

## Next step

[Verify that a change had the intended effect](/documentation/start-here/ai-agents/make-changes-safely/verify-that-a-change-had-the-intended-effect.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.podigee.com/documentation/start-here/ai-agents/make-changes-safely/resume-or-cancel-an-operation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
