Copilot

Discard a staged copilot action proposal

The coach's no to a staged action. A proposed reply gets rejected in the review queue, a proposed rescue gets cancelled, and a plan proposal is closed without running. A plan proposal that ended short, failed, or stopped showing progress can be closed too; its step results stay on the card. You'll get a 409 if the proposal was already decided.

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}/discard

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/copilot/threads/{threadId}/actions/{actionId}/discard
  • 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

Response

ok

oktrue required

Changes

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