---
title: "Generate (or regenerate) the AI summary for a call event"
method: POST
path: "/api/call-events/{id}/summary"
tags: ["Call events"]
---

# Generate (or regenerate) the AI summary for a call event

`POST /api/call-events/{id}/summary`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/call-events/{id}/summary`
- Auth: one of:
  - API key in cookie `luca.session_token`
  - API key in header `x-api-key`
  - HTTP bearer

Queues a fresh summary and returns straight away. Poll the call event for the result. A summary that already reached the CRM is re-armed, so the new text updates the same note. Repeated clicks inside the same minute collapse into one model call.

**API key scopes:** `call_events:write`. You also need an `Idempotency-Key` header.

## Path parameters

- `id` string, uuid, required

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- CallSummaryTriggerResponse
  - `ok` boolean, required
  - `callEventId` string, required

## Other responses

- `401`: unauthorized
- `404`: not found
- `429`: rate limited
- `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)
