Review queue

Replace a pending draft by drafting its turn again

Supersedes the pending draft and restarts the inbound turn it came from as the next attempt. An optional hint tells Luca what to change in the new draft. An approved or sent draft cannot be replaced. Regenerate and retry share a limit of 3 restarts per turn; after that the call fails with 409 drafting_retry_limit.

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

post/api/review-queue/{id}/regenerate

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/review-queue/{id}/regenerate
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Path parameters

idstring uuid required

Identifier of the review queue item 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.

Request body

hintstring

Response

accepted

supersededReviewQueueIdstring uuid required
turnIdstring uuid required
attemptinteger required

Changes

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