List cost estimations
Copy page
List cost estimations
Returns your organisation’s cost estimations, most recent first. Page through them with offset-based pagination.
Note
Unlike most list endpoints, cost estimations use offset-based pagination (limit and offset) instead of page and limit. Pagination, filtering, and sorting covers the general conventions.
Request
GET /cost-estimations
Send an API key
with the read scope
in the X-Api-Key header.
Query parameters
| Parameter | Description |
|---|---|
limit number | |
offset number |
Responses
200 OK
| Field | Description |
|---|---|
data array of object, required | |
data[]. string, required | Estimation UUID. |
data[]. string, required | Organization UUID. |
data[]. string, required | User UUID. |
data[]. string | Friendly name for this estimation. |
data[]. string, required | Task identifier. |
data[]. string, required | Estimation status. One of pending, running, completed, partial, or failed. |
data[]. array of object, required | Input repositories. |
data[]. string | Source type. One of connected, public, or upload. |
data[]. string | Repository URL. |
data[]. string | Branch name. |
data[]. string | Resolved commit SHA. |
data[]. string | Archive ID (for upload sources). |
data[]. number | Total estimated credits across all repos. |
data[]. array of object | Per-repo estimation results. |
data[]. string, required | Repository URL. |
data[]. string | Branch name. |
data[]. string | Commit SHA. |
data[]. string, required | Result status. One of completed or failed. |
data[]. boolean, required | Whether result was served from cache. |
data[]. array of object | Detected applications. |
data[]. string, required | Application name. |
data[]. string, required | Application root path. |
data[]. string | Architecture description. |
data[]. number | Estimated credits for this repo. |
data[]. string | Error message (when status is failed). |
data[]. string | Structured failure reason. One of unsupported_language or scope_no_match. |
data[]. array of string | Detected unsupported languages among the top languages. |
data[]. number | Files that matched the repository's whitebox scope rules, counted on disk before analysis. Absent for unscoped repositories. |
data[]. string | Error message. |
data[]. boolean, required | 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. |
data[]. number, required | Triage fee in credits (a percentage of the scan base credits) added when triage is enabled. |
data[]. string (date-time), required | Timestamp when estimation was created. |
data[]. string (date-time), required | Timestamp when estimation was last updated. |
total number, required |