Skip to main content
GET
/
chats
/
{chat_id}
/
messages
get chat messages
curl --request GET \
  --url https://api.example.com/chats/{chat_id}/messages \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "chat_id": "<string>",
      "chat_role": "<string>",
      "message": "<string>",
      "code_mapping_id": "<string>",
      "tools": [
        {
          "id": "<string>",
          "name": "<string>",
          "args": {},
          "is_pending_approval": false
        }
      ],
      "analysis_node_id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Path Parameters

chat_id
string
required

Response

Successful Response

results
ChatMessageSchema · object[]