Get a report
Get the numbers behind a question. name: conversations_daily (conversations the AI took part in, per day), handoffs_daily (the conversations the AI handed to the team per day, Agent and person: how many a person answered, how many within the organization's first-reply time and how soon on average, how many still wait, how many closed with nobody answering and how many went back to the AI; filter agentId), booking_details (verified individual creation receipts with patient, specialty, appointments and later recorded cancellations; also requires conversation read/write permission; filter specialty by its recorded code), booking_outcomes (verified saved booking receipts by completion day and integration, excluding tests, imports and deleted conversations; createdCount counts new appointments created by the AI, not confirmations of existing appointments; confirmedCount is its compatibility alias and must not be added again; reschedules, cancellations, failures, pending and unverified results separately), tool_calls_daily (Agent tool calls per day), tool_calls (each call, newest first), assessment_results_daily (assessment results per day), pqrsf_daily (PQRSF classification, confirmed informational resolution and correct referrals from current pqrsf_* facts; unknown and pending analysis remain visible; excludes tests/imports/deleted records), each over days in the organization's time zone (from, to; the last 30 days by default), or campaign_progress. Narrow with agentId, channelType, campaignId or definitionId; unsupported filters fail. At most 1000 rows: hasMore means split the range or filter. Booking outcomes return no partial totals when their evidence scan exceeds its bound. Conversation success and completed tool calls never establish a booking; these are historical receipts, not the provider's current appointment status.
- Scope:
raiz:reports:read - Credentials: an API key, a client-credentials token or a person's access token
- Effect: read-only; safe to retry
- Limits: response up to 1 MB
- CLI:
arbol raiz reports get· MCP tool:raiz_reports_get
https://api.getarbol.com/v1/raiz/reportsAuthorization
Query parameters
- nameconversations_dailyorhandoffs_dailyorpqrsf_dailyortool_calls_dailyortool_callsorbooking_outcomes+3 morerequired
conversations_daily: conversations the AI took part in per day, Agent, channel type and direction, with outcomes and escalations (filtersagentId,channelType).handoffs_daily: the conversations the AI handed to the team, per day of the handoff, Agent and person (who answered first, else the case's owner), with how many were answered, answered in time, still waiting, closed unattended or returned to the AI, and the average seconds to the first answer (filteragentId).booking_details: individual patients and appointments from explicit successful creation receipts, including specialty, paired exams, deduplication, matched patient names and later recorded cancellations; filters agentId and specialty; requires conversation read/write permission too. Historical receipts with created=true, not current provider status or all provider protocols. unverifiedCount covers explicit creations missing a stable patient/slot.booking_outcomes: verified saved booking receipts per completion day, Agent and integration, excluding test/import/deleted conversations; confirmed new bookings, reschedules, cancellations, failed, pending, unverified and duplicate receipts separately (filteragentId). Historical evidence, not current appointment status; hasMore requires splitting the range and returns no partial totals.tool_calls_daily: tool calls per day, Agent and tool with failures/durations (filteragentId).tool_calls: individual calls, never inputs/outputs (filteragentId).assessment_results_daily: assessments per day/definition (filterdefinitionId).pqrsf_daily: classification, confirmed resolution and referral-link counts from the pqrsf_* definitions, including pending/unclassified conversations, excluding tests/imports/deleted records (filtersagentId,channelType); no measured filing reduction is inferred.campaign_progress: recipients by status (filtercampaignId; no dates).
Returns
200
Successful operation.
400
INVALID_INPUT: The request does not match the published schema.REPORT_FILTER_UNSUPPORTED: A filter does not apply to the selected report.REPORT_RANGE_INVALID: The report range is invalid:frommust not be afterto.
401
UNAUTHORIZED: A valid access token is required.
403
FORBIDDEN: The token does not authorize this operation.
429
RATE_LIMITED: The request rate limit was exceeded. Try again later.
500
INTERNAL_ERROR: The service could not complete the operation.
502
OUTCOME_UNKNOWN: The operation may have been applied; check its result before repeating it.
503
UPSTREAM_UNAVAILABLE: The upstream service could not complete the request.INTEGRATIONS_UNAVAILABLE: The organization's integrations cannot be read right now. Try again shortly.