Skip to main content
GET
/
chats
list chats
curl --request GET \
  --url https://api.example.com/chats \
  --header 'Authorization: Bearer <token>'
{
  "page": 123,
  "page_size": 123,
  "more": true,
  "total_pages": 123,
  "results": [
    {
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "team_id": "<string>",
      "project": "<string>",
      "user": "<string>",
      "total_messages": 123,
      "code_mapping_id": "<string>",
      "chat_type": "<string>",
      "analysis_node_id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Query Parameters

page
integer | null
default:0
page_size
integer | null
default:20
project_id
string | null
project_slug
string | null
code_mapping_id
string | null
analysis_node_id
string | null
chat_type
enum<string> | null
Available options:
code,
analysis
order_by
enum<string>
default:updated_at
Available options:
created_at,
updated_at
order
enum<string>
default:desc
Available options:
desc,
asc

Response

Successful Response

page
integer
required
page_size
integer
required
more
boolean
required
total_pages
integer
required
results
ChatSchema · object[]