> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/platform/control-center/govern/publish-review/unpublish-requests.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# Unpublish requests

Review a request to take an agent's live version out of service, and what changes once it's unpublished.

A request to take an agent's live version out of service appears in the queue as **Unpublish agent version**, with the type **Agent unpublish**. The live version stays in service until the request has every required approval. A rejected or withdrawn request leaves the version live. For the requester's steps, see [Unpublish an agent](https://docs.uptiq.ai/platform/task-guides/create-an-agent.md#unpublish-an-agent).

The **Unpublish agent version** policy in [Approval Policies](https://docs.uptiq.ai/platform/control-center/admin/approval-policies.md) sets the approvals the request needs. The request needs 1 approval by default, and the policy is separate from **Publish agent version**. At 0, the requester confirms in the builder and the version is unpublished at once. The message shows Agent unpublished successfully, and no request reaches the [Publish Review](https://docs.uptiq.ai/platform/control-center/govern/publish-review.md) queue.

## What unpublishing changes <a href="#what-unpublishing-changes" id="what-unpublishing-changes"></a>

Unpublishing removes the live version. It doesn't stop every use of the agent.

| How the agent is used                                                 | After the version is unpublished                                                             |
| --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| A new conversation that names no version                              | Runs the current draft until a version is published again. The unpublish window states this. |
| A person who was given one saved version of the agent                 | Still gets that version.                                                                     |
| Another agent that adds this agent as a skill, set to a saved version | Still runs that version.                                                                     |
| A conversation that started before the unpublish                      | Stays on the version it started on.                                                          |

See [Which agent version runs](https://docs.uptiq.ai/platform/console/agent-builder/build/runtime-and-versioning.md#which-agent-version-runs).

## Review an unpublish request <a href="#review-an-unpublish-request" id="review-an-unpublish-request"></a>

1. Open **Govern** > **Publish Review** and open the **Unpublish agent version** request.
2. On **Overview**, confirm the agent, the version, **Requested by**, and the **Reason**. The request has no **Changes** tab.
3. Compare **Approvals** with the number required.
4. Select **Approve** or **Reject**. See [Decisions](https://docs.uptiq.ai/platform/control-center/govern/publish-review/approve-or-reject-a-publish-request.md#decisions).

The version is unpublished when the last required approval is in. An earlier approval doesn't unpublish it while more approvals are needed.

## After the version is unpublished <a href="#after-the-version-is-unpublished" id="after-the-version-is-unpublished"></a>

* The agent has no live version, and **Last Published** no longer appears in the agent's publish menu.
* The version and its publish history are kept. In the versions list, the version keeps its publish date and shows **Superseded**. The version has no **Unpublished** label.
* To make the version live again, select it from the version menu and publish it. Publishing follows the **Publish agent version** policy, not the unpublish policy.

## One request at a time <a href="#one-request-at-a-time" id="one-request-at-a-time"></a>

An agent can't have a publish request and an unpublish request open together.

| Open request         | Effect                                                                                                                                                                                                         |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A publish request    | **Unpublish** isn't shown in the agent's publish menu.                                                                                                                                                         |
| An unpublish request | Publishing the agent is refused, and a second unpublish request is refused. The publish menu shows **Unpublish Pending Approval** with **Withdraw request**, and the header button shows **Pending Approval**. |

The same rules apply when the unpublish comes through the `unpublish_agent_version` MCP tool: it raises a request when approval is on, and unpublishes at once when it's off.

## What's next

{% content-ref url="/pages/QjUrLb613QZNc3Icq462" %}
[Approve or reject a publish request](https://docs.uptiq.ai/platform/control-center/govern/publish-review/approve-or-reject-a-publish-request.md)
{% endcontent-ref %}

{% content-ref url="/pages/WhdcEQPyhXaw054UOTCz" %}
[Troubleshoot Publish Review](https://docs.uptiq.ai/platform/control-center/govern/publish-review/troubleshoot-publish-review.md)
{% endcontent-ref %}

{% content-ref url="/pages/z8rpK3t5SksnA7RebtXy" %}
[Publish Review](https://docs.uptiq.ai/platform/control-center/govern/publish-review.md)
{% endcontent-ref %}

***

{% columns %}
{% column width="83.33333333333334%" %}

<p align="right"><em>Maintained by</em> <mark style="color:green;">Abhishek Paul</mark><br><code>AI-assisted, human-approved</code></p>
{% endcolumn %}

{% column width="16.666666666666664%" %}

<div align="left"><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-d034645b4f8f8ee661985f5306b60ded3289653c%2Fmaintainer-abhishek-paul.png?alt=media" alt="" width="60"></div>
{% endcolumn %}
{% endcolumns %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/platform/control-center/govern/publish-review/unpublish-requests.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
