AI
List AI agents
GET
/
v1
/
ai
/
agents
List AI agents
curl --request GET \
--url https://api.wazapin.com/v1/ai/agentsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/ai/agents', 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"
response = requests.get(url)
print(response.text){
"items": [
{
"actions": {
"enabledCount": 123,
"summary": "<string>",
"totalCount": 123
},
"analytics": {
"agent_id": "<string>",
"avgFirstResponseSeconds": 123,
"blockedRate": 123,
"conversationsResolved": 123,
"csatScore": 123,
"handoffRate": 123,
"knowledge_source_count": 123,
"latest_knowledge_gaps": [
{
"agent_id": "<string>",
"created_at": "<string>",
"id": "<string>",
"query": "<string>",
"reason": "<string>",
"status": "<string>",
"suggested_content": "<string>",
"suggested_title": "<string>"
}
],
"open_issue_count": 123,
"open_knowledge_gap_count": 123,
"pass_rate": 123,
"passed_test_run_count": 123,
"playbook_count": 123,
"summary": "<string>",
"test_run_count": 123,
"last_deployment_at": "<string>",
"latestInspections": [
{
"run_id": "<string>",
"chunk_count": 123,
"chunk_ids": [
"<string>"
],
"created_at": "<string>",
"route": "<string>",
"skill_key": "<string>",
"tools": [
"<string>"
],
"validate_ok": true,
"validate_reason": "<string>"
}
],
"resolutionOutcomes": {}
},
"brief": {
"agent_id": "<string>",
"audience": "<string>",
"business_context": "<string>",
"escalationPolicy": "<string>",
"escalation_policy": {},
"guardrailRules": [
"<string>"
],
"guardrails": {},
"objective": "<string>",
"response_style": {},
"tone": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
},
"channelLabel": "<string>",
"created_at": "<string>",
"default_locale": "<string>",
"deployment": {
"environment": "<string>",
"status": "<string>",
"summary": "<string>",
"versionLabel": "<string>",
"updatedAt": "<string>",
"updatedBy": "<string>"
},
"id": "<string>",
"knowledge": {
"indexedChunks": 123,
"sourceCount": 123,
"summary": "<string>",
"lastIndexedAt": "<string>"
},
"model": "<string>",
"name": "<string>",
"organization_id": "<string>",
"ownerName": "<string>",
"playbooks": {
"activeCount": 123,
"summary": "<string>",
"totalCount": 123
},
"provider": "<string>",
"runtime_mode": "<string>",
"status": "<string>",
"summary": "<string>",
"testing": {
"summary": "<string>",
"latestRun": {
"coverageRate": 123,
"createdAt": "<string>",
"id": "<string>",
"notes": [
"<string>"
],
"score": 123,
"status": "<string>",
"summary": "<string>"
}
},
"updated_at": "<string>",
"created_by": "<string>",
"description": "<string>",
"published_deployment_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>"
}
}Response
OK
Show child attributes
Show child attributes
⌘I
List AI agents
curl --request GET \
--url https://api.wazapin.com/v1/ai/agentsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/ai/agents', 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"
response = requests.get(url)
print(response.text){
"items": [
{
"actions": {
"enabledCount": 123,
"summary": "<string>",
"totalCount": 123
},
"analytics": {
"agent_id": "<string>",
"avgFirstResponseSeconds": 123,
"blockedRate": 123,
"conversationsResolved": 123,
"csatScore": 123,
"handoffRate": 123,
"knowledge_source_count": 123,
"latest_knowledge_gaps": [
{
"agent_id": "<string>",
"created_at": "<string>",
"id": "<string>",
"query": "<string>",
"reason": "<string>",
"status": "<string>",
"suggested_content": "<string>",
"suggested_title": "<string>"
}
],
"open_issue_count": 123,
"open_knowledge_gap_count": 123,
"pass_rate": 123,
"passed_test_run_count": 123,
"playbook_count": 123,
"summary": "<string>",
"test_run_count": 123,
"last_deployment_at": "<string>",
"latestInspections": [
{
"run_id": "<string>",
"chunk_count": 123,
"chunk_ids": [
"<string>"
],
"created_at": "<string>",
"route": "<string>",
"skill_key": "<string>",
"tools": [
"<string>"
],
"validate_ok": true,
"validate_reason": "<string>"
}
],
"resolutionOutcomes": {}
},
"brief": {
"agent_id": "<string>",
"audience": "<string>",
"business_context": "<string>",
"escalationPolicy": "<string>",
"escalation_policy": {},
"guardrailRules": [
"<string>"
],
"guardrails": {},
"objective": "<string>",
"response_style": {},
"tone": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
},
"channelLabel": "<string>",
"created_at": "<string>",
"default_locale": "<string>",
"deployment": {
"environment": "<string>",
"status": "<string>",
"summary": "<string>",
"versionLabel": "<string>",
"updatedAt": "<string>",
"updatedBy": "<string>"
},
"id": "<string>",
"knowledge": {
"indexedChunks": 123,
"sourceCount": 123,
"summary": "<string>",
"lastIndexedAt": "<string>"
},
"model": "<string>",
"name": "<string>",
"organization_id": "<string>",
"ownerName": "<string>",
"playbooks": {
"activeCount": 123,
"summary": "<string>",
"totalCount": 123
},
"provider": "<string>",
"runtime_mode": "<string>",
"status": "<string>",
"summary": "<string>",
"testing": {
"summary": "<string>",
"latestRun": {
"coverageRate": 123,
"createdAt": "<string>",
"id": "<string>",
"notes": [
"<string>"
],
"score": 123,
"status": "<string>",
"summary": "<string>"
}
},
"updated_at": "<string>",
"created_by": "<string>",
"description": "<string>",
"published_deployment_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>"
}
}