---
title: "List conversations."
method: GET
path: "/api/v1/projects/{projectId}/conversations"
tags: ["Conversations"]
---

# List conversations.

`GET /api/v1/projects/{projectId}/conversations`

## Request

- Base URL: `https://app.customgpt.ai`
- URL: `https://app.customgpt.ai/api/v1/projects/{projectId}/conversations`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/poll-the-people/apis/customgpt-ai/docs/api/v1/projects/:projectId/conversations/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns all conversations for an agent. Each conversation represents a chat session with a user and contains the full message history. Results are paginated and sorted by most recent activity.

## Path parameters

- `projectId` integer, required

## Query parameters

- `page` integer
- `order` 'asc' | 'desc'
- `orderBy` 'id' | 'created_at'
- `userFilter` 'all' | 'anonymous' | 'team_member' | 'me'
- `name` string
- `lastUpdatedAfter` string, date-time, nullable

## Response `200`

List of conversations for an agent

- object
  - `status` 'error' | 'success': The status of the response
  - `data` object
    - `current_page` integer: The page number of this response. The first page is 1.
    - `data` Conversation[]
      - `created_at` string, date-time: When was this conversation created?
      - `updated_at` string, date-time: When was this conversation updated?
      - `deleted_at` string, date-time: When was this conversation deleted?
      - `id` integer: Conversation ID
      - `name` string: Conversation name
      - `project_id` string: Agent ID for this conversation
      - `created_by` string: User ID for the user who created this conversation
      - `session_id` string, uuid: Session ID for this conversation
    - `first_page_url` string: The first page url
    - `from` integer: The first item number of the current page
    - `last_page` integer: Total number of pages available. Pagination is complete when the requested `page` equals `last_page`.
    - `last_page_url` string: The last page url
    - `next_page_url` string: The next page url
    - `path` string: The current page url
    - `per_page` integer: Number of results returned per page.
    - `prev_page_url` string: The previous page url
    - `to` integer: The last item number of the current page
    - `total` integer: The total number of items

## Other responses

- `400`: Bad Argument
- `401`: API Token is either missing or invalid
- `404`: Agent not found
- `429`: Too many requests. You have exceeded your API rate limit.
- `500`: Internal Server Error

## Changes

- **2026-11-03** `77aab4354382`: 4 warning, 2 info
  - added the new `422.00` enum value to the `data/code` response property for the response status `400`
  - added the new `422.00` enum value to the `data/code` response property for the response status `401`
  - added the new `422.00` enum value to the `data/code` response property for the response status `404`
  - added the new `422.00` enum value to the `data/code` response property for the response status `500`
  - …2 more
- **2026-07-17** `b80e6dfcf78d`: 2 warning, 5 info
  - added the new `Agent id is required` enum value to the `data/message` response property for the response status `404`
  - added the new `Agent with id {projectId} not found` enum value to the `data/message` response property for the response status `404`
  - added the new optional `query` request parameter `name`
  - added the new optional `query` request parameter `orderBy`
  - …3 more
- **2023-07-27** `2cd2d58839d0`: 1 info
  - added the non-success response with the status `400`
- **2023-06-20** `ee92d035d652`: 1 warning, 1 info
  - removed the optional property `data/links` from the response with the `200` status
  - added the new optional `query` request parameter `userFilter`
- …earlier changes not shown

[Operation history](https://skmtc.dev/poll-the-people/apis/customgpt-ai/changes/api/v1/projects/:projectId/conversations/get.md)

---

[API](https://skmtc.dev/poll-the-people/apis/customgpt-ai.md) - [All operations](https://skmtc.dev/poll-the-people/apis/customgpt-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/poll-the-people/apis/customgpt-ai/revisions/77aab4354382?raw)
