---
title: "Answer one Teach Luca question and redraft the example"
method: POST
path: "/api/teach-luca/answer"
tags: ["Teach Luca"]
---

# Answer one Teach Luca question and redraft the example

`POST /api/teach-luca/answer`

## Request

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

Saves one answer and redrafts the stored example DM with the new profile, so the coach watches their reply change because of what they just said. The redraft is best-effort. If the model call fails, `exampleDraft` comes back null and the answer is still saved.

**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

- union
  - object
    - `key` 'offer_and_price', required
    - `offer` string, required
    - `priceBand` 'lt_500' | '500_2k' | '2k_5k' | '5k_plus' | 'rather_not_say', required
    - `priceDetail` string
  - object
    - `key` 'top_objections', required
    - `objections` object[], required
      - `objection` string, required
      - `response` string, required
  - object
    - `key` 'tone_boundaries', required
    - `boundaries` string[], required

## Response `200`

ok

- TeachLucaAnswerResponse
  - `ok` true, required
  - `progress` object, required
    - `offer_and_price` 'pending' | 'answered' | 'skipped'
    - `top_objections` 'pending' | 'answered' | 'skipped'
    - `tone_boundaries` 'pending' | 'answered' | 'skipped'
  - `nextQuestion` 'offer_and_price' | 'top_objections' | 'tone_boundaries' | 'null', nullable, required
  - `answered` integer, required
  - `skipped` integer, required
  - `complete` boolean, required
  - `exampleDraft` 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)
