> 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/transfer-media-encode-and-publish/recover-an-interrupted-publication.md).

# Recover an interrupted publication

Recover one accepted publishing workflow without creating a duplicate episode or production.

Use the existing upload, production, and operation IDs before you start any new work.

## Before you start

* Keep the upload ID, production ID, operation ID, and idempotency key that are available.
* Reconnect to the same Podigee user and account.
* Restore the required media and episode scopes.

## Recover the workflow

1. Inspect the operation ID.
2. If it is active, continue monitoring it.
3. If it succeeded, read the episode and production and stop.
4. If it is retryable, preview and confirm `resume_operation` once.
5. Inspect the production ID when the operation waits on encoding.
6. Inspect the upload ID when media transfer or completion is uncertain.
7. Resume only the incomplete stage.
8. Verify the final episode, production, and publication state.

The pdg CLI can resume a known publication operation with `--operation-id`.

## Expected result

The original workflow continues or reaches a clear terminal state without a duplicate episode, upload session, or production.

## If authorization changed

Complete a new authorization for the same account and required scopes. Then obtain a fresh resume preview. Do not reuse an old confirmation.

## 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/transfer-media-encode-and-publish/recover-an-interrupted-publication.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.
