List session messages
Retrieve all messages for a specific session, including user prompts and assistant responses. Laminar-runtime sessions return the same message shape, projected from the Laminar transcript. If the Laminar transcript exceeds the read limits, the response contains the latest history only and has the header `X-Inspect-Transcript-Truncated: true`.
Retrieve all messages for a specific session, including user prompts and assistant responses. Laminar-runtime sessions return the same message shape, projected from the Laminar transcript. If the Laminar transcript exceeds the read limits, the response contains the latest history only and has the header X-Inspect-Transcript-Truncated: true.
bearerAuth sessions:readAuthorizationBearer <token>API key authentication. Use your API key as the bearer token.
Scope: sessions:read
session_id*stringThe unique identifier of the session
Session messages
application/json- response
data*array<|>meta*curl -X GET 'https://app.inspect.com/api/v2/sessions/h2k9x4m7q1pd/messages'{ "data": [ { "role": "user", "id": "msg_laminar_user_41", "created_at": "2026-10-28T15:42:11.204Z", "source": "automation", "parent_session_id": null, "synthetic": false, "parts": [ { "type": "text", "id": "prt_laminar_seq_44", "text": "The redirect loop came from `requireOnboarding` treating verified users without a workspace as new signups. I added a workspace check and opened acme/web#1842." } ] } ], "meta": { "next_cursor": "eyJ2IjoxLCJzIjoicHVibGlzaGVkX2F0X2Rlc2MiLCJrIjpbZmFsc2UsMTc5MzAyNDQ2NzMzMCwicjVqMWI4dDN5NnFlIl19", "previous_cursor": "eyJ2IjoxLCJzIjoicHVibGlzaGVkX2F0X2Rlc2MiLCJrIjpbZmFsc2UsMTc5MzIwMjEzMTIwNCwieDdrMm05cTRwMXphIl19", "has_next_page": true, "has_previous_page": false }}