{
  "opencollection": "1.0.0",
  "info": {
    "name": "Scrapybara Auth States Instances API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Instances",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Start instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.scrapybara.com/v1/start",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Start a new cloud instance of type ubuntu, browser, or windows."
        },
        {
          "info": {
            "name": "List all instances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.scrapybara.com/v1/instances"
          },
          "docs": "List all instances"
        },
        {
          "info": {
            "name": "Get instance by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.scrapybara.com/v1/instances/:instance_id",
            "params": [
              {
                "name": "instance_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get instance by ID"
        },
        {
          "info": {
            "name": "Stop instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.scrapybara.com/v1/instances/:instance_id/stop",
            "params": [
              {
                "name": "instance_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Terminate the instance and release its resources."
        },
        {
          "info": {
            "name": "Pause instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.scrapybara.com/v1/instances/:instance_id/pause",
            "params": [
              {
                "name": "instance_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Pause the instance, preserving its state for a later resume."
        },
        {
          "info": {
            "name": "Resume instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.scrapybara.com/v1/instances/:instance_id/resume",
            "params": [
              {
                "name": "instance_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Resume a previously paused instance."
        }
      ]
    }
  ],
  "bundled": true
}