---
title: "Read the per-content rollup (leads, qualified, booked, revenue) of attributed touches for a period"
method: GET
path: "/api/analytics/content-attribution"
tags: ["Analytics"]
---

# Read the per-content rollup (leads, qualified, booked, revenue) of attributed touches for a period

`GET /api/analytics/content-attribution`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/analytics/content-attribution`
- Auth: one of:
  - API key in cookie `luca.session_token`
  - API key in header `x-api-key`
  - HTTP bearer

Leads, qualified leads, bookings, and revenue traced back to each piece of content over a period.

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

## Query parameters

- `period` 'this_week' | 'this_month' | 'last_week' | 'last_month' | 'last_30_days'

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- AnalyticsContentAttributionResponse
  - `period` 'this_week' | 'this_month' | 'last_week' | 'last_month' | 'last_30_days', required
  - `window` object, required
    - `cutoff` string, required
    - `until` string, nullable, required
  - `items` object[], required
    - `contentId` string, required
    - `contentType` 'reel' | 'post' | 'story' | 'campaign' | 'manual', required
    - `contentPreview` string, nullable, required
    - `leadCount` integer, required
    - `qualifiedCount` integer, required
    - `bookedCount` integer, required
    - `revenueCents` integer, required

## Other responses

- `401`: unauthorized
- `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)
