Voice

Get the spread of the coach's edits to Luca's drafts

Average, median and 90th-percentile edit distance over the edited drafts in the window. With no edited drafts the distances are null, never zero.

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

get/api/voice/edit-distance

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/voice/edit-distance
  • Auth: API key in cookie luca.session_token

Query parameters

daysinteger

The days 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

sampleSizeinteger required
avgDistancenumber nullable required
medianDistancenumber nullable required
p90Distancenumber nullable required
windowDaysinteger required

Changes

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