cURL
curl --request GET \ --url https://{subdomain}.withrealm.com/api/external/alpha/chats/{chat_id} \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "content": "<string>", "role": "user" } ], "first_id": "<string>", "last_id": "<string>", "has_more": true, "agent_id": "<string>", "assistant_id": "<string>" }
Get a stored chat’s messages.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
Show child attributes
The ID of the agent for this chat.
Deprecated. Use agent_id instead.