# Resources

The `resources` array in an Exchange records the configuration used for the call, runtime settings, identifiers, and media references. Use it to inspect the call's settings even if the Assistant has since changed.

## Resource structure

Each resource is a key-value pair with a type indicator:

| Field   | Type     | Description                                                           |
| ------- | -------- | --------------------------------------------------------------------- |
| `key`   | `string` | Identifier for the resource (supports dot notation for nested values) |
| `value` | `any`    | The resource value                                                    |
| `type`  | `string` | Data type, such as `"string"`, `"number"`, `"boolean"`, `"array"`, `"object"`, or `"url"`            |

***

:::info{title="Note"}

The examples record a technical support call over WebRTC. See [Messages](/docs/messages) for its transcript and [Events](/docs/events) for its event timeline.

:::

## Resource categories

### Assistant configuration

These values record the initial Assistant's settings at the time of the call.

| Key                            | Type     | Description                                        |
| ------------------------------ | -------- | -------------------------------------------------- |
| `assistant_id`                 | `string` | UUID of the Assistant                              |
| `assistant_config.llm`         | `string` | The LLM model used (e.g., `"mistral-medium-3-5"`) |
| `assistant_config.temperature` | `number` | LLM temperature setting                            |
| `assistant_config.stt_model`   | `string` | Speech-to-text model used                          |
| `assistant_config.tts_model`   | `string` | Text-to-speech model used                          |
| `assistant_config.tts_voice`   | `string` | TTS voice identifier                               |
| `assistant_config.language`    | `string` | Language code (e.g., `"en-US"`)                    |
| `assistant_config.timezone`    | `string` | Timezone (e.g., `"Europe/Paris"`)                  |

### Dynamic configuration

These values record runtime settings for the call. They may differ from the Assistant's defaults, depending on how the conversation started.

| Key                                 | Type      | Description                                         |
| ----------------------------------- | --------- | --------------------------------------------------- |
| `dynamic_config.assistant_id`       | `string`  | UUID of the Assistant (same as `assistant_id`)      |
| `dynamic_config.connection_type`    | `string`  | Connection method: `"webrtc"` or `"sip"`            |
| `dynamic_config.timezone`           | `string`  | Timezone used for this conversation                 |
| `dynamic_config.language`           | `string`  | Language used for this conversation                 |
| `dynamic_config.first_message`      | `string`  | The Assistant's greeting message                    |

### Media resources

References to media files generated during the conversation.

| Key        | Type  | Description                             |
| ---------- | ----- | --------------------------------------- |
| `audioUrl` | `url` | URL to the conversation audio recording |

## Example: technical support conversation

This excerpt from the [Post-conversation](/docs/post-conversation) example records the Assistant's models and voice, runtime settings, and audio recording URL.

```json
[
  {
    "key": "assistant_id",
    "value": "efc242e6-4aab-4cc5-9a7d-ce7fb0cf0188",
    "type": "string"
  },
  {
    "key": "assistant_config.llm",
    "value": "mistral-medium-3-5",
    "type": "string"
  },
  {
    "key": "assistant_config.temperature",
    "value": 0.3,
    "type": "number"
  },
  {
    "key": "assistant_config.stt_model",
    "value": "voxtral-mini-transcribe-realtime-2602",
    "type": "string"
  },
  {
    "key": "assistant_config.tts_model",
    "value": "chirp-3",
    "type": "string"
  },
  {
    "key": "assistant_config.tts_voice",
    "value": "en-US-Chirp3-HD-Orus",
    "type": "string"
  },
  {
    "key": "assistant_config.language",
    "value": "en-US",
    "type": "string"
  },
  {
    "key": "assistant_config.timezone",
    "value": "Europe/Paris",
    "type": "string"
  },
  {
    "key": "dynamic_config.assistant_id",
    "value": "efc242e6-4aab-4cc5-9a7d-ce7fb0cf0188",
    "type": "string"
  },
  {
    "key": "dynamic_config.connection_type",
    "value": "webrtc",
    "type": "string"
  },
  {
    "key": "dynamic_config.timezone",
    "value": "Europe/Paris",
    "type": "string"
  },
  {
    "key": "dynamic_config.language",
    "value": "en-US",
    "type": "string"
  },
  {
    "key": "dynamic_config.first_message",
    "value": "Hi, welcome to the technical support, how may I assist you today?",
    "type": "string"
  },
  {
    "key": "audioUrl",
    "value": "https://reecall-livekit.s3.eu-west-3.amazonaws.com/281d82f5-a30d-44be-8e66-c35ff2cef718/4111b855-ca91-40f0-897f-93292a09da58/AI%20Technical%20Support_efc242e6-4aab-4cc5-9a7d-ce7fb0cf0188_webrtc_7c09e008-a836-4607-9c59-6336a07368c0.ogg",
    "type": "url"
  }
]
```

### Configuration breakdown

* **LLM**: `mistral-medium-3-5` with temperature `0.3`
* **Speech-to-Text**: `voxtral-mini-transcribe-realtime-2602` for transcribing user speech
* **Text-to-Speech**: `chirp-3` with voice `en-US-Chirp3-HD-Orus`
* **Language**: English (US) with Europe/Paris timezone
* **Connection**: WebRTC (browser-based), not a SIP phone call
* **First Message**: The greeting shown at the start of the [Messages](/docs/messages) transcript

## Usage notes

* The dot notation in keys (e.g., `assistant_config.llm`) represents logical grouping, not actual nested objects
* Resources record the call's configuration and identifiers. Additional keys include `conversation_id`, `room_id`, `channel_id`, `conversation_ended_by`, and `assistant_id.1`, `assistant_id.2`, etc. for the Assistants entered during the call. SIP calls can also include `sip.CallID`.
* The `assistant_config.*` values describe the initial Assistant. Runtime variables marked as secret are omitted from `dynamic_config.*` resources.
* Configuration values here may differ from the current Assistant configuration if the Assistant has been modified since the conversation

## What's next

- [Messages](/docs/messages)
- [Events](/docs/events)
