Dataset Import Checkpoints

Find durable resume offsets and missing row ranges from acknowledged chunks after interrupted dataset imports.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

POST a JSON request to /dataset-import-checkpoints/v1/check with an x402 V2 client.

Worked example

Request

{
  "total_rows": 18,
  "chunks": [
    {
      "start": 0,
      "end": 4,
      "state": "committed"
    },
    {
      "start": 8,
      "end": 12,
      "state": "staged"
    },
    {
      "start": 11,
      "end": 16,
      "state": "committed"
    },
    {
      "start": 3,
      "end": 6,
      "state": "committed"
    }
  ]
}

Result

{
  "resume_at": 6,
  "committed_rows": 11,
  "missing": [
    {
      "start": 6,
      "end": 11
    },
    {
      "start": 16,
      "end": 18
    }
  ]
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter