curl --request GET \
--url https://api.tryfuse.ai/api/v1/business/analytics/agents \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.tryfuse.ai/api/v1/business/analytics/agents"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.tryfuse.ai/api/v1/business/analytics/agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"range": "30d",
"agents": {
"totals": {
"totalAgents": 6,
"activeAgents": 4,
"totalProspects": 480,
"peopleProspects": 310,
"companyProspects": 170
},
"byType": [
{
"monitorType": "job_postings",
"listType": "company",
"agentCount": 2,
"prospects": 170,
"maxContacts": 500
},
{
"monitorType": "person_starting_new_job",
"listType": "people",
"agentCount": 4,
"prospects": 310,
"maxContacts": 1000
}
],
"byStatus": [
{
"status": "active",
"count": 4
},
{
"status": "paused",
"count": 2
}
],
"prospectsOverTime": [
{
"date": "08/23",
"people": 0,
"companies": 0
},
{
"date": "08/24",
"people": 12,
"companies": 5
},
{
"date": "08/25",
"people": 9,
"companies": 2
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Agents analytics roll-up
Signal-agent (watcher) performance for the token owner’s team, proxied from the agents service: totals (agents, active agents, prospects found split into people and companies), a breakdown by agent kind and list type, a breakdown by agent status (active, paused, initializing, expired, …) and the prospects-found series (daily MM/DD buckets up to 31 days, ISO-week buckets labelled by their Monday for 90d). Only agents created inside the window are counted, together with the prospects those agents delivered. byType[].monitorType is the engine’s own agent slug and is coarser than the type used to create agents: several slugs map to one public type. Rate limit: 20 requests per minute, 1000 per day.
Errors:
422VALIDATION_FAILED—rangewas sent and is not one of 7d, 30d or 90d.429RATE_LIMITED— Per-user quota for this endpoint family exceeded (20 per minute, 1000 per day); retry after the Retry-After / RateLimit-Reset seconds.
Requires one of the following token scopes: analytics.
curl --request GET \
--url https://api.tryfuse.ai/api/v1/business/analytics/agents \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.tryfuse.ai/api/v1/business/analytics/agents"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.tryfuse.ai/api/v1/business/analytics/agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"range": "30d",
"agents": {
"totals": {
"totalAgents": 6,
"activeAgents": 4,
"totalProspects": 480,
"peopleProspects": 310,
"companyProspects": 170
},
"byType": [
{
"monitorType": "job_postings",
"listType": "company",
"agentCount": 2,
"prospects": 170,
"maxContacts": 500
},
{
"monitorType": "person_starting_new_job",
"listType": "people",
"agentCount": 4,
"prospects": 310,
"maxContacts": 1000
}
],
"byStatus": [
{
"status": "active",
"count": 4
},
{
"status": "paused",
"count": 2
}
],
"prospectsOverTime": [
{
"date": "08/23",
"people": 0,
"companies": 0
},
{
"date": "08/24",
"people": 12,
"companies": 5
},
{
"date": "08/25",
"people": 9,
"companies": 2
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Authorizations
Your API token (af_…) as the Basic-auth username, with an empty password.
Query Parameters
Rolling window ending now: 7d, 30d (default) or 90d, i.e. the roll-up covers the last 7, 30 or 90 days; time-series bucket sizes (daily, weekly, monthly) are chosen from the window length.
7d, 30d, 90d