Apache Drill API

Apache Drill API as documented publicly: 8 operations. Contract generated from the documentation by API Evangelist (2026-11-16); not the provider's own document.

GitHub OpenAPI

Operations 8

GET / GET / #
GET /api/views/vbim-akqf/rows.csv GET /api/views/vbim-akqf/rows.csv #
GET /profiles Generates an HTML page from the data returned by getProfilesJSON with a hyperlink to a detailed query page. #
GET /profiles.json Returns currently running and completed profiles from PStore. #
GET /profiles/cancel/{queryid} Cancels the given query and sends a message. #
GET /query REST API #
GET /spnegoLogin REST API #
POST /storage/myplugin.json POST /storage/myplugin.json #

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/apache-drill:apache-drill-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

apache-drill-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Apache Drill API
  version: '2026-11-16'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-16: 8 operation(s) read from 5 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Apache Drill has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 3
    documentation: 5
    pages-with-code: 3
    pages-read: 5
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-16'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://drill.apache.org/docs/configuring-web-ui-and-rest-api-security
  - https://drill.apache.org/zh/docs/configuring-web-ui-and-rest-api-security
  - https://drill.apache.org/docs/orchestrating-queries-with-airflow
  - https://drill.apache.org/docs/configuring-drill-to-use-spnego-for-http-authentication
  - https://drill.apache.org/docs/configuring-storage-plugins
paths:
  /:
    get:
      operationId: get
      tags:
      - Api
      summary: GET /
      x-source: https://drill.apache.org/docs/configuring-drill-to-use-spnego-for-http-authentication
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl). To configure SPNEGO on the client, a Kerberos Ticket Granting Ticket must exist for the user accessing the web server.\
          \ The Kerberos Ticket Granting Ticket generated on the client side is used by the web client to get a service ticket from the KDC. This\
          \ service ticket is used to generate a SPNEGO token, which is presented to the web server for authentication. \n The client should use\
          \ the same"
  /api/views/vbim-akqf/rows.csv:
    get:
      operationId: get_api_views_vbim_akqf_rows_csv
      tags:
      - Api
      summary: GET /api/views/vbim-akqf/rows.csv
      x-source: https://drill.apache.org/docs/orchestrating-queries-with-airflow
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -s https://data.cdc.gov/api/views/vbim-akqf/rows.csv \\? accessType \\= DOWNLOAD | pv -lSs 1000000 > /tmp/cdc_covid_cases.csvh\n\
          \ You can replace pv -lSs 1000000 above with head -n1000000 , or just drop it if you don’t mind fetching the whole file. Downloading\
          \ the CSV file with a web browser will also get the job done. Note that for a default Drill installation, saving with the file extension\
          \ .cs"
  /profiles:
    get:
      operationId: get_profiles
      tags:
      - Profiles
      summary: Generates an HTML page from the data returned by getProfilesJSON with a hyperlink to a detailed query page.
      x-source: https://drill.apache.org/docs/configuring-web-ui-and-rest-api-security
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProfilesResponse'
      x-evidence:
        kind: documentation
  /profiles.json:
    get:
      operationId: get_profiles_json
      tags:
      - Profiles
      summary: Returns currently running and completed profiles from PStore.
      x-source: https://drill.apache.org/docs/configuring-web-ui-and-rest-api-security
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProfilesJsonResponse'
      x-evidence:
        kind: documentation
  /profiles/cancel/{queryid}:
    get:
      operationId: get_profiles_cancel_queryid
      tags:
      - Profiles
      summary: Cancels the given query and sends a message.
      x-source: https://drill.apache.org/docs/configuring-web-ui-and-rest-api-security
      parameters:
      - name: queryid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProfilesCancelQueryidResponse'
      x-evidence:
        kind: documentation
  /query:
    get:
      operationId: get_query
      tags:
      - Query
      summary: REST API
      x-source: https://drill.apache.org/docs/configuring-drill-to-use-spnego-for-http-authentication
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /spnegoLogin:
    get:
      operationId: get_spnegoLogin
      tags:
      - Spnegologin
      summary: REST API
      x-source: https://drill.apache.org/docs/configuring-drill-to-use-spnego-for-http-authentication
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /storage/myplugin.json:
    post:
      operationId: post_storage_myplugin_json
      tags:
      - Storage
      summary: POST /storage/myplugin.json
      x-source: https://drill.apache.org/docs/configuring-storage-plugins
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostStorageMypluginJsonRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST -H \"Content-Type: application/json\" -d '{\"name\":\"myplugin\", \"config\": {\"type\": \"file\", \"enabled\"\
          : false, \"connection\": \"file:///\", \"workspaces\": { \"root\": { \"location\": \"/\", \"writable\": false, \"defaultInputFormat\"\
          : null}}, \"formats\": null}}' http://localhost:8047/storage/myplugin.json\n This example assumes HTTPS has not been enabled. \n Configuring\
          \ Storage Plugins with a Bootstrap File"
components:
  schemas:
    GetProfilesResponse:
      type: object
      properties:
        text/html:
          type: string
          description: HTML page listing running and completed query profiles.
    GetProfilesJsonResponse:
      type: object
      properties:
        application/json:
          type: string
          description: JSON array of profile objects containing queryId, startTime, foremanAddress, query, user, and state.
    GetProfilesCancelQueryidResponse:
      type: object
      properties:
        text/html:
          type: string
          description: HTML response indicating the cancellation result.
    PostStorageMypluginJsonRequest:
      type: object
      properties:
        name:
          type: string
        config:
          type: object
          properties:
            type:
              type: string
            enabled:
              type: boolean
            connection:
              type: string
            workspaces:
              type: object
              properties:
                root:
                  type: object
                  properties:
                    location:
                      type: string
                    writable:
                      type: boolean
                    defaultInputFormat:
                      type:
                      - string
                      - 'null'
            formats:
              type:
              - string
              - 'null'
tags:
- name: Api
- name: Profiles
- name: Query
- name: Spnegologin
- name: Storage