New: Explore the Hacktron Platform for org-wide setup, reviews, billing, and pentests.
curl --request GET \
--url https://api.example.com/cost-estimations/{id}Fetch a cost estimation by ID.
curl --request GET \
--url https://api.example.com/cost-estimations/{id}status reaches a terminal value (completed, partial, or failed).
readcurl "https://api.hacktron.ai/v1/cost-estimations/b4f5c6a1-2d3e-4f56-9a8b-0c1d2e3f4a5b" \
-H "X-Api-Key: $HACKTRON_API_KEY"
| Parameter | Type | Description |
|---|---|---|
id | UUID | The cost estimation UUID. |
200 OK — see Create cost estimation for the response schema.
{
"id": "b4f5c6a1-2d3e-4f56-9a8b-0c1d2e3f4a5b",
"organization_id": "f336d0bc-b841-465b-8045-024475c079dd",
"user_id": "e5a6d7c8-9b0a-1c2d-3e4f-5a6b7c8d9e0f",
"name": "nightly-estimate",
"task_id": "cost_est_acme-backend_1712345678",
"status": "completed",
"repos": [
{
"source": "connected",
"repo_url": "https://github.com/acme/backend",
"branch": "main",
"commit_sha": "abc123def456"
}
],
"total_credits": 4200,
"repo_results": [
{
"repo_url": "https://github.com/acme/backend",
"branch": "main",
"commit_sha": "abc123def456",
"status": "completed",
"from_cache": false,
"credits": 4200,
"applications": [
{
"app_name": "backend-api",
"app_root_path": "apps/api",
"architecture": "NestJS REST API with PostgreSQL"
}
]
}
],
"created_at": "2026-04-13T12:00:00.000Z",
"updated_at": "2026-04-13T12:03:21.000Z"
}
404 — estimation not found or not visible to your organization.