{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evaboot-com/json-schema/evaboot-com-extraction-detail-out-schema.json",
  "title": "ExtractionDetailOut",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evaboot-com-openapi.json#/components/schemas/ExtractionDetailOut",
  "properties": {
    "search_id": {
      "description": "Identifier of the extraction you requested.",
      "title": "Search Id",
      "type": "string"
    },
    "search_name": {
      "default": "",
      "description": "The name you gave the extraction when you created it.",
      "title": "Search Name",
      "type": "string"
    },
    "status": {
      "default": "",
      "description": "Where the extraction stands. On this response it is `EXECUTED` when the results are complete, or `FAILED` / `PAUSED` when they are not.",
      "title": "Status",
      "type": "string"
    },
    "extraction_type": {
      "default": "",
      "description": "How the extraction was created: `SEARCH`, `LIST`, `UPLOAD` or `SINGLE`.",
      "title": "Extraction Type",
      "type": "string"
    },
    "total_prospects": {
      "default": 0,
      "description": "Number of leads or accounts Sales Navigator reported before scraping. An estimate; use `total_count` for the number of records actually extracted.",
      "title": "Total Prospects",
      "type": "integer"
    },
    "progress": {
      "default": 0,
      "description": "Completion percentage, 0 to 100. `100` once the extraction has finished successfully.",
      "title": "Progress",
      "type": "integer"
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "When the extraction was created (UTC).",
      "title": "Created At"
    },
    "completed_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "When the extraction finished (UTC). `null` if it never finished.",
      "title": "Completed At"
    },
    "failure_reason": {
      "default": "",
      "description": "Short machine-readable reason the extraction did not complete, for example `insufficient_credits`, `auth_error`, `quota_exceeded` or `invalid_urls`. Empty string when the extraction succeeded.",
      "title": "Failure Reason",
      "type": "string"
    },
    "prospects": {
      "default": [],
      "description": "The extracted records, each a mapping of human-readable column names to values: identity, role and tenure, company details, and the email address plus its verification status when enrichment was requested. Which columns are present depends on whether leads or accounts were extracted.",
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "title": "Prospects",
      "type": "array"
    },
    "start": {
      "default": 0,
      "description": "Zero-based index of the first record returned.",
      "title": "Start",
      "type": "integer"
    },
    "limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Page size that was applied, echoing the `limit` you sent. `null` when you did not page and every record was returned.",
      "title": "Limit"
    },
    "returned_count": {
      "default": 0,
      "description": "Number of records in `prospects` on this response.",
      "title": "Returned Count",
      "type": "integer"
    },
    "total_count": {
      "default": 0,
      "description": "Number of records this extraction produced in total, across all pages.",
      "title": "Total Count",
      "type": "integer"
    },
    "has_more": {
      "default": false,
      "description": "Whether records remain after this page. Request the next page with `start` = `start` + `returned_count`.",
      "title": "Has More",
      "type": "boolean"
    }
  },
  "required": [
    "search_id"
  ],
  "type": "object"
}