CrawlCheck Reconstruction API

The Reconstruction API from CrawlCheck — 2 operation(s) for reconstruction.

GitHub OpenAPI

Operations 2

POST /api/reconstruction/ci The weekly reconstruction run, callable only by this repository's… #
GET /api/reconstruction The last reconstruction test: the oldest archived records' evidence paths… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/crawlcheck-io:crawlcheck-io-reconstruction-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

crawlcheck-io-reconstruction-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Crawlcheck Io Reconstruction API
  version: '1'
  contact:
    name: CrawlCheck
    url: https://crawlcheck.io/policy
    email: hello@crawlcheck.io
  license:
    name: Terms
    url: https://crawlcheck.io/policy
  x-core-contract:
    promise: 'These operations are the core contract. They stay at /api/v1 and keep answering for at least 180 days after any /api/v2 is announced; their stable fields change only in a new major version, and their provisional fields only after 30 days'' notice, per /docs/api/compatibility. Verifying what they return needs none of these calls: crawlcheck-verify.mjs checks a document on your machine against the published keys (/.well-known/http-message-signatures-directory) and the rotation record, read once with --online or saved for --keys. Everything else documented here is useful but secondary, and may change with the notice its fields'' tags promise.'
    operations:
    - method: GET
      path: /api/v1/resolve
      operationId: resolveDomainV1
    - method: POST
      path: /api/v1/resolve
      operationId: resolveBatchV1
    - method: POST
      path: /api/v1/preflight
      operationId: preflightV1
    - method: GET
      path: /api/v1/decisions/{sha256}
      operationId: decisionCheckV1
    - method: GET
      path: /api/v1/revocations
      operationId: revocations
    - method: GET
      path: /api/v1/visitor
      operationId: visitorResolveV1
    - method: POST
      path: /api/v1/visitor
      operationId: visitorResolveBatchV1
    - method: GET
      path: /api/v1/mcp/scan
      operationId: mcpScanUrl
    - method: POST
      path: /api/v1/mcp/lock/check
      operationId: mcpLockCheck
    list: https://crawlcheck.io/api/v1/core
  description: 'Operations tagged Reconstruction across 2 of this provider''s published API definitions: crawlcheck-io-openapi.json, crawlcheck-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://crawlcheck.io
tags:
- name: Reconstruction
paths:
  /api/reconstruction/ci:
    post:
      operationId: reconstructionCi
      summary: The weekly reconstruction run, callable only by this repository's…
      responses:
        '200':
          description: crawlcheck-reconstruction-ci
          content:
            application/json:
              examples:
                worked:
                  summary: A run in the build harness over three real scans (ages 0 days; the weekly run takes the 20 oldest archived reports). One result shown.
                  value:
                    ok: true
                    kind: crawlcheck-reconstruction-ci
                    v: 1
                    at: '2026-10-02T01:59:32.368Z'
                    run:
                      repository: emmanuelorta/crawlcheck
                      workflow_ref: emmanuelorta/crawlcheck/.github/workflows/reconstruction.yml@refs/heads/main
                      run_id: '123'
                      run_attempt: '1'
                      sha: abc
                      event: schedule
                      url: https://github.com/emmanuelorta/crawlcheck/actions/runs/123
                    green: true
                    records: 3
                    identical: 3
                    mismatched: 0
                    decisions_compared: 19
                    traversals_compared: 6
                    ages_days:
                      min: 0
                      max: 0
                    ids:
                    - 7546o5eicw
                    - iqgrwfesad
                    - n63xwqew60
                    failures:
                    - id: 7546o5eicw
                      why: null
                      first_difference: null
                    - id: iqgrwfesad
                      why: null
                      first_difference: null
                    - id: n63xwqew60
                      why: null
                      first_difference: null
                    results:
                    - id: 7546o5eicw
                      domain: conductor.com
                      age_days: 0
                      projection: present
                      parts: 13
                      decisions: 7
                      bytes: 230423
                      ms: 174
              schema:
                type:
                - object
                - 'null'
                properties:
                  ok:
                    type:
                    - boolean
                    - 'null'
                  kind:
                    type:
                    - string
                    - 'null'
                  v:
                    type:
                    - number
                    - 'null'
                  at:
                    type:
                    - string
                    - 'null'
                  run:
                    type:
                    - object
                    - 'null'
                    properties:
                      repository:
                        type:
                        - string
                        - 'null'
                      workflow_ref:
                        type:
                        - string
                        - 'null'
                      run_id:
                        type:
                        - string
                        - 'null'
                      run_attempt:
                        type:
                        - string
                        - 'null'
                      sha:
                        type:
                        - string
                        - 'null'
                      event:
                        type:
                        - string
                        - 'null'
                      url:
                        type:
                        - string
                        - 'null'
                    additionalProperties: true
                  green:
                    type:
                    - boolean
                    - 'null'
                  records:
                    type:
                    - number
                    - 'null'
                  identical:
                    type:
                    - number
                    - 'null'
                  mismatched:
                    type:
                    - number
                    - 'null'
                  decisions_compared:
                    type:
                    - number
                    - 'null'
                  traversals_compared:
                    type:
                    - number
                    - 'null'
                  ages_days:
                    type:
                    - object
                    - 'null'
                    properties:
                      min:
                        type:
                        - number
                        - 'null'
                      max:
                        type:
                        - number
                        - 'null'
                    additionalProperties: true
                  ids:
                    type:
                    - array
                    - 'null'
                    items:
                      type:
                      - string
                      - 'null'
                  failures:
                    type:
                    - array
                    - 'null'
                    items:
                      type:
                      - object
                      - 'null'
                      properties:
                        id:
                          type:
                          - string
                          - 'null'
                        why: {}
                        first_difference: {}
                      additionalProperties: true
                  results:
                    type:
                    - array
                    - 'null'
                    items:
                      type:
                      - object
                      - 'null'
                      properties:
                        id:
                          type:
                          - string
                          - 'null'
                        domain:
                          type:
                          - string
                          - 'null'
                        age_days:
                          type:
                          - number
                          - 'null'
                        projection:
                          type:
                          - string
                          - 'null'
                        parts:
                          type:
                          - number
                          - 'null'
                        decisions:
                          type:
                          - number
                          - 'null'
                        bytes:
                          type:
                          - number
                          - 'null'
                        ms:
                          type:
                          - number
                          - 'null'
                      additionalProperties: true
                additionalProperties: true
                x-schema-source: worked-example
        '403':
          description: identity not proven
      x-codeSamples:
      - lang: Shell
        label: curl
        source: "# called by .github/workflows/reconstruction.yml with its GitHub OIDC token\ncurl -s -X POST \\\n  -H \"authorization: Bearer $ACTIONS_OIDC_TOKEN\" \\\n  \"https://crawlcheck.io/api/reconstruction/ci?n=20\""
      security:
      - bearer: []
      x-auth: a GitHub Actions OIDC token of this repository's workflow; 403 otherwise
      x-crawlcheck-budget:
        request_body_max: 1048576
      tags:
      - Reconstruction
    servers:
    - url: https://crawlcheck.io
  /api/reconstruction:
    get:
      operationId: reconstructionTest
      summary: 'The last reconstruction test: the oldest archived records'' evidence paths…'
      responses:
        '200':
          description: records, identical, mismatched, per-record parts and the first difference of any mismatch
          content:
            application/json:
              examples:
                worked:
                  summary: 'Produced by the real Worker code in the build harness: three records scanned, every 90-day projection (r:<id>, g:d/g:f/g:m) deleted, the evidence path rebuilt from the archive alone and compared with the path captured before the deletion. Production runs it on the 20 oldest archived records.'
                  value:
                    ok: true
                    kind: crawlcheck-reconstruction-test
                    detail: counts and ages; which records were sampled is shown to the owner
                    v: 1
                    at: '2026-10-01T12:58:33.145Z'
                    records: 3
                    identical: 3
                    mismatched: 0
                    min_age_days: 0
                    oldest_archived: '2026-10-01T12:58:00.028Z'
                    archived_total: 3
                    ms: 140
                    method: 'each record''s evidence path (record, report node, up to 12 decision nodes, manifest node, every verifier check) resolved through the 90-day projections and again with them ignored (archive only: R2 re…'
                    results:
                    - age_days: 0
                      projection: expired
                      parts: 4
                      decisions: 0
                      bytes: 164471
                      ms: 41
                    - age_days: 0
                      projection: expired
                      parts: 4
                      decisions: 0
                      bytes: 159009
                      ms: 35
              schema:
                type:
                - object
                - 'null'
                properties:
                  ok:
                    type:
                    - boolean
                    - 'null'
                  kind:
                    type:
                    - string
                    - 'null'
                  detail:
                    type:
                    - string
                    - 'null'
                  v:
                    type:
                    - number
                    - 'null'
                  at:
                    type:
                    - string
                    - 'null'
                  records:
                    type:
                    - number
                    - 'null'
                  identical:
                    type:
                    - number
                    - 'null'
                  mismatched:
                    type:
                    - number
                    - 'null'
                  min_age_days:
                    type:
                    - number
                    - 'null'
                  oldest_archived:
                    type:
                    - string
                    - 'null'
                  archived_total:
                    type:
                    - number
                    - 'null'
                  ms:
                    type:
                    - number
                    - 'null'
                  method: {}
                  results:
                    type:
                    - array
                    - 'null'
                    items:
                      type:
                      - object
                      - 'null'
                      properties:
                        age_days:
                          type:
                          - number
                          - 'null'
                        projection:
                          type:
                          - string
                          - 'null'
                        parts:
                          type:
                          - number
                          - 'null'
                        decisions:
                          type:
                          - number
                          - 'null'
                        bytes:
                          type:
                          - number
                          - 'null'
                        ms:
                          type:
                          - number
                          - 'null'
                      additionalProperties: true
                additionalProperties: true
                x-schema-source: worked-example
        '404':
          description: not run yet
      x-codeSamples:
      - lang: Shell
        label: curl
        source: curl -s 'https://crawlcheck.io/api/reconstruction'
      security: []
      x-auth: public; no credential read
      tags:
      - Reconstruction
    servers:
    - url: https://crawlcheck.io
components:
  securitySchemes:
    licenceKey:
      type: apiKey
      in: header
      name: x-crawlcheck-key
      description: 'Your licence key: cc_ followed by 32 hex characters. Sent on every keyed call.'
    bearer:
      type: http
      scheme: bearer
      description: The same licence key as a Bearer token. Accepted on /api/v1/* and /api/usage.
externalDocs:
  url: https://crawlcheck.io/docs/api
  description: Human-readable reference
x-refined-from:
- crawlcheck-io-openapi.json
- crawlcheck-io-openapi.yml