---
title: "Update Ask Luca settings"
method: PATCH
path: "/api/copilot/settings"
tags: ["Copilot"]
---

# Update Ask Luca settings

`PATCH /api/copilot/settings`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/copilot/settings`
- Auth: API key in cookie `luca.session_token`

A merge patch of the coach's Ask Luca preferences. Send only what you're changing. Anything you leave out keeps its current value.

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

## Headers

- `Luca-API-Version` '1'

## Request body

- CopilotSettingsBody
  - `overageEnabled` boolean
  - `overageCapCents` integer, nullable

## Response `200`

ok

- OkResponse
  - `ok` true, required

## Other responses

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