---
title: "Explain why a lead qualified the way it did"
method: GET
path: "/api/leads/{id}/explain"
tags: ["Leads"]
---

# Explain why a lead qualified the way it did

`GET /api/leads/{id}/explain`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/leads/{id}/explain`
- Auth: one of:
  - API key in cookie `luca.session_token`
  - API key in header `x-api-key`
  - HTTP bearer

Why the lead sits at its current score and stage: the signals the qualifier used, and how it weighed them. Read-only, and it won't re-run qualification.

**API key scopes:** `leads:read`.

## Path parameters

- `id` string, uuid, required

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- union
  - object
    - `status` 'explained', required
    - `leadId` string, uuid, required
    - `qualification` unknown, required
    - `confidence` number, required
    - `at` string, required
  - object
    - `status` 'no_reasoning_available', required
    - `leadId` string, uuid, required
    - `reason` 'never_drafted' | 'not_qualified', required

## Other responses

- `401`: unauthorized
- `404`: not found
- `429`: rate limited
- `500`: internal error
- `503`: service unavailable

---

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