v3 API referencev3/sessions/session_id/messages
List Messages
Read the messages a session has produced, paged with after, before and limit, for following a run live or diagnosing one afterwards.
List Messages. Send this to your own instance, replacing your-host with the hostname it answers on.
curl -X GET "https://your-host/v3/sessions/{session_id}/messages" \
-H "Authorization: Bearer $OPENBROWSE_API_KEY"Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
session_id*Session Id
Query Parameters
after?string|null
before?string|null
limit?Limit
Range
1 <= value <= 1000Default
100Header Parameters
x-browser-use-api-key?string|null
Response Body
application/json
application/json
curl -X GET "https://example.com/v3/sessions/string/messages"{ "messages": [ { "id": "string", "sessionId": "string", "role": "string", "data": "string", "type": "string", "summary": "string", "screenshotUrl": "string", "hidden": false, "createdAt": "string" } ], "hasMore": true}