---
title: "List the current user's active conversations across all projects, most-recently-active first, annotated with project name/slug."
method: GET
path: "/ai/conversations"
tags: ["AI Chat"]
---

# List the current user's active conversations across all projects, most-recently-active first, annotated with project name/slug.

`GET /ai/conversations`

## Request

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

## Query parameters

- `status` 'active' | 'archived'
- `scope` 'all' | 'global'
- `page` integer
- `page_size` integer
- `search` string

## Response `200`

- GlobalConversationResponse[]
  - `ai_model` string, required
  - `ai_permission_mode` string, required
  - `ai_provider` string, required
  - `ai_thinking_level` string, nullable
  - `context_id` string, required
  - `context_type` string, required
  - `context_usage` ContextWindowUsageResponse, nullable
    - `estimated` boolean, required
    - `limit_tokens` integer, nullable
    - `model` string, nullable
    - `source` string, required
    - `updated_at` string, required
    - `used_tokens` integer, required
  - `created_at` string, required
  - `failure` ChatFailureResponse, nullable
    - `code` string, required
    - `detail` string, required
    - `retryable` boolean, required
    - `title` string, required
  - `focus_project_id` integer, nullable: The project an assistant chat was started about, if any.
  - `kind` string, required: `"ai"` for an agent conversation, `"terminal"` for a shell thread.
  - `last_activity_at` string, required
  - `project_id` integer, nullable
  - `project_name` string, nullable
  - `project_slug` string, nullable
  - `public_id` string, required
  - `sandbox` ConversationSandboxResponse, nullable: The sandbox a chat is linked to, as the conversation list shows it.
    - `backend` string, nullable: Isolation backend: `docker`, `firecracker` or `microsandbox`. Absent for sandboxes created before the backend was recorded.
    - `name` string, required
    - `sandbox_id` string, required: Public id of the sandbox (`sbx_…`).
  - `status` string, required
  - `title` string, nullable
  - `turn_status` string, required: Server-authoritative lifecycle for the current/most recent turn.
  - `workspace` ConversationWorkspaceResponse, nullable: The workspace a chat is in, as the conversation list shows it.
    - `name` string, required
    - `public_id` string, required: Public id of the workspace (`app_…`).

## Other responses

- `401`
- `403`

## Changes

- **2026-10-23** `7d41b820a372`: 4 info
  - added the new optional `query` request parameter `search`
  - added the optional property `items/focus_project_id` to the response with the `200` status
  - added the optional property `items/sandbox` to the response with the `200` status
  - added the optional property `items/workspace` to the response with the `200` status
- **2026-10-23** `24af93ff5379`: 4 warning
  - deleted the `query` request parameter `search`
  - removed the optional property `items/focus_project_id` from the response with the `200` status
  - removed the optional property `items/sandbox` from the response with the `200` status
  - removed the optional property `items/workspace` from the response with the `200` status
- **2026-10-22** `842d42ed4659`: 4 info
  - added the new optional `query` request parameter `search`
  - added the optional property `items/focus_project_id` to the response with the `200` status
  - added the optional property `items/sandbox` to the response with the `200` status
  - added the optional property `items/workspace` to the response with the `200` status
- **2026-10-22** `1a12a50b75ee`: 4 warning
  - deleted the `query` request parameter `search`
  - removed the optional property `items/focus_project_id` from the response with the `200` status
  - removed the optional property `items/sandbox` from the response with the `200` status
  - removed the optional property `items/workspace` from the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/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)
