---
title: "List Conversations Endpoint"
method: GET
path: "/v1/conversations"
tags: ["Conversations"]
---

# List Conversations Endpoint

`GET /v1/conversations`

## Request

- Base URL: `https://api.pharia.example.com`
- URL: `https://api.pharia.example.com/v1/conversations`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/aleph-alpha/apis/stateful-responses/docs/v1/conversations/get.ts> (a function with typed inputs; its response is checked against the schema)

List conversations for the authenticated user.

Admin access: when the caller is an admin, ALL users' conversations are
returned (titles, metadata, timestamps). This is a privileged operation.

## Query parameters

- `limit` integer
- `offset` integer
- `order` string
- `metadata.application` string, nullable
- `include_deleted` boolean: Include soft-deleted conversations. Admin-only; returns 403 for non-admin callers.

## Response `200`

Successful Response

- ConversationListResponse: Paginated response for listing conversations.
  - `object` string
  - `data` ConversationResponse[], required
    - `id` string, required
    - `object` string
    - `metadata` object
    - `created_at` integer, required
    - `updated_at` integer, required
  - `has_more` boolean, required
  - `first_id` string, nullable
  - `last_id` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `413`: Content Too Large
- `422`: Validation errors are returned as 400, not 422. This entry exists because FastAPI generates it automatically.
- `425`: Too Early
- `500`: Internal Server Error
- `501`: Not Implemented
- `502`: Bad Gateway
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/aleph-alpha/apis/stateful-responses.md) - [All operations](https://skmtc.dev/aleph-alpha/apis/stateful-responses/llms.txt) - [OpenAPI document](https://skmtc.dev/aleph-alpha/apis/stateful-responses/revisions/2747297acb54?raw)
