Unpublish an agent
Remove the published version of the agent; it reverts to a draft. The draft keeps all settings and can be re-published at any time. Published copies of actions and skills are removed along with the published version. Idempotent: unpublishing an unpublished agent is a no-op.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the space the agent belongs to.
2 - 6Unique ID of the agent.
Response
Agent unpublished successfully.
Unique ID of the agent. Use it with the Completion API (agentId option) to chat with the agent.
ID of the space the agent belongs to.
2 - 6Whether the agent is published as an external, embeddable chat widget.
Identifier used to embed the agent as an external widget.
External embed widget options (draft state).
Actions/tools configured on the agent (draft state).
true for built-in nuwacom system agents (cannot be updated or deleted).
Whether a published version of the agent exists. Publishing happens in the nuwacom app.
true when the draft differs from the published version (or nothing has been published yet).