Conversations
Get Messages
Get all messages in a conversation
GET
Get Messages
Get Messages
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
AgentFlow is built by ES Consulting — production AI systems, delivered.
Get all messages in a conversation
curl --request GET \
--url https://api.example.com/conversations/{conversation_id}/messages| Parameter | Type | Description |
|---|---|---|
conversation_id | string | Conversation ID |
{
"messages": [
{
"id": "msg_001",
"conversation_id": "conv_abc123",
"role": "user",
"content": "Summarize Q4 sales",
"timestamp": "2026-03-15T10:00:00Z"
},
{
"id": "msg_002",
"conversation_id": "conv_abc123",
"role": "assistant",
"content": "Q4 total revenue was...",
"timestamp": "2026-03-15T10:00:05Z"
}
],
"total": 2,
"limit": 50,
"offset": 0
}
Was this page helpful?
curl --request GET \
--url https://api.example.com/conversations/{conversation_id}/messages