Skip to main content
POST
Publish the draft

Authorizations

Authorization
string
header
required

Your organization API key (it starts with anek_org_). The same key works on the Voice API and the Support API. See Authentication.

Path Parameters

projectId
string
required

Project id

id
string
required

Agent id

Response

The draft is now live. warnings is present only when the agent's language model could not be confirmed as currently available; the publish still succeeded.

publishedVersion
object
required

The full configuration of one agent version, with the tools and dictionaries attached to it as they were when the version was saved. Fields not listed here may also be present.

outdatedVersion
object | null

The version that was live before, now outdated; null when there was none.

warnings
object[]

Present only when there is something to report. The publish succeeded.