Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

List customer-facing AI preview chat logs

GET/v1/ai/agents/{agentID}/preview/logs
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Path parameters
agentIDstringrequired
Query parameters
limitinteger<int64>
Responses
200OK
itemsPreviewChatLog[] | nullrequired
Show properties
Array of PreviewChatLog
agent_responsestringrequired
confidence_scorenumber<double>required
created_atstringrequired
expected_responsestringrequired
feedbackstring
idstringrequired
originstringrequired
run_idstringrequired
session_idstringrequired
statusstringrequired
titlestringrequired
turnsPreviewChatTurn[] | nullrequired
Show properties
Array of PreviewChatTurn
created_atstringrequired
feedbackstring
idstringrequired
rolestringrequired
textstringrequired
updated_atstringrequired
user_messagestringrequired
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X GET "/v1/ai/agents/string/preview/logs"
Response
{
  "items": [
    {
      "agent_response": "string",
      "confidence_score": 0,
      "created_at": "string",
      "expected_response": "string",
      "feedback": "string",
      "id": "string",
      "origin": "string",
      "run_id": "string",
      "session_id": "string",
      "status": "string",
      "title": "string",
      "turns": [
        {
          "created_at": "string",
          "feedback": "string",
          "id": "string",
          "role": "string",
          "text": "string"
        }
      ],
      "updated_at": "string",
      "user_message": "string"
    }
  ]
}