APIWorkspace
List or search chats
GET /chats
GET
apiKey connector:readheader
AuthorizationBearer <token>ChatPRD API key from Settings → API Keys, sent as Authorization: Bearer <key>. Read-only keys carry the connector:read scope; read/write keys also carry connector:write. Requires a Pro, Team or Enterprise plan.
Scope: connector:read
q?stringSearch chat titles (1–200 characters).
Length
1 <= length <= 200organizationId?stringClerk organization ID (org_…). Scopes the request to that team workspace instead of the personal workspace.
projectId?stringProject ID, as returned by GET /projects.
limit?integerMaximum number of items to return (1–100). Defaults to 20.
Range
1 <= value <= 100Default
20Chats.
application/json- response
chats*array<>count*integerExample Request
curl -X GET 'https://app.chatprd.ai/api/connectors/v1/chats'Example Response
{ "chats": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "messageCount": 0, "project": { "id": "string", "name": "string" }, "url": "http://example.com" } ], "count": 0}