Create A Pool

For Airflow version 1.10.0 and older:

POST /airflow-webserver-<cluster-id>/api/experimental/pools

For Airflow 1.10.2 and later:

POST /airflow-rbacwebserver-<cluster-id>/api/experimental/pools

You can use this API to create a pool.


To run the experimental APIs, you require to have Airflow version 1.10.0 and above.

Required Role

A user with read permission to the cluster can make this API call.


curl -X POST \  https://<ENV><Cluster-ID>/api/experimental/pools \


You need to specify the QDS environment in the above syntax. It works with all the environments described in Supported Qubole Endpoints on Different Cloud Providers.

Sample Query

curl -X POST \ \
  -H "Accept: application/json"
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -d '{"description": "This is a demo pool for qubole",
  "name": "testing_pools", "slots": 2 }'

Sample Response

  "description": "This is a demo pool for qubole",
  "id": 3,
  "pool": "testing_pools",
  "slots": 2