---
title: "Changes to Publish Agent"
method: POST
path: "/api/agents/{agent_id}/publish"
---

# Changes to Publish Agent

`POST /api/agents/{agent_id}/publish`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 4 revisions.

- **2026-06-13** `33e4ba4936ad` — 2 info
- **2026-05-01** `c9eb29ec9a1b` — 2 info

## Changes

- **2026-06-13** `33e4ba4936ad` — 2 info
  - added the required property `agent/share_enabled` to the response with the `200` status
  - added the required property `agent/share_updated_at` to the response with the `200` status
- **2026-05-01** `c9eb29ec9a1b` — 2 info
  - added the required property `agent/allowed_domains` to the response with the `200` status
  - added the required property `agent/widget_enabled` to the response with the `200` status

---

[Operation](https://skmtc.dev/xorbitsai/apis/xagent/docs/api/agents/:agent_id/publish/post.md) · [API](https://skmtc.dev/xorbitsai/apis/xagent.md) · [Page](https://skmtc.dev/xorbitsai/apis/xagent/changes/api/agents/:agent_id/publish/post)
