Skip to main content
GET
Get sources summary

Authorizations

Authorization
string
header
required

API key from your account settings

Path Parameters

agentId
string
required

The agent ID

Minimum string length: 1
Example:

"5QHA6VB-DIAbBhxwqxfdi"

Response

Sources summary by type

Aggregated stats for link sources

files
object
required

Aggregated stats for file sources

qnas
object
required

Aggregated stats for Q&A sources

notionPages
object
required

Aggregated stats for Notion sources

texts
object
required

Aggregated stats for text sources

zendeskTickets
object
required

Aggregated stats for Zendesk ticket sources. count = total number of ticket IDs tracked

salesforceCases
object
required

Aggregated stats for Salesforce case sources. count = total number of case IDs tracked

shouldRetrain
boolean
required

True when the agent knowledge base requires a retrain to reflect any changes