Skip to main content
POST
/
chat-history-records
Create a new chat history record
curl --request POST \
  --url http://localhost:8080/api/v1/chat-history-records \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "attributes": {
      "chat_id": 123,
      "name": "<string>",
      "session_id": "<string>",
      "user_id": 123
    },
    "type": "<string>"
  }
}
'
{
  "attributes": {
    "chat_id": 123,
    "name": "<string>",
    "session_id": "<string>",
    "user_id": 123
  },
  "id": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json

Chat History Record Input

Chat History Record input model

data
object

Response

Created

Chat History Record response model

attributes
object
id
string
type
string