> 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-agent-public-access.md).

# Update Agent Public Access

Enable public access for an agent with the Taskade REST API v1 (PUT /agents/{agentId}/publicAccess).

Use this endpoint to enable public access for an agent and get its public URL.

{% hint style="info" %}
**Generated reference:** This endpoint is also at [taskade.com/docs/rest/agent-public-access-enable](https://www.taskade.com/docs/rest/agent-public-access-enable). 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}/publicAccess" method="put" 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 %}
