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:
Documentation Index
Fetch the complete documentation index at: https://docs.emergence.ai/llms.txt
Use this file to discover all available pages before exploring further.
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.
Workflow run ID
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)