Apps
List session messages
Lists the input/output message exchanges of a session in chronological order.
AuthorizationBearer <token>
Organization or project Access Key created in the Dynamiq console. Used for deployed-app (Runs API), AI Gateway, traces collector, and management API requests. Send as Authorization: Bearer <access-key>.
In: header
Path Parameters
app_id*string
App UUID.
session_id*string
Query Parameters
page?integer
Page number (1-based).
page_size?integer
Number of items per page.
sort?string
Comma-separated sort fields. Prefix a field with - for descending order, e.g. sort=-started_at.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/sessions/string/messages"{
"data": [
{
"id": "9a0b1c2d-3e4f-4a5b-8c6d-7e8f90a1b2c3",
"input": {
"ticket_subject": "Charged twice for June invoice"
},
"output": {
"category": "billing",
"suggested_reply": "Hi! Sorry about the duplicate charge..."
},
"created_at": "2026-06-10T09:15:21Z",
"trace_id": "6e7f8091-a2b3-4c5d-8e6f-708192a3b4c5"
}
],
"pagination": {
"page": 1,
"page_size": 25,
"page_count": 1,
"total_count": 1
}
}{
"error": {
"code": "unauthorized",
"message": "Unauthorized"
}
}{
"error": {
"code": "not_found",
"message": "Not Found"
}
}