Skip to main content
Managed AgentsVersion: v3New

Publish a Managed Agent

POST/agent-studio/managed-agents/{managedAgentId}/publish

Publishes the current draft, exactly as the app does, and records who published it. A draft that still needs setup (for example a trigger, calendar or reply channel) is refused with a 400 that says what is missing.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:managed-agents.buildAndPublish
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API version.

Available optionsv3
Example:v3
Idempotency-Keystringrequired

Unique key for this request. Resending it with the same request returns the original result.

Possible values: non-empty and <= 128 characters

Example:build-7f3cf4c0-39eb-46be-baa3-a1eb15021f25

Path Parameters

managedAgentIdstringrequired

Managed Agent ID.

Example:027ee957-ae94-40ad-89a3-b25c985f729b

Body

locationIdstringrequired

Location (sub-account) the agent belongs to

Example:ve9EPM428h8vShlRW1KT

Response

Published

idstringrequired

Managed Agent ID.

Example:027ee957-ae94-40ad-89a3-b25c985f729b
namestringrequired

Display name of the Managed Agent.

Example:Lead Qualifier
descriptionstringrequired

Public description of the Managed Agent.

Example:Qualifies inbound leads and books appointments.
locationIdstringrequired

Location (sub-account) that owns the agent.

Example:ve9EPM428h8vShlRW1KT
publishedVersionIdstringrequired

Published production version ID.

Example:Ver1K8sSF2nC7al5InWz
publishedAtstring<date-time>

Time the production version was published.

Example:2026-09-01T12:00:00.000Z
modelstring

Model configured for the published version.

Example:anthropic/claude-sonnet-4-6
toolsstring[]

Tool identifiers enabled on the published version.

Example:["web_search","kb_search"]
pluginsobject[]

Plugins enabled on the published version.

knowledgeBaseIdsstring[]

Knowledge base IDs configured on the published version.

Example:["kb_abc123"]