Skip to main content
GET
/
chat
Get chats
curl --request GET \
  --url https://api.dev.knowmio.com/api/chat \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "userId": "<string>",
  "organizationId": "<string>",
  "title": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "metadata": {}
}

Authorizations

x-api-key
string
header
required

API key for authentication (lowercase header name)

Query Parameters

id
string

Specific chat ID to retrieve

organizationId
string
required

Organization ID - Required when using API Key authentication. Optional with session authentication (defaults to session's active organization).

Response

Successful response

id
string
required
userId
string
required
organizationId
string
required
title
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
metadata
object