---
title: "Get Attribution"
method: GET
path: "/api/v1/analytics/attribution"
tags: ["analytics"]
---

# Get Attribution

`GET /api/v1/analytics/attribution`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/analytics/attribution`
- Auth: HTTP bearer

Marketing attribution funnel grouped by UTM source. Admin only.

## Query parameters

- `days` integer

## Headers

- `x-api-key` string, nullable

## Response `200`

Successful Response

- AttributionSummary
  - `period_days` integer, required
  - `sources` UtmSourceData[], required
    - `source` string, required
    - `medium` string, nullable
    - `events` UtmFunnelStep[], required
      - `event_type` string, required
      - `count` integer, required
    - `total` integer, required
  - `total_attributed` integer, required
  - `total_unattributed` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentavow/apis/agentavow-api.md) · [All operations](https://skmtc.dev/agentavow/apis/agentavow-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentavow/apis/agentavow-api/revisions/e1e20476dbfc?raw)
