Skip to main content
PUT
/
v1
/
chats
/
{chat_id}
Put Chat
curl --request PUT \
  --url https://api.example.com/v1/chats/{chat_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "chat_id": "<string>",
  "messages": [
    {
      "role": "<string>",
      "content": "<string>",
      "timestamp": "<string>",
      "chat_id": "<string>"
    }
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Body

application/json
chat_id
string
required
messages
Message · object[]
required

Response

Successful Response