Agent Build

Publishes a draft agent as a new version

Changed on

Publishes the current draft of an agent as a new version. Mirrors the "Update" button in the agent editor — only agents (not projects) are supported, and the draft must differ from the latest published version.

post/agent/v1/publish

Request

  • Base URL
    https://api.langdock.com
  • URL
    https://api.langdock.com/agent/v1/publish
  • Auth
    HTTP bearer

Request body

agentIdstring uuid required

UUID of the agent to publish

descriptionstring

Optional change description shown in version history

Response

Agent published successfully

statusstring required
messagestring required

Changes