---
title: "Get call outcomes and objections for a window"
method: GET
path: "/api/analytics/funnel-insights"
tags: ["Analytics"]
---

# Get call outcomes and objections for a window

`GET /api/analytics/funnel-insights`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/analytics/funnel-insights`
- Auth: API key in cookie `luca.session_token`

Won, lost and not-a-fit call outcomes per channel, plus how often each objection came up, over a rolling window (30 days by default, 1 to 90 allowed).

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Query parameters

- `channel` string
- `windowDays` integer

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- FunnelInsightsResponse
  - `outcomesByChannel` object[], required
    - `channel` string, required
    - `won` number, required
    - `lost` number, required
    - `notAFit` number, required
  - `objectionBuckets` object[], required
    - `bucket` string, required
    - `count` number, required

## Other responses

- `401`: unauthorized
- `429`: rate limited

---

[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)
