cURL
curl --request GET \ --url https://api.devin.ai/v3/enterprise/sessions/{devin_id}/messages \ --header 'Authorization: Bearer <token>'
{ "items": [ { "created_at": 123, "event_id": "<string>", "message": "<string>", "source": "devin" } ], "end_cursor": "<string>", "has_next_page": false, "total": 123 }
List all messages for a session with cursor-based pagination, ordered chronologically.
ViewAccountSessions
Service User credential (prefix: cog_)
Show child attributes
Successful Response
Cursor to fetch the next page, or None if this is the last page.
Whether there are more items available after this page.
Optional total count (can be omitted for performance).