{
  "opencollection": "1.0.0",
  "info": {
    "name": "Import.io Crawlrun API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "_apikey",
      "value": "{{_apikey}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Crawlrun",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List crawl runs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.import.io/crawlruns/",
            "params": [
              {
                "name": "_apikey",
                "value": "",
                "type": "query",
                "description": "Your Import.io API key."
              },
              {
                "name": "_perpage",
                "value": "",
                "type": "query",
                "description": "Number of items to return per page."
              },
              {
                "name": "_page",
                "value": "",
                "type": "query",
                "description": "Page number to return (default 1)."
              },
              {
                "name": "_sort",
                "value": "",
                "type": "query",
                "description": "Field to sort by, e.g. `meta_created_at`."
              },
              {
                "name": "_sortDirection",
                "value": "",
                "type": "query",
                "description": "Sort direction."
              }
            ]
          },
          "docs": "List recent crawl runs with optional filters and pagination."
        },
        {
          "info": {
            "name": "Get crawl run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.import.io/crawlruns/:crawlrunId",
            "params": [
              {
                "name": "crawlrunId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the crawl run."
              },
              {
                "name": "_apikey",
                "value": "",
                "type": "query",
                "description": "Your Import.io API key."
              }
            ]
          },
          "docs": "Retrieve information about a specific crawl run."
        },
        {
          "info": {
            "name": "Get crawl run results file",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.import.io/crawlruns/:crawlrunId/:fileType",
            "params": [
              {
                "name": "crawlrunId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the crawl run."
              },
              {
                "name": "fileType",
                "value": "",
                "type": "path",
                "description": "The file type to download."
              },
              {
                "name": "_apikey",
                "value": "",
                "type": "query",
                "description": "Your Import.io API key."
              }
            ]
          },
          "docs": "Download the result file for a crawl run in the requested format."
        }
      ]
    }
  ],
  "bundled": true
}