cURL
curl --request GET \ --url https://api.soca.ai/v1/session/chat/{agent_id}/{session_id} \ --header 'private_key: <api-key>'
{ "status": true, "message": "<string>", "data": [ { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "question": "<string>", "answers": [ { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "description": "<string>", "doc_source": [ "<string>" ], "chart": [ {} ], "files": [ "<string>" ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "files": [ "<string>" ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] }
Retrieves the paginated chat history of a specific session for an agent.
The unique identifier of a Soca AI agent created in the Studio.
Identifier of the specific session.
Returns the chat history for the specified session.
Show child attributes