---
title: "Get Demo Config"
method: GET
path: "/core/agents/{agent_id}/demo-config"
tags: ["demos"]
---

# Get Demo Config

`GET /core/agents/{agent_id}/demo-config`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/core/agents/{agent_id}/demo-config`
- Auth: HTTP bearer

The agent's demo config, or the full default config when none is saved.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `x-anyreach-org` string, nullable: Organization ID for user PATs (pat_ prefix tokens)

## Response `200`

Successful Response

- DemoConfigOut: The agent's demo config; the full default config when none is saved.
  - `id` string, nullable
  - `agent_id` string, required
  - `kind` 'compare_ivr'
  - `target_id` string, nullable
  - `target` Target
    - `id` string, required
    - `label` string, required
    - `number` string, required
    - `caller_id` string, nullable
    - `max_duration_s` integer, required
    - `load_test_authorized` boolean
    - `load_test_authorized_by` string, nullable
    - `load_test_authorized_at` string, date-time, nullable
    - `load_test_note` string, nullable
    - `company_name` string, nullable
    - `website` string, nullable
    - `do_not_test` boolean
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `modified_by` string, nullable
  - `config` DemoConfig, required
    - `v` 1
    - `headline` string
    - `subline` string
    - `scenario` Scenario
      - `title` string
      - `prompt` string
    - `timer` CallTimer: The countdown each call runs against; the call is ended when it hits zero. The target's ``max_duration_s`` stays the safety limit behind it.
      - `seconds` integer
    - `client` Client
      - `name` string
      - `desktop_label` string
      - `interaction_id_prefix` string
    - `ivr` IvrSide
      - `label` string
      - `column_title` string
      - `eyebrow` string
      - `start_button` string
    - `anyreach` AnyreachSide
      - `label` string
      - `column_title` string
      - `eyebrow` string
      - `start_button` string
      - `assistant_name` string
      - `line_label` string
      - `intents` string[]
      - `tools` AnyreachTools: Which of the agent's tools verify the caller and which return results, and the label each is shown under.
        - `verify` string[]
        - `results` string[]
        - `labels` object
      - `government` unknown
    - `assumptions` Assumptions
      - `calls` integer
      - `ivr_per_min` number
      - `agent_per_min` number
      - `agent_tail_min` number
      - `ai_per_min` number
      - `old_esc` number
      - `new_esc` number
      - `old_agent_min` number
      - `new_agent_min` number
    - `scorecard` Scorecard
      - `rows` string[]
    - `runs` RunsList: Which scorecard metrics the Runs list shows, each as its Difference column; they follow the scorecard rows' order.
      - `columns` string[]
    - `charts` Charts: How the comparison draws its charts: member sentiment as one chart with both calls on it, or the chart per call it used to be.
      - `sentiment` 'combined' | 'split'
    - `record_card` RecordCard
      - `prompt` string
    - `lanes` Lanes
      - `chat` ChatLane
        - `enabled` boolean
        - `label` string
        - `delay_s` number
        - `prompt` string
      - `sms` SmsLane
        - `enabled` boolean
        - `label` string
    - `rehearsal` Rehearsal
      - `ivr` ScriptEvent[]
        - `t` number, required
        - `dur` number, required
        - `who` 'ivr' | 'caller' | 'agent' | 'ai' | 'sys', required
        - `kind` 'connect' | 'prompt' | 'menu' | 'info' | 'dtmf' | 'error' | 'repeat' | 'deflect' | 'hold' | 'agent' | 'ai' | 'you' | 'verified' | 'end', required
        - `text` string, required
        - `keys` integer, nullable
        - `ident` integer, nullable
        - `sent` number, nullable
        - `flag` string, nullable
        - `intents` array[], nullable
          - unknown[]
            - unknown
        - `ents` array[], nullable
          - unknown[]
            - unknown
        - `acts` string[], nullable
        - `latency` number, nullable
        - `results` string, nullable
      - `anyreach` ScriptEvent[]
        - `t` number, required
        - `dur` number, required
        - `who` 'ivr' | 'caller' | 'agent' | 'ai' | 'sys', required
        - `kind` 'connect' | 'prompt' | 'menu' | 'info' | 'dtmf' | 'error' | 'repeat' | 'deflect' | 'hold' | 'agent' | 'ai' | 'you' | 'verified' | 'end', required
        - `text` string, required
        - `keys` integer, nullable
        - `ident` integer, nullable
        - `sent` number, nullable
        - `flag` string, nullable
        - `intents` array[], nullable
          - unknown[]
            - unknown
        - `ents` array[], nullable
          - unknown[]
            - unknown
        - `acts` string[], nullable
        - `latency` number, nullable
        - `results` string, nullable
      - `anyreach_government` unknown
      - `chat` LaneItem[]
        - `t` number, required
        - `who` 'm' | 'e', nullable
        - `text` string, nullable
        - `sub` string, nullable
        - `links` string[], nullable
        - `end` string, nullable
      - `sms` LaneItem[]
        - `t` number, required
        - `who` 'm' | 'e', nullable
        - `text` string, nullable
        - `sub` string, nullable
        - `links` string[], nullable
        - `end` string, nullable
  - `updated_at` string, date-time, nullable
  - `modified_by` string, nullable
  - `is_default` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anyreach/apis/anyreach-api.md) - [All operations](https://skmtc.dev/anyreach/apis/anyreach-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anyreach/apis/anyreach-api/revisions/2eddf40c8c93?raw)
