---
title: "Read a point-in-time pipeline revenue forecast"
method: GET
path: "/api/analytics/forecast"
tags: ["Analytics"]
---

# Read a point-in-time pipeline revenue forecast

`GET /api/analytics/forecast`

## Request

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

A pipeline revenue forecast built from the leads and bookings that are open right now. It's a snapshot, not a series.

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

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- AnalyticsForecastResponse
  - `insufficientData` boolean, required
  - `activeLeads` integer, required
  - `onTrackCents` integer, nullable, required
  - `optimisticCents` integer, nullable, required
  - `conservativeCents` integer, nullable, required
  - `avgDealCents` integer, nullable, required
  - `overallConversionRate` number, nullable, 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)
