{
  "openapi": "3.0.1",
  "info": {
    "title": "Public API Reproducibility Snapshotter",
    "description": "Fetch bounded public or authorized JSON APIs with GET-only requests, deterministic canonical snapshots, pagination/cache evidence, redacted metadata, and optional baseline comparison. $0.05 per normalized API page.",
    "version": "0.1",
    "x-build-id": "B431ltsxcM0UERtUo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/flintglade~public-api-reproducibility-snapshotter/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-flintglade-public-api-reproducibility-snapshotter",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/flintglade~public-api-reproducibility-snapshotter/runs": {
      "post": {
        "operationId": "runs-sync-flintglade-public-api-reproducibility-snapshotter",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/flintglade~public-api-reproducibility-snapshotter/run-sync": {
      "post": {
        "operationId": "run-sync-flintglade-public-api-reproducibility-snapshotter",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "requests"
        ],
        "properties": {
          "schemaVersion": {
            "title": "Input schema version",
            "minimum": 1,
            "maximum": 1,
            "type": "integer",
            "description": "Input contract version; changing it requires an explicit migration.",
            "default": 1
          },
          "requests": {
            "title": "API page requests",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "Explicit HTTPS JSON API URLs. Each configured page can create one charged event when normalized successfully.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "url": {
                  "title": "URL",
                  "type": "string",
                  "maxLength": 2048,
                  "description": "Explicit public or user-authorized HTTPS JSON endpoint. It triggers bounded GET requests and is retained as redacted provenance."
                },
                "pagination": {
                  "title": "Pagination",
                  "type": "object",
                  "editor": "json",
                  "description": "Optional bounded pagination strategy for this explicit URL.",
                  "additionalProperties": false,
                  "properties": {
                    "mode": {
                      "title": "Mode",
                      "type": "string",
                      "enum": [
                        "none",
                        "linkHeader",
                        "nextUrlField",
                        "pageParameter"
                      ],
                      "default": "none",
                      "description": "Follow only this declared pagination mechanism, at most 20 pages."
                    },
                    "nextUrlJsonPointer": {
                      "title": "Next URL JSON Pointer",
                      "type": "string",
                      "maxLength": 256,
                      "description": "Required for nextUrlField mode; points to the next same-origin URL."
                    },
                    "pageParameter": {
                      "title": "Page query parameter",
                      "type": "string",
                      "maxLength": 64,
                      "description": "Required for pageParameter mode; the Actor starts at page 1 and increments it."
                    },
                    "maxPages": {
                      "title": "Maximum pages",
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 20,
                      "default": 20,
                      "description": "Hard page bound for this request; it affects the maximum possible event count."
                    }
                  }
                }
              },
              "required": [
                "url"
              ]
            }
          },
          "headers": {
            "title": "Optional request headers",
            "maxProperties": 10,
            "type": "object",
            "description": "Optional allowlisted authorization or cache headers. Values are never echoed or logged and can affect source access.",
            "additionalProperties": true
          },
          "volatileJsonPointers": {
            "title": "Volatile JSON Pointers",
            "maxItems": 50,
            "type": "array",
            "description": "Explicit JSON Pointer paths excluded from canonical comparison. Every exclusion is listed in the output manifest.",
            "items": {
              "type": "string",
              "maxLength": 256
            }
          },
          "baselineStoreId": {
            "title": "Named baseline store",
            "type": "string",
            "description": "Optional user-selected Apify key-value store for persistent comparison history. It is required only for persistent monitoring."
          },
          "retainRaw": {
            "title": "Retain raw response",
            "type": "boolean",
            "description": "Whether bounded raw response bytes are retained in run storage; this does not change the event unit.",
            "default": false
          },
          "maxResponseBytes": {
            "title": "Maximum response bytes",
            "minimum": 1000,
            "maximum": 20000000,
            "type": "integer",
            "description": "Compressed and decompressed body bound. Oversized responses are rejected before normalization and are uncharged.",
            "default": 5000000
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Bounded concurrent request entries; lower values reduce load and do not increase the event price.",
            "default": 4
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}