Copilot

Retry the steps of a plan proposal that did not succeed

Runs again the steps of a plan proposal that ended short, failed, or stopped showing progress, as the coach who retries. Steps that succeeded stay as they are, and a step whose answer was unclear runs again only on a route with an idempotency key. A run that is still working is left alone. You'll get a 409 if the proposal is waiting for approval, already applied, or closed, or if the revision changed, and a 410 once it expired. Send the revision the coach saw.

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/copilot/threads/{threadId}/actions/{actionId}/retry

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/copilot/threads/{threadId}/actions/{actionId}/retry
  • Auth: API key in cookie luca.session_token

Path parameters

threadIdstring uuid required

Identifier of the thread this operation targets.

actionIdstring uuid required

Identifier of the action 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

revisioninteger required

Response

ok

Changes

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