Skip to main content
Approve or reject a pending write-tool approval

Authorizations

acornops_cp_session
string
cookie
required

Headers

x-acornops-external-user-id
string

Required only for linked external integration requests. Must identify the linked external user.

Required string length: 1 - 128

Path Parameters

runId
string<uuid>
required
Example:

"5e709a9c-2481-4baa-aec2-ca193c50167d"

approvalId
string<uuid>
required
Example:

"0f2e8f75-0d66-4f40-b3d0-f4c4661c43a1"

Body

application/json
decision
enum<string>
required
Available options:
approved,
rejected

Response

Decision recorded. Repeated identical decisions are idempotent.

id
string<uuid>
required
runId
string<uuid>
required
workspaceId
string<uuid>
required
status
enum<string>
required
Available options:
pending,
approved,
rejected,
expired
executionStatus
enum<string>
required
Available options:
not_started,
executing,
succeeded,
failed,
unknown
toolName
string
required
createdAt
string<date-time>
required
expiresAt
string<date-time>
required
workflowId
string<uuid>
executionId
string<uuid>
approvalKind
enum<string>
Available options:
pre_step,
tool_write
targetId
string<uuid>
targetType
enum<string>
Available options:
kubernetes,
virtual_machine
clusterId
string<uuid>
decision
enum<string>
Available options:
approved,
rejected
summary
string

Human-readable, non-authoritative description of the pending write action.

decidedAt
string<date-time>