---
title: "Measured vs declared attribution on won leads"
method: GET
path: "/api/leads/reports/attribution-reliability"
tags: ["Leads - Admin"]
---

# Measured vs declared attribution on won leads

`GET /api/leads/reports/attribution-reliability`

The statistic ticket #726 actually asked for.

Not "where did leads come from" — that is the sources report. This answers
"how much of that answer can I trust", by splitting won leads into origins a
salesperson TYPED versus origins the system MEASURED, plus the pre-feature
rows nobody was ever asked about.

Registered above /leads/reports/{...}-style paths and well before
/leads/{lead_id} (defined much later in this module), so the literal path
wins the match.

## Query parameters

- `team_id` integer[]
- `include_no_funnel` boolean — Also match leads with no (or an orphaned) attribution funnel
- `period` string
- `month` string
- `start_date` string
- `end_date` string

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
