Skip to main content
GET
/
projects
/
{id}
/
chats
List chats in a project
curl --request GET \
  --url https://app.generalcounsel.ai/api/external/v1/projects/{id}/chats \
  --header 'Authorization: <api-key>'
{
  "chats": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "title": "<string>",
      "summary": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "has_more": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.gc.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key for authentication. Format: gcai_xxxxxxxxx

Create API keys in the GC AI app under Settings → API.

Path Parameters

id
string<uuid>
required

The project ID

Query Parameters

limit
integer

Max chats to return (default 100, max 500)

Required range: 0 < x <= 500
offset
integer

Number of chats to skip (default 0)

Required range: x >= 0

Response

Paginated list of chats

chats
object[]
required
pagination
object
required