cURL
curl --request GET \ --url http://localhost:8000/v2/workspaces/{workspace_id}/sessions/{session_id}/messages/{message_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "content": "<string>", "peer_id": "<string>", "session_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "workspace_id": "<string>", "token_count": 123, "metadata": {} }
Get a Message by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace
ID of the session
ID of the message to retrieve
Successful Response