Chats
Retrieve a chat
Retrieve a specific chat and its messages.
GET
/
chats
/
{chat}
Copy
curl --request GET \
--url https://api.vectorify.ai/v1/chats/{chat} \
--header 'Api-Key: <api-key>'
Copy
{
"data": {
"id": "<string>",
"name": "<string>",
"tenant": 123,
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"avatar": "<string>",
"created_at": "<string>"
},
"created_at": "<string>",
"messages": [
{
"id": "<string>",
"chat_id": "<string>",
"role": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"avatar": "<string>",
"created_at": "<string>"
},
"text": "<string>",
"text_html": "<string>",
"identifier": "<string>",
"feedback": "<string>",
"created_at": "<string>"
}
]
}
}
Authorizations
Path Parameters
The chat ID
Response
200
application/json
Chat
The response is of type object
.
Was this page helpful?
Copy
curl --request GET \
--url https://api.vectorify.ai/v1/chats/{chat} \
--header 'Api-Key: <api-key>'
Copy
{
"data": {
"id": "<string>",
"name": "<string>",
"tenant": 123,
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"avatar": "<string>",
"created_at": "<string>"
},
"created_at": "<string>",
"messages": [
{
"id": "<string>",
"chat_id": "<string>",
"role": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"avatar": "<string>",
"created_at": "<string>"
},
"text": "<string>",
"text_html": "<string>",
"identifier": "<string>",
"feedback": "<string>",
"created_at": "<string>"
}
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.