Estimate the credit cost of scanning one or more repositories before starting a scan.
completed or partial cost estimation with a positive total_credits value is required before calling POST /scans.
Cost estimations run asynchronously. The POST returns a record in pending or running state; poll GET /cost-estimations/{id} until status reaches completed, partial, or failed.
writeid as cost_estimation_id to POST /scans to start the scan. The scan must use repositories and branches that were included in the estimate.Estimation UUID
"123e4567-e89b-12d3-a456-426614174000"
Organization UUID
"f336d0bc-b841-465b-8045-024475c079dd"
User UUID
"f336d0bc-b841-465b-8045-024475c079dd"
Task identifier
"cost_est_owner-repo_12345"
Estimation status
pending, running, completed, partial, failed "completed"
Input repositories
Whether human triage is mandatory for a scan of this estimation (large app, above the predicted-cost threshold). The customer cannot opt out when true.
false
Triage fee in credits (a percentage of the scan base credits) added when triage is enabled
1600
Timestamp when estimation was created
"2026-03-10T12:00:00.000Z"
Timestamp when estimation was last updated
"2026-03-10T12:05:00.000Z"
Friendly name for this estimation
Total estimated credits across all repos
8000
Per-repo estimation results
Error message