---
title: "GET /ai/usage/conversations"
method: GET
path: "/ai/usage/conversations"
tags: ["AI Gateway Usage"]
---

# GET /ai/usage/conversations

`GET /ai/usage/conversations`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ai/usage/conversations`
- Auth: HTTP bearer

## Query parameters

- `project_id` integer
- `from` string
- `to` string
- `limit` integer
- `user_id` integer
- `tags` string
- `model` string

## Response `200`

Conversation summaries

- ConversationSummary[]
  - `avg_latency_ms` number, double, required
  - `conversation_id` string, required
  - `first_at` string, required
  - `last_at` string, required
  - `message_count` integer, required
  - `models_used` string[], required
  - `total_cost_microcents` integer, required
  - `total_input_tokens` integer, required
  - `total_output_tokens` integer, required
  - `total_tokens` integer, required

## Other responses

- `400`: Invalid query parameters
- `401`: Unauthorized
- `403`: Insufficient permissions

## Changes

- **2026-11-09** `12896146b193`: 3 breaking
  - removed the required property `extensions` from the response with the `400` status
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
- **2026-10-16** `6e7c89bf1ab4`: 1 info
  - added the new optional `query` request parameter `project_id`
- **2026-10-05** `4b228ebed583`: 3 info
  - added the optional property `status` to the response with the `400` status
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
- **2026-10-05** `63a80791dc58`: 3 warning
  - removed the optional property `status` from the response with the `400` status
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `403` status
- **2026-09-23** `f4efc4d5c7b7`: 3 info
  - added the optional property `status` to the response with the `400` status
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/usage/conversations/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
