> For the complete documentation index, see [llms.txt](https://docs.taskade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.taskade.com/developers/comprehensive-api-guide/agents/update-public-agent.md).

# Update Public Agent

Update the preferences of the public version of an agent with the Taskade REST API v1 (PATCH /agents/{agentId}/public-agent).

Use this endpoint to update the preferences of the public version of an agent, for example its theme or branding.

{% hint style="info" %}
**Generated reference:** This endpoint is also at [taskade.com/docs/rest/agent-public-update](https://www.taskade.com/docs/rest/agent-public-update). Taskade generates that page from the live OpenAPI spec. AI agents can do most of this work through the [hosted Taskade MCP server](https://docs.taskade.com/developers/workspace-mcp/genesis-app-mcp.md).
{% endhint %}

{% openapi src="/files/BofPKQdStkZSorv2iHCa" path="/agents/{agentId}/public-agent" method="patch" expanded="true" %}
[api-0.1.0.json](https://884954080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEOkDZjClZ0y8qSYnc7hO%2Fuploads%2Fgit-blob-49e40343dfe39109a3f0620b76420f962ebb99c4%2Fapi-0.1.0.json?alt=media)
{% endopenapi %}
