List session subagent messages
Retrieve the messages of a subagent of the session, in the same shape as GET /sessions/{session_id}/messages. Returns 404 when the subagent does not belong to the session. If the transcript exceeds the read limits, the response contains the latest history only and has the header `X-Inspect-Transcript-Truncated: true`.
Retrieve the messages of a subagent of the session, in the same shape as GET /sessions/{session_id}/messages. Returns 404 when the subagent does not belong to the session. If the 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
subagent_id*stringThe unique identifier of a subagent of the session
Session messages
application/json- response
data*array<|>meta*curl -X GET 'https://app.inspect.com/api/v2/sessions/h2k9x4m7q1pd/subagents/01M61KAC2XM9S346Q3D25VT4F5/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 }}