Reject an action-run item

View as Markdown

Rejects a needs-review item with an optional reason; on the generate/fill axis this deletes the parked file and releases its quota.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

projectIdstringRequired
runIdstringRequired
itemIdstringRequired

Request

This endpoint expects an object.
reasonstringOptional
An optional rejection reason.

Response

The rejected item.
itemmap from strings to any

An action-run item projection (one per input).

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error