SiteAssist

Get Chat

Gets the chat for the given Chat ID

GET
/customers/{appUserId}/chats/{chatId}
x-siteassist-key<token>

In: header

Path Parameters

appUserIdstring

App User ID

Length1 <= length
chatIdstring

Chat ID

Formatuuid

Response Body

curl -X GET "https://loading/customers/string/chats/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "createdAt": "string",
  "closedAt": "string",
  "status": "open",
  "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
  "humanAgentId": "af3a45f2-8fbc-4405-9fbe-2263c97224e6",
  "closeReason": "string",
  "handoffAt": "string",
  "isHumanHandled": true,
  "lastInterationAt": "string",
  "humanAgent": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "image": "string"
  },
  "messages": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "createdAt": "string",
      "parts": "string",
      "chatId": "f255124e-3419-4f6e-b7ee-17a6577db94d",
      "role": "assistant",
      "humanAgentId": "af3a45f2-8fbc-4405-9fbe-2263c97224e6",
      "feedback": "like",
      "feedbackAt": "string",
      "status": "streaming",
      "error": "string",
      "metadata": "string",
      "pageUrl": "string",
      "humanAgent": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "string",
        "image": "string"
      }
    }
  ]
}
Empty
Empty
Empty
Empty
Empty