REST API - Cost Estimations

List cost estimations

Changed on
get/cost-estimations

Request

  • Base URL
    https://api.hacktron.ai/v1
  • URL
    https://api.hacktron.ai/v1/cost-estimations
  • Auth
    API key in header X-Api-Key

Query parameters

limitnumber
offsetnumber

Response

totalnumber required

Example response

{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "organization_id": "f336d0bc-b841-465b-8045-024475c079dd",
      "user_id": "f336d0bc-b841-465b-8045-024475c079dd",
      "task_id": "cost_est_owner-repo_12345",
      "status": "completed",
      "repos": [
        {
          "repo_url": "https://github.com/owner/repo",
          "branch": "main",
          "commit_sha": "abc123def456"
        }
      ],
      "total_credits": 8000,
      "repo_results": [
        {
          "repo_url": "https://github.com/owner/repo",
          "branch": "main",
          "commit_sha": "abc123def456",
          "status": "completed",
          "applications": [
            {
              "app_name": "backend-api",
              "app_root_path": "apps/api",
              "architecture": "NestJS REST API with PostgreSQL"
            }
          ],
          "credits": 4000,
          "scoped_file_count": 42
        }
      ],
      "triage_fee_credits": 1600,
      "created_at": "2026-03-10T12:00:00.000Z",
      "updated_at": "2026-03-10T12:05:00.000Z"
    }
  ]
}

Changes

    • warning

      added the new scope_no_match enum value to the //// response property for the response status

    • info

      added the optional property //// to the response with the status