Teach Luca

Answer one Teach Luca question and redraft the example

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.

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

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Request body

OR
OR

Response

ok

oktrue required
nextQuestion'offer_and_price' | 'top_objections' | 'tone_boundaries' | 'null' nullable required
answeredinteger required
skippedinteger required
completeboolean required
exampleDraftstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.