Get Attribution Report
metrx_get_attribution_reportRetrieve an attribution report linking agent actions to business outcomes, showing outcome counts, total values, confidence scores, and top contributors.
Instructions
Get attribution report showing which agent actions led to business outcomes. Shows outcome counts, total values, confidence scores, and top contributing agents. Do NOT use for board-level reporting — use generate_roi_audit for formal audit reports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Optional: filter to specific agent (omit for fleet-wide) | |
| days | No | Number of days to include (default: 30) | |
| model | No | Attribution model preference. Note: the current /api/outcomes endpoint returns outcomes regardless of attribution method, so this is informational only. Canonical enum source: agentledger apps/web/lib/attribution/types.ts. | direct |