List messages
Read normalized durable user, assistant, and system messages in chronological order.
API 2.7.0 · Published service contract ↗
Request
Base URL: https://app.sym.so/v1/workspaces/{workspace_id}
Authentication: bearer. Required scope: messages:read.
GET /agents/{agent_id}/chats/{chat_id}/messages
Read normalized durable user, assistant, and system messages in chronological order.
| Parameter | Type | Description |
|---|---|---|
agent_idpath · required | string | Required agent_id path identifier. |
chat_idpath · required | string | Accessible chat ID. |
limitquery | integer | Page size, maximum 100. |
cursorquery | string | Opaque pagination cursor. |
curl --fail-with-body -X GET "https://app.sym.so/v1/workspaces/$WORKSPACE_ID/agents/$AGENT_ID/chats/$CHAT_ID/messages" \
-H "Authorization: Bearer $SYM_WORKSPACE_API_KEY"{
"worker_id": "worker-example-001",
"org_id": "workspace_example",
"items": [
{
"id": "msg_01J8",
"role": "user",
"sender": {
"id": "user_example",
"name": "Example User"
},
"content": "Prepare the report.",
"status": "completed",
"created_at": "2026-08-04T09:00:00Z"
},
{
"id": "msg_01J9",
"role": "assistant",
"content": "The report is ready.",
"status": "completed",
"created_at": "2026-08-04T09:01:00Z"
}
],
"next_cursor": null,
"ok": true
}Authorization
{
"type": "bearer",
"scope": "messages:read",
"transport": "Authorization: Bearer <workspace_api_key>"
}Errors
| Status | Description |
|---|---|
| 401 | The workspace API key is missing, invalid, expired, or revoked. |
| 403 | The key lacks the required scope or its owner no longer has permission. |
| 404 | The resource is missing or intentionally hidden by authorization. |
| 429 | The key exceeded its current rate limit. |