cURL
curl --request GET \ --url https://api.camelai.com/api/v1/threads/{thread_id}/messages \ --header 'Authorization: Bearer <token>'
{ "messages": [ { "id": 123, "created_at": "2023-11-07T05:31:56Z", "source": "UI", "role": "user", "content": "<unknown>", "metadata": "<unknown>" } ], "thread_id": 123, "message_count": 123 }
Retrieve all messages for a specific thread. Messages are returned in chronological order.
API key authentication using Bearer scheme
ID of the thread
Show child attributes
How this message was created
UI
API
MCP
user
assistant
system
tool
hidden
Total number of messages
Was this page helpful?