# List AI agents

```http
GET https://trydimmi.com/api/v1/ai/agents
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `ai:read`.

## Response 200 (OK)

- `data` (object[] | null, required): The items of this page, as a list; empty when nothing matches.
  - `action_scope` (object, required)
    - `ids` (string[] | null, required): With mode selected: ids of the procedures or actions the agent may use.
    - `mode` (string, required): all when the agent may use every one; selected when only the ones in ids.
  - `actions_enabled` (boolean, required): Whether the agent may use the workspace's actions at all.
  - `always_handoff_tag_ids` (string[] | null, required): Ids of the tags that always send a conversation to the team, such as tag_... Empty when none.
  - `answer_key_id` (string | null, required): Id of the provider connection the answer model runs on, such as aik_... Null when none is chosen.
  - `answer_model` (string | null, required): Id of the model that writes the agent's answers. Null when none is chosen, and then the agent cannot go live.
  - `assigned_behavior` (string, required): What the agent does in a conversation a teammate holds: skip_when_human_active, never_when_assigned or always.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `default_language` (string, required): Language tag the agent falls back to, such as en.
  - `description` (string, required): What the live agent handles. Other agents read it to know when to pass a conversation to this one.
  - `draft` (object, required)
    - `action_scope` (object, required)
      - `ids` (string[] | null, required): With mode selected: ids of the procedures or actions the agent may use.
      - `mode` (string, required): all when the agent may use every one; selected when only the ones in ids.
    - `always_handoff_tag_ids` (string[] | null, required): Ids of the tags that always send a conversation to a person, each starting with tag_.
    - `answer_key_id` (string | null, required): Id of the provider key the agent answers with (starts with aik_). Null when it uses the key every agent shares.
    - `answer_model` (string | null, required): The model the agent answers with. Null when it uses the shared model.
    - `assigned_behavior` (string, required): What the agent does in a conversation a teammate holds: skip_when_human_active, never_when_assigned or always.
    - `default_language` (string, required): Language tag the agent answers in when the customer's language is unknown, such as en.
    - `description` (string, required): What the agent handles. Other agents read it to know when to pass a conversation to this one.
    - `enabled_channels` (string[] | null, required): The kinds of channel the agent answers on, such as widget, email and api.
    - `fallback_key_id` (string | null, required): Id of the provider key used when the answer key fails (starts with aik_). Null when there is none.
    - `fallback_model` (string | null, required): The model used when the answer model fails. Null when there is none.
    - `guidance` (string, required): How the agent talks and what it does, in the team's own words.
    - `handoff_mode` (string, required): full when the agent answers from the knowledge; triage_only when it only sorts the conversation and hands it to a person.
    - `handoff_team_id` (string | null, required): Id of the team a handed-over conversation goes to (starts with team_). Null when it goes to no team.
    - `include_contact_context` (string, required): How much of the customer's record the agent reads: none or basic.
    - `knowledge_scope` (object, required)
      - `help_center_ids` (string[] | null, required): With mode selected: ids of the help centers the agent may search, each starting with hc_.
      - `mode` (string, required): all when the agent may search every help center and knowledge source; selected when only the ones listed.
      - `source_ids` (string[] | null, required): With mode selected: ids of the knowledge sources the agent may search, each starting with ks_.
    - `languages` (string[] | null, required): Language tags the agent answers in, such as en or pt-BR.
    - `link_allowlist` (string[] | null, required): Hosts the agent may link to, such as example.com or *.example.com.
    - `max_ai_replies` (integer, required): Most replies the agent sends in one conversation before it hands over.
    - `name` (string, required): What the team calls the agent.
    - `pii_redaction` (boolean, required): true when personal data is masked in text before it is sent to the model provider.
    - `placement` (object, required)
      - `channel_connection_ids` (string[] | null, required): Ids of the channel connections whose new conversations the agent takes, each starting with chn_.
      - `channel_room_ids` (string[] | null, required): Ids of the Slack channels whose new conversations the agent takes, each starting with chr_.
      - `inbox_ids` (string[] | null, required): Ids of the inboxes whose new conversations the agent takes, each starting with inbox_.
    - `procedure_scope` (object, required)
      - `ids` (string[] | null, required): With mode selected: ids of the procedures or actions the agent may use.
      - `mode` (string, required): all when the agent may use every one; selected when only the ones in ids.
    - `product_name` (string | null, required): The product's name as the agent says it. Null when it uses the workspace's name.
    - `raise_priority_on_handoff` (boolean, required): true when a conversation becomes high priority as the agent hands it over.
    - `require_citations` (boolean, required): true when the agent answers only with what it can cite from the knowledge.
    - `schedule` (string, required): When the agent answers: always, outside_office_hours or inside_office_hours.
    - `streaming` (boolean, required): true when the agent's reply appears in the messenger as it is written.
    - `tone` (string, required): How the agent sounds: friendly, professional or concise.
    - `transfer_agent_ids` (string[] | null, required): Ids of the agents this one may pass a conversation to, each starting with aia_.
    - `unknown_behavior` (string, required): What the agent does when it cannot answer: offer_handoff, handoff or say_unknown.
  - `enabled` (boolean, required): Whether the agent is switched on and answers customers.
  - `enabled_channels` (string[] | null, required): Channels the agent answers on: any of widget, email, api and slack. With none the agent is not ready.
  - `fallback_key_id` (string | null, required): Id of the provider connection the fallback model runs on, such as aik_... Null when no fallback is set.
  - `fallback_model` (string | null, required): Id of the model used as a fallback for answers. Null when none is set.
  - `grounding_mode` (string, required): How answers are kept to the sources: citations or verify.
  - `guidance` (string, required): The team's own instructions to the agent, in plain text up to 2000 characters. Empty when none.
  - `handoff_mode` (string, required): The agent's role in a conversation: full (it answers) or triage_only (it only sorts the conversation and hands it to a person).
  - `handoff_team_id` (string | null, required): Id of the team a conversation goes to when the agent hands off, such as team_... Null when no team is set.
  - `has_unpublished_changes` (boolean, required): true when the draft differs from what customers meet, so a publish would change something.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `include_contact_context` (string, required): How much the agent reads about the contact: none, basic or allowlist.
  - `is_default` (boolean, required): true for the one agent that answers every conversation no other agent takes.
  - `knowledge_scope` (object, required)
    - `help_center_ids` (string[] | null, required): With mode selected: ids of the help centers the agent may search, each starting with hc_.
    - `mode` (string, required): all when the agent may search every help center and knowledge source; selected when only the ones listed.
    - `source_ids` (string[] | null, required): With mode selected: ids of the knowledge sources the agent may search, each starting with ks_.
  - `languages` (string[] | null, required): Language tags set for the agent, such as ["en","de"]. Empty when none are set.
  - `link_allowlist` (string[] | null, required): Host names set as allowed for links in the agent's answers, such as docs.example.com or *.example.com. Empty when none.
  - `live_version` (integer, required): Number of the version customers meet now. 0 before the first publish.
  - `lock_version` (integer, required): Counts the agent's saves. Send it back with an edit to refuse the edit when someone else saved in between.
  - `max_ai_replies` (integer, required): The most replies the agent gives in one conversation before it hands off to the team, from 1 to 50. Defaults to 5.
  - `max_output_tokens` (integer, required): The most tokens the agent may write in one answer. Defaults to 600.
  - `name` (string, required): The name the agent goes by with customers, 1 to 60 characters.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `pii_redaction` (boolean, required): Whether redaction of personal data is switched on for the agent.
  - `placement` (object, required)
    - `channel_connection_ids` (string[] | null, required): Ids of the channel connections whose new conversations the agent takes, each starting with chn_.
    - `channel_room_ids` (string[] | null, required): Ids of the Slack channels whose new conversations the agent takes, each starting with chr_.
    - `inbox_ids` (string[] | null, required): Ids of the inboxes whose new conversations the agent takes, each starting with inbox_.
  - `procedure_scope` (object, required)
    - `ids` (string[] | null, required): With mode selected: ids of the procedures or actions the agent may use.
    - `mode` (string, required): all when the agent may use every one; selected when only the ones in ids.
  - `product_name` (string | null, required): The name of the product the agent supports, up to 80 characters. Null when not set.
  - `published_at` (string | null, required): When the agent was last published. Null when it never was.
  - `raise_priority_on_handoff` (boolean, required): Whether a conversation's priority is raised when the agent hands it to the team.
  - `require_citations` (boolean, required): Whether the agent's answers must cite their sources.
  - `role` (string, required): The kind of work the agent was made for, taken from its template, such as support, billing or developer.
  - `schedule` (string, required): When the agent may answer: always, outside_office_hours or inside_office_hours.
  - `status` (string, required): Where the agent stands: draft (never published), live or paused.
  - `streaming` (boolean, required): Whether answers are streamed to the customer as they are written.
  - `template` (string | null, required): Key of the template the agent started from, such as support. Null when it started empty.
  - `tone` (string, required): How the agent sounds: friendly, professional or concise.
  - `transfer_agent_ids` (string[] | null, required): Ids of the agents the live agent may pass a conversation to, each starting with aia_.
  - `unknown_behavior` (string, required): What the agent does when it cannot answer: offer_handoff, handoff or say_unknown.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
- `links` (object): Addresses of related pages by name, such as next; left out when there are none.
- `meta` (object, required)
  - `next_cursor` (string | null, required): Send it as cursor to read the next page; null on the last page.
  - `per_page` (integer, required): How many items a page holds at most, such as 25.
  - `prev_cursor` (string | null, required): Send it as cursor to read the page before; null on the first page.
  - `total` (integer): How many items match in all; left out when the list does not count them.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/ai/agents' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": [
    {
      "action_scope": {
        "ids": [
          "<string>"
        ],
        "mode": "<string>"
      },
      "actions_enabled": true,
      "always_handoff_tag_ids": [
        "<string>"
      ],
      "answer_key_id": "<string>",
      "answer_model": "<string>",
      "assigned_behavior": "<string>",
      "created_at": "2026-11-01T09:30:00Z",
      "default_language": "<string>",
      "description": "<string>",
      "draft": {
        "action_scope": {
          "ids": [],
          "mode": "<string>"
        },
        "always_handoff_tag_ids": [
          "<string>"
        ],
        "answer_key_id": "<string>",
        "answer_model": "<string>",
        "assigned_behavior": "<string>",
        "default_language": "<string>",
        "description": "<string>",
        "enabled_channels": [
          "<string>"
        ],
        "fallback_key_id": "<string>",
        "fallback_model": "<string>",
        "guidance": "<string>",
        "handoff_mode": "<string>",
        "handoff_team_id": "<string>",
        "include_contact_context": "<string>",
        "knowledge_scope": {
          "help_center_ids": [],
          "mode": "<string>",
          "source_ids": []
        },
        "languages": [
          "<string>"
        ],
        "link_allowlist": [
          "<string>"
        ],
        "max_ai_replies": 123,
        "name": "<string>",
        "pii_redaction": true,
        "placement": {
          "channel_connection_ids": [],
          "channel_room_ids": [],
          "inbox_ids": []
        },
        "procedure_scope": {
          "ids": [],
          "mode": "<string>"
        },
        "product_name": "<string>",
        "raise_priority_on_handoff": true,
        "require_citations": true,
        "schedule": "<string>",
        "streaming": true,
        "tone": "<string>",
        "transfer_agent_ids": [
          "<string>"
        ],
        "unknown_behavior": "<string>"
      },
      "enabled": true,
      "enabled_channels": [
        "<string>"
      ],
      "fallback_key_id": "<string>",
      "fallback_model": "<string>",
      "grounding_mode": "<string>",
      "guidance": "<string>",
      "handoff_mode": "<string>",
      "handoff_team_id": "<string>",
      "has_unpublished_changes": true,
      "id": "<string>",
      "include_contact_context": "<string>",
      "is_default": true,
      "knowledge_scope": {
        "help_center_ids": [
          "<string>"
        ],
        "mode": "<string>",
        "source_ids": [
          "<string>"
        ]
      },
      "languages": [
        "<string>"
      ],
      "link_allowlist": [
        "<string>"
      ],
      "live_version": 123,
      "lock_version": 123,
      "max_ai_replies": 123,
      "max_output_tokens": 123,
      "name": "<string>",
      "object": "<string>",
      "pii_redaction": true,
      "placement": {
        "channel_connection_ids": [
          "<string>"
        ],
        "channel_room_ids": [
          "<string>"
        ],
        "inbox_ids": [
          "<string>"
        ]
      },
      "procedure_scope": {
        "ids": [
          "<string>"
        ],
        "mode": "<string>"
      },
      "product_name": "<string>",
      "published_at": "2026-11-01T09:30:00Z",
      "raise_priority_on_handoff": true,
      "require_citations": true,
      "role": "<string>",
      "schedule": "<string>",
      "status": "<string>",
      "streaming": true,
      "template": "<string>",
      "tone": "<string>",
      "transfer_agent_ids": [
        "<string>"
      ],
      "unknown_behavior": "<string>",
      "updated_at": "2026-11-01T09:30:00Z"
    }
  ],
  "links": {
    "<key>": "<string>"
  },
  "meta": {
    "next_cursor": "<string>",
    "per_page": 123,
    "prev_cursor": "<string>",
    "total": 123
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
