Returns persisted messages for one conversation, ordered from oldest to newest. The conversation must belong to the authenticated agent.
api.heroui.pro/v1/agents/{agentId}/conversations/{id}/messagesSend the request to see the live response from the Agents API.
A workspace API key with the permission required by the operation. It may target any active Agent in its workspace.
In: header
The resource identifier.
The Agent targeted by this workspace API key request.
The maximum number of objects to return. Defaults to 20 and is capped at 100.
1 <= value <= 10020An opaque cursor returned by the previous page.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/agents/string/conversations/string/messages"{ "data": [ { "created_at": "2019-08-24T14:15:22Z", "id": "string", "object": "message", "parts": [ null ], "role": "assistant", "source_id": "string", "updated_at": "2019-08-24T14:15:22Z" } ], "has_more": true, "next_cursor": "string", "object": "list"}