{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scrapewise-ai/json-schema/scrapewise-ai-put-api-scraper-group-id-match-export-auto-response-schema.json",
  "title": "PutApiScraperGroupIdMatchExportAutoResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/scrapewise-ai-openapi-generated.yml#/components/schemas/PutApiScraperGroupIdMatchExportAutoResponse",
  "type": "object",
  "properties": {
    "jobId": {
      "type": "string",
      "description": "export job identifier"
    },
    "state": {
      "type": "string",
      "description": "QUEUED | RUNNING | READY | FAILED | EXPIRED"
    },
    "totalRows": {
      "type": "integer",
      "description": "total rows (null while counting)"
    },
    "rowsWritten": {
      "type": "integer",
      "description": "rows written so far"
    },
    "complete": {
      "type": "boolean",
      "description": "whether file ended with incomplete marker"
    },
    "fileName": {
      "type": "string",
      "description": "generated file name"
    },
    "bytes": {
      "type": "integer",
      "description": "size in bytes"
    },
    "queuePosition": {
      "type": "integer",
      "description": "position in queue while QUEUED"
    },
    "errorCode": {
      "type": "string",
      "description": "error code if failed"
    },
    "errorMessage": {
      "type": "string",
      "description": "human‑readable error"
    },
    "pollSeconds": {
      "type": "integer",
      "description": "recommended poll interval"
    },
    "createdAt": {
      "type": "string",
      "description": "ISO timestamp of creation"
    },
    "expiresAt": {
      "type": "string",
      "description": "ISO timestamp of expiry"
    },
    "source": {
      "type": "string",
      "description": "SCRAPED or MATCHED"
    },
    "format": {
      "type": "string",
      "description": "xlsx, csv or jsonl"
    },
    "bucket": {
      "type": "string",
      "description": "all | matched | review | no (matched only)"
    }
  }
}