Create Pending Approval
Create a pending approval record for a completed workflow run.
This is typically called automatically when a workflow completes, but can also be called manually to create an approval for a run that doesn’t have one.
Returns:
- 201: Approval created successfully
- 404: Workflow run not found
- 409: Approval already exists for this run
Authorizations
JWT Bearer token authentication. Include the token in the Authorization header as: Authorization: Bearer <token>. The JWT must contain valid client_id, and project_id claims for tenant isolation and SDK routing.
Path Parameters
Workflow run ID
Response
Successful Response
Response for workflow run approval operations.
Unique approval identifier
Workflow run ID
Approval status
"pending"
"approved"
"rejected"
Creation timestamp (ISO 8601)
Last update timestamp (ISO 8601)
Client ID of approver
Approval timestamp (ISO 8601)
Approval notes
Whether this approval was auto-saved (no manual approval step)

