Call events

Create a call event for a past booking and generate its summary

Creates a call event for a booking that predates automatic creation, then queues its summary. It only works on calls whose time has passed. A future booking returns 409, because there's no conversation to summarize and the summary would be made up. Safe to call twice: an existing call event comes back as is.

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

post/api/call-events/backfill/{bookingId}

Request

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

Path parameters

bookingIdstring uuid required

Identifier of the booking this operation targets.

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.

Response

ok

Changes

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