Skip to main content
POST
Publish agent

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de caminho

agentPublicId
string<uuid>
obrigatório

Corpo

application/json

Body for publishing the agent's current draft as a new version.

notes
string

Release notes describing what changed in this version.

Maximum string length: 500
Exemplo:

"Improved follow-up logic and added GitHub MCP support."

Resposta

Published

Agent metadata + editable-state configuration.

aiModelName
string

Selected AI model display name; null when not yet configured.

aiModelPublicId
string<uuid>

Selected AI model public ID; null when not yet configured.

audioListeningEnabled
boolean
audioResponseEnabled
boolean
avatarUrl
string
categories
string[]
createdAt
string<date-time>
description
string
draftVersionNumber
integer<int32>
dynamicPromptEnabled
boolean
followUpAfterHours
integer<int32>
followUpBusinessHoursEnd
string
Exemplo:

"14:30:00"

followUpBusinessHoursStart
string
Exemplo:

"14:30:00"

followUpEnabled
boolean
followUpInactivityMinutes
integer<int32>
followUpIntervalMinutes
integer<int32>
followUpMaxAttempts
integer<int32>
followUpPrompt
string
genuiEnabled
boolean
hasExternalChannel
boolean
hasUnpublishedChanges
boolean

True if the editable state differs from the published snapshot.

longTermMemoryEnabled
boolean
memoryCustomInstructions
string
messageDelayEnabled
boolean
messageDelayType
enum<string>

Delay tier when messageDelayEnabled=true.

Opções disponíveis:
LOW,
MEDIUM,
HIGH,
RANDOM
messageSplittingEnabled
boolean
name
string
publicId
string<uuid>
publishedVersionNumber
integer<int32>
sandboxEnabled
boolean
status
enum<string>
Opções disponíveis:
draft,
active,
inactive,
archived
systemPrompt
string
temperature
number<float>
thinkingEffort
enum<string>

Thinking effort tier.

Opções disponíveis:
low,
medium,
high
thinkingEnabled
boolean
ttsVoice
string
updatedAt
string<date-time>
webSearchEnabled
boolean