Frontend API
cURL
curl --request GET \ --url https://api.wacht.dev/api/agent/contexts/{id}/messages \ --cookie session_id=
{ "data": [ { "id": "msg_abc123", "role": "user", "content": { "type": "text", "text": "Hello, how can you help?" }, "timestamp": "2024-01-15T10:30:00Z", "metadata": {} } ], "has_more": false }
Retrieve all messages in a conversation context
Session-based authentication using cookies
Context ID
Maximum number of messages to return
1 <= x <= 200
Number of messages to skip
x >= 0
Messages retrieved successfully
List of messages
Show child attributes
Whether there are more messages to fetch
false
Was this page helpful?