AI
List customer-facing AI preview chat logs
GET
/
v1
/
ai
/
agents
/
{agentID}
/
preview
/
logs
List customer-facing AI preview chat logs
curl --request GET \
--url https://api.wazapin.com/v1/ai/agents/{agentID}/preview/logsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/ai/agents/{agentID}/preview/logs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/ai/agents/{agentID}/preview/logs"
response = requests.get(url)
print(response.text){
"items": [
{
"agent_response": "<string>",
"confidence_score": 123,
"created_at": "<string>",
"expected_response": "<string>",
"id": "<string>",
"origin": "<string>",
"run_id": "<string>",
"session_id": "<string>",
"status": "<string>",
"title": "<string>",
"turns": [
{
"created_at": "<string>",
"id": "<string>",
"role": "<string>",
"text": "<string>",
"feedback": "<string>"
}
],
"updated_at": "<string>",
"user_message": "<string>",
"feedback": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
List customer-facing AI preview chat logs
curl --request GET \
--url https://api.wazapin.com/v1/ai/agents/{agentID}/preview/logsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/ai/agents/{agentID}/preview/logs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/ai/agents/{agentID}/preview/logs"
response = requests.get(url)
print(response.text){
"items": [
{
"agent_response": "<string>",
"confidence_score": 123,
"created_at": "<string>",
"expected_response": "<string>",
"id": "<string>",
"origin": "<string>",
"run_id": "<string>",
"session_id": "<string>",
"status": "<string>",
"title": "<string>",
"turns": [
{
"created_at": "<string>",
"id": "<string>",
"role": "<string>",
"text": "<string>",
"feedback": "<string>"
}
],
"updated_at": "<string>",
"user_message": "<string>",
"feedback": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}