Agent Runtime

Approve a waiting agent run

post/v1/agent/runs/{run_id}/approve

Request

  • Base URL: https://api.algenta.ai
  • URL: https://api.algenta.ai/v1/agent/runs/{run_id}/approve
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

run_idstring uuid required

Response

Successful Response

run_idstring required
status'running' | 'paused' | 'requires_approval' | 'completed' | 'cancelled' required
taskstring required
output_formatstring required
approval_mode'auto' | 'manual' required
pending_action'resume' | 'approve' nullable
selected_toolstring nullable
tools_availablestring[]
tools_usedstring[]
request_hashstring nullable
decision_hashstring nullable
policy_snapshot_idstring nullable
schema_snapshot_idstring nullable
manifest_versionstring nullable
replayableboolean
artifact_refsstring[]
latest_checkpoint_idstring nullable
checkpoint_countinteger
source_run_idstring nullable
source_checkpoint_idstring nullable
created_atstring date-time required
updated_atstring date-time required
latency_msnumber nullable

Changes

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