cURL
curl --request POST \ --url https://app.textql.com/v1/chat/get \ --header 'Authorization: Bearer <token>' \ --header 'Connect-Protocol-Version: <connect-protocol-version>' \ --header 'Content-Type: application/json' \ --data ' { "chatId": "<string>" } '
{ "chat": { "id": "<string>", "paradigm": { "type": "TYPE_UNKNOWN", "version": 123, "options": { "basic": {} } }, "model": "MODEL_UNKNOWN", "timestamp": "2023-11-07T05:31:56Z", "orgId": "<string>", "memberId": "<string>", "summary": "<string>", "playbookId": "<string>", "research": true, "creatorEmail": "<string>", "apiKeyClientId": "<string>", "updatedAt": "2023-11-07T05:31:56Z", "isBookmarked": true, "preferredProvider": "<string>", "templateDataId": "<string>", "batchRunId": "<string>", "preview": "<string>", "dashboardMode": true, "source": "CHAT_SOURCE_UNKNOWN", "methodology": "METHODOLOGY_UNKNOWN" }, "messages": [ { "role": "<string>", "content": "<string>", "createdAt": "2023-11-07T05:31:56Z" } ], "assets": [ { "target": "<string>", "previewType": "<string>", "name": "<string>", "url": "<string>", "content": "<string>", "error": "<string>" } ] }
Retrieve details of a specific chat by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Define the version of the Connect protocol
1
Define the timeout, in ms
Success
Show child attributes