---
title: "Read the coach's cross-coach benchmark opt-in state"
method: GET
path: "/api/analytics/benchmark-consent"
tags: ["Analytics"]
---

# Read the coach's cross-coach benchmark opt-in state

`GET /api/analytics/benchmark-consent`

## Request

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

Whether the coach has opted into cross-coach benchmarking.

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

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- BenchmarkConsentResponse
  - `status` 'granted' | 'withdrawn' | 'none', required
  - `grantedAt` string, nullable, required
  - `withdrawnAt` string, 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)
