Saltar para o conteúdo principal
GET
/
public
/
api
/
v1
/
agents
/
{agentPublicId}
/
versions
/
{versionNumber}
Get a specific published version snapshot
curl --request GET \
  --url https://api.gennia.ai/public/api/v1/agents/{agentPublicId}/versions/{versionNumber} \
  --header 'X-Api-Key: <api-key>'
{
  "aiModelName": "<string>",
  "aiModelPublicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "audioListeningEnabled": true,
  "audioResponseEnabled": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "dynamicPromptEnabled": true,
  "followUpAfterHours": 123,
  "followUpBusinessHoursEnd": "14:30:00",
  "followUpBusinessHoursStart": "14:30:00",
  "followUpEnabled": true,
  "followUpInactivityMinutes": 123,
  "followUpIntervalMinutes": 123,
  "followUpMaxAttempts": 123,
  "followUpPrompt": "<string>",
  "genuiEnabled": true,
  "httpTools": [
    {}
  ],
  "knowledgeSources": [
    {}
  ],
  "longTermMemoryEnabled": true,
  "memoryCustomInstructions": "<string>",
  "messageDelayEnabled": true,
  "messageSplittingEnabled": true,
  "notes": "<string>",
  "sandboxEnabled": true,
  "skills": [
    {}
  ],
  "subAgents": [
    {}
  ],
  "systemPrompt": "<string>",
  "temperature": 123,
  "thinkingEffort": "<string>",
  "thinkingEnabled": true,
  "ttsVoice": "<string>",
  "variablesSnapshot": {},
  "versionNumber": 123,
  "webSearchEnabled": true
}

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de caminho

agentPublicId
string<uuid>
obrigatório
versionNumber
integer<int32>
obrigatório

Resposta

OK

Frozen published-version snapshot (config + inlined link sets).

aiModelName
string
aiModelPublicId
string<uuid>
audioListeningEnabled
boolean
audioResponseEnabled
boolean
createdAt
string<date-time>
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
httpTools
object[]
knowledgeSources
object[]
longTermMemoryEnabled
boolean
memoryCustomInstructions
string
messageDelayEnabled
boolean
messageDelayType
enum<string>
Opções disponíveis:
LOW,
MEDIUM,
HIGH,
RANDOM
messageSplittingEnabled
boolean
notes
string
sandboxEnabled
boolean
skills
object[]
subAgents
object[]
systemPrompt
string
temperature
number<float>
thinkingEffort
string
thinkingEnabled
boolean
ttsVoice
string
variablesSnapshot
object
versionNumber
integer<int32>
webSearchEnabled
boolean