Skip to content
dimmiDocs

AI agent

Get an AI agent version

GET/api/v1/ai/agents/{agent}/versions/{version}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the ai:read ability

Path parameters

agentstringrequired

Id of the AI agent, starting with aia_, such as aia_01jx2m8k4t. Find it with GET /ai/agents.

versionintegerrequired

The version's number, such as 3. Find it with GET /ai/agents/{agent}/versions.

Format: int32 · Minimum: 1

Response 200

OK
dataobjectrequired
Show child attributes
agent_idstringrequired

Id of the agent this is a version of (starts with aia_).

change_notestring | nullrequired

The publisher's note on what changed in this version. Null when none was given.

definitionobjectrequired
Show child attributes
action_scopeobjectrequired
Show child attributes
idsstring[] | nullrequired

With mode selected: ids of the procedures or actions the agent may use.

modestringrequired

all when the agent may use every one; selected when only the ones in ids.

always_handoff_tag_idsstring[] | nullrequired

Ids of the tags that always send a conversation to a person, each starting with tag_.

answer_key_idstring | nullrequired

Id of the provider key the agent answers with (starts with aik_). Null when it uses the key every agent shares.

answer_modelstring | nullrequired

The model the agent answers with. Null when it uses the shared model.

assigned_behaviorstringrequired

What the agent does in a conversation a teammate holds: skip_when_human_active, never_when_assigned or always.

default_languagestringrequired

Language tag the agent answers in when the customer's language is unknown, such as en.

descriptionstringrequired

What the agent handles. Other agents read it to know when to pass a conversation to this one.

enabled_channelsstring[] | nullrequired

The kinds of channel the agent answers on, such as widget, email and api.

fallback_key_idstring | nullrequired

Id of the provider key used when the answer key fails (starts with aik_). Null when there is none.

fallback_modelstring | nullrequired

The model used when the answer model fails. Null when there is none.

guidancestringrequired

How the agent talks and what it does, in the team's own words.

handoff_modestringrequired

full when the agent answers from the knowledge; triage_only when it only sorts the conversation and hands it to a person.

handoff_team_idstring | nullrequired

Id of the team a handed-over conversation goes to (starts with team_). Null when it goes to no team.

include_contact_contextstringrequired

How much of the customer's record the agent reads: none or basic.

knowledge_scopeobjectrequired
Show child attributes
help_center_idsstring[] | nullrequired

With mode selected: ids of the help centers the agent may search, each starting with hc_.

modestringrequired

all when the agent may search every help center and knowledge source; selected when only the ones listed.

source_idsstring[] | nullrequired

With mode selected: ids of the knowledge sources the agent may search, each starting with ks_.

languagesstring[] | nullrequired

Language tags the agent answers in, such as en or pt-BR.

link_allowliststring[] | nullrequired

Hosts the agent may link to, such as example.com or *.example.com.

max_ai_repliesintegerrequired

Most replies the agent sends in one conversation before it hands over.

Format: int64

namestringrequired

What the team calls the agent.

pii_redactionbooleanrequired

true when personal data is masked in text before it is sent to the model provider.

placementobjectrequired
Show child attributes
channel_connection_idsstring[] | nullrequired

Ids of the channel connections whose new conversations the agent takes, each starting with chn_.

channel_room_idsstring[] | nullrequired

Ids of the Slack channels whose new conversations the agent takes, each starting with chr_.

inbox_idsstring[] | nullrequired

Ids of the inboxes whose new conversations the agent takes, each starting with inbox_.

procedure_scopeobjectrequired
Show child attributes
idsstring[] | nullrequired

With mode selected: ids of the procedures or actions the agent may use.

modestringrequired

all when the agent may use every one; selected when only the ones in ids.

product_namestring | nullrequired

The product's name as the agent says it. Null when it uses the workspace's name.

raise_priority_on_handoffbooleanrequired

true when a conversation becomes high priority as the agent hands it over.

require_citationsbooleanrequired

true when the agent answers only with what it can cite from the knowledge.

schedulestringrequired

When the agent answers: always, outside_office_hours or inside_office_hours.

streamingbooleanrequired

true when the agent's reply appears in the messenger as it is written.

tonestringrequired

How the agent sounds: friendly, professional or concise.

transfer_agent_idsstring[] | nullrequired

Ids of the agents this one may pass a conversation to, each starting with aia_.

unknown_behaviorstringrequired

What the agent does when it cannot answer: offer_handoff, handoff or say_unknown.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

published_atstringrequired

When this version was published.

Format: date-time

published_by_member_idstring | nullrequired

Id of the teammate who published this version. Null when they are no longer known.

versionintegerrequired

The version's number, counted from 1 for each agent.

Format: int32

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.