Skip to main content
GET
Get an agent version

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

versionId
string
required

Version id, from GET .../agents/{id}/versions.

Response

The version.

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.

agent_id
string
required
created_at
integer
required
created_by
string
required
dictionaries_snapshot
object[]
required

Frozen dictionary definitions bound to this version, sorted by ord.

id
string
required
status
enum<string>
required
Available options:
draft,
published,
outdated
tools_snapshot
object[]
required

Frozen tool definitions bound to this version, sorted by sort_order.

version_number
integer
required
Required range: x >= 1
agent_engine
string
agent_model_config
object | null
agent_type
string
allow_language_switch
boolean
builtin_tools
string[]
dynamic_prompt
boolean
first_published_at
integer | null
goodbye_message
string | null
greeting_message
string
hold_phrases_snapshot
object[]

Frozen Hold Phrase Set definitions bound to this version, sorted by ord.

language_controls_enabled
boolean
preferred_language
string | null
published_at
integer | null
published_by
string | null
sheet_refs
object
task_groups
object[] | null
task_prompt_json
object | null
tools_instructions
object | null
tts_director_prompt
string | null