> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dari.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Conversations

> List routed conversations and inspect their model steps.

**Authorization** `string` *required*

`Bearer` plus a Management API key.

**from** `string` *required*

RFC 3339 range start, inclusive.

**to** `string` *required*

RFC 3339 range end, exclusive.

**router\_id** `string`

Limit to one router.

**api\_key\_id** `array`

API key ID filter. Repeatable.

**user\_id** `array`

Attributed user ID filter. Repeatable.

**model** `array`

Model ID filter. Repeatable.

**provider** `string`

Provider filter.

**status** `string`

`completed`, `provider_error`, `selector_error`, or `aborted`.

**key\_source** `string`

`user`, `managed`, or `subscription`.

**source\_scope** `string`

`openai_chat`, `openai_responses`, `anthropic_messages`, comma-separated, `all`, or `none`.

**search** `string`

Search conversation identifiers and titles.

**sort\_by** `string` (default: last\_active)

`last_active`, `messages`, `model_steps`, `model_switches`, `spend`, or `tokens`.

**sort\_direction** `string` (default: desc)

`asc` or `desc`.

**limit** `integer` (default: 20)

Maximum conversations.

**offset** `integer` (default: 0)

Conversations to skip.

```bash cURL theme={null}
curl "https://api.dari.dev/v1/organizations/current/routing/activity/conversations?from=2026-07-01T00:00:00Z&to=2026-07-08T00:00:00Z&sort_by=model_switches" \
  -H "Authorization: Bearer $DARI_API_KEY"
```

The response contains `conversations`, `conversation_count`, switch totals, and pagination fields.

## Conversation Detail

```http theme={null}
GET /v1/organizations/{org}/routing/activity/conversations/{conversation_ref}
```

**conversation\_ref** `string` *required*

Conversation identity from the list response.

**limit** `integer` (default: 25)

Maximum model steps.

**offset** `integer` (default: 0)

Steps to skip from the newest end.

```bash theme={null}
dari activity conversations get <conversation_ref>
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.