agent-analytics

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-agent-analytics"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/a3dc307a-6afa-4eca-b081-6d5334e76eb0/social-card.svg?v=3e7ae33eec8b" alt="agent-analytics" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/agent-analytics/topicsScope insight:read

Parameters

project_idstringpathrequired
fromstringquery
tostringquery
agentstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/agent-analytics/topics"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 topics by conversations; SDK topics win over LLM labels
Example
{
  "data": [
    {
      "conversations": 0,
      "negative_feedback_pct": 0,
      "rage_pct": 0,
      "resolved_pct": 0,
      "topic": "string",
      "unresolved_pct": 0,
      "use_case": "string",
      "users": 0
    }
  ],
  "unlabeled": 0
}
Schema
dataTopicRow[]required
Show child parameters
conversationsintegerrequired
negative_feedback_pctnumberrequired
rage_pctnumberrequired
resolved_pctnumberrequired
topicstringrequired
unresolved_pctnumberrequired
use_casestring
usersinteger
null when no conversation of the topic has a person.
unlabeledintegerrequired
Conversations with neither an SDK topic nor a label yet.
400
404
503
POSThttps://lucidace.com/v1/projects/{project_id}/agent-analytics/topics/runScope insight:write

Parameters

project_idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/agent-analytics/topics/run"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

202 topic labeling runs for this project now (skipped quietly when AI is off)
Example
{
  "queued": true
}
Schema
queuedbooleanrequired
404
503
Updated