Get Message History
Authentication
Enter your JWT Token here in the format: Bearer {token}, where the token is a Service Account Token
Query parameters
Start date (UTC 00:00:00 inclusive).
End date (UTC 23:59:59 inclusive).
Enter your JWT Token here in the format: Bearer {token}, where the token is a Service Account Token
Start date (UTC 00:00:00 inclusive).
End date (UTC 23:59:59 inclusive).
Retrieves thread message analytics data as a streamed JSONL file. The response includes message history with input, output, and metadata for each message.
The file is streamed as JSONL (JSON Lines) format with filename message_history_{current_timestamp}.jsonl
See the message history documentation for more details.
JSONL stream of message history. Each line is a JSON object with Input, Response, Message ID, Message Time, Thread ID, and User ID fields.
Important: The 200 Response example displays sample JSON for a single line, but is not indicative of a valid JSONL file. A valid JSONL file contains multiple JSON objects separated by newlines.