Skip to main content
GET
/
chats
List chats
curl --request GET \
  --url https://{subdomain}.withrealm.com/api/external/alpha/chats \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "assistant_id": "<string>",
      "agent_id": "<string>",
      "created": 123,
      "created_date": "<string>",
      "content": "<string>",
      "id": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.withrealm.com/llms.txt

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

Rate Limits

600 requests per minute.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

after_id
number | null

Cursor for pagination. Use this to fetch chats after a specific chat ID.

limit
number | null

Maximum number of chats to return. Defaults to 20 if not specified.

order
enum<string>

Sort order for the chats. 'asc' for oldest first, 'desc' for newest first. Defaults to 'desc'.

Available options:
asc,
desc

Response

Success

object
enum<string>
required
Available options:
list
data
object[]
required