Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url http://localhost:8787/api/v1/campaigns/{campaignId}/attempts/final-summary \ --header 'Authorization: Bearer <token>'
import requests url = "http://localhost:8787/api/v1/campaigns/{campaignId}/attempts/final-summary" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('http://localhost:8787/api/v1/campaigns/{campaignId}/attempts/final-summary', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
Retrieve counts of final call dispositions per contact for a campaign
curl -X GET https://api.agentic-os.com/api/v1/campaigns/770e8400-e29b-41d4-a716-446655440000/attempts/final-summary \ -H "Authorization: Bearer $AGENTIC_OS_API_KEY"
import requests response = requests.get( "https://api.agentic-os.com/api/v1/campaigns/770e8400-e29b-41d4-a716-446655440000/attempts/final-summary", headers={"Authorization": f"Bearer {API_KEY}"}, ) print(response.json())
const response = await fetch( "https://api.agentic-os.com/api/v1/campaigns/770e8400-e29b-41d4-a716-446655440000/attempts/final-summary", { method: "GET", headers: { Authorization: `Bearer ${API_KEY}` }, }, ); const data = await response.json(); console.log(data);
{ "ANSWERED": 32, "NO_ANSWER": 8, "BUSY": 3, "FAILED": 2, "VOICEMAIL": 0 }