{
  "opencollection": "1.0.0",
  "info": {
    "name": "CARTO Platform Jobs SQL API",
    "version": "3"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "SQL",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Run a synchronous SQL query against a connection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gcp-us-east1.api.carto.com/v3/sql/:connection/query",
            "params": [
              {
                "name": "connection",
                "value": "",
                "type": "path",
                "description": "Name of the data warehouse connection configured in CARTO"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "The SQL statement to execute"
              },
              {
                "name": "format",
                "value": "",
                "type": "query"
              },
              {
                "name": "filename",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Run a synchronous SQL query against a connection"
        },
        {
          "info": {
            "name": "Run a synchronous SQL query (POST)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gcp-us-east1.api.carto.com/v3/sql/:connection/query",
            "params": [
              {
                "name": "connection",
                "value": "",
                "type": "path",
                "description": "Name of the data warehouse connection configured in CARTO"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Run a synchronous SQL query (POST)"
        }
      ]
    }
  ],
  "bundled": true
}