Skip to main content
GET
/
document
/
chat
/
{chat_id}
JavaScript
import Morphik from 'morphik';

const client = new Morphik({
  apiKey: 'My API Key',
});

const response = await client.documents.chat.retrieveHistory('chat_id');

console.log(response);
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

authorization
string

Path Parameters

chat_id
string
required

Response

Successful Response