> ## 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.

# Model Activity

> Per-model usage, cost, latency, outcomes, pricing coverage, and route transitions.

**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`.

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

The response contains `summary`, `models`, and `transitions`. Model rows are per model, `thinking_level`, and provider, and include steps, spend, pricing coverage, p95 provider latency, and non-completion rate. `thinking_level` is `null` when the request did not record one. Transitions include `from_thinking_level` and `to_thinking_level`, and `summary.thinking_level_switches` counts same-model changes in thinking level. Unknown pricing is not treated as free usage.

```bash theme={null}
dari activity models --from 2026-07-01T00:00:00Z --to 2026-07-08T00:00:00Z --status provider_error
```


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