Execution Policy

Update execution policy

Partial update — only supplied fields are changed. Changes take effect immediately for all subsequent executions. Audit logs record every update.

patch/v1/execution/policy

Request

  • Base URL: https://api.algenta.ai
  • URL: https://api.algenta.ai/v1/execution/policy
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

min_confidencenumber nullable

Minimum confidence to allow execution (0–1). Default: 0.5.

risk_floornumber nullable

Maximum tolerable downside loss (absolute). If p5 < -risk_floor the execution is blocked. Set to null to disable the check.

require_calibrationboolean nullable

When true, trigger auto_execute is disabled until the org has ≥5 recorded outcomes. Manual execution is always allowed.

allow_reexecutionboolean nullable

When true, already-executed decisions can fire again without force=true.

Response

Successful Response

org_idstring required
min_confidencenumber required
risk_floornumber nullable required
require_calibrationboolean required
allow_reexecutionboolean required
snapshot_idstring required
content_hashstring required
schema_revisionstring required
revisioninteger required
previous_snapshot_idstring nullable
created_atstring required
updated_atstring required

Changes

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