approve_validation
Approve a previewed job to initiate full validation, ensuring the approved cost matches the estimated cost from the preview response to prevent accidental billing.
Instructions
Approve a preview and start full validation processing.
job_id: the session_id value — "job_id" and "session_id" are the same string.
approved_cost_usd MUST be provided and must match the estimated cost from the preview_complete response. This prevents accidental billing without first reviewing preview results and the cost estimate.
Workflow:
Call wait_for_job to reach preview_complete — read the inline preview_table (3-row sample) and cost_estimate.estimated_total_cost_usd from the response
Call approve_validation(job_id=<session_id>, approved_cost_usd=)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Session ID / job ID in preview_complete state to approve for full validation. | |
| approved_cost_usd | No | The estimated cost from the preview_complete response — must match exactly to confirm you reviewed the cost before billing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |