> 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/import-a-podcast/monitor-resume-or-cancel-an-import.md).

# Monitor, resume, or cancel an import

Follow an RSS import through episode processing and encoding, then recover or stop it safely.

Use the import's durable operation ID for all progress and recovery decisions.

## Before you start

* Keep the operation ID and podcast import ID.
* Keep access to the same Podigee account and required scopes.

## Monitor the import

1. Call `get_operation` with the operation ID.
2. Review state, stage, attempts, and item-level progress.
3. Continue monitoring through importing and encoding stages.
4. On success, keep the podcast ID and imported episode IDs.
5. Inspect skipped items or error details when present.

## Resume a retryable import

1. Confirm that the operation is retryable or waiting at a recoverable encoding checkpoint.
2. Preview `resume_operation` with the operation ID.
3. Confirm the fresh preview once.
4. Continue monitoring the same operation ID.

## Cancel an active import

1. Preview `cancel_operation` with the operation ID.
2. Confirm the cancellation.
3. Monitor until cancellation reaches a terminal state.
4. Verify which episodes were imported before cancellation.

## Expected result

The import reaches a clear terminal state without a duplicate import. Final verification accounts for partial work and skipped entries.

## If authorization changed

Reconnect to the same account with the required scopes, then request a fresh resume or cancellation preview.

## 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/import-a-podcast/monitor-resume-or-cancel-an-import.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.
