Snowflake Warehouse API

The warehouse API from Snowflake — 9 operation(s) for warehouse.

Business capability
IT Infrastructure Management BC-600.50

Operations 15

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v2/warehouses Create a virtual warehouse · Create or replace warehouse #
Ask an LLM
“How do I spin up a new compute warehouse?”
“Can I set auto-suspend and a size when creating a warehouse?”
Tell an agent
Create a warehouse named {name} of size {warehouse_size}.
Create warehouse {name} that auto-suspends after {auto_suspend} seconds and scales up to {max_cluster_count} clusters.
GET /api/v2/warehouses List virtual warehouses · List warehouse #
Ask an LLM
“Which virtual warehouses exist in my Snowflake account?”
“Can I filter the list of warehouses by a name pattern?”
Tell an agent
List all the virtual warehouses in the account.
Show warehouses whose names match analytics.
GET /api/v2/warehouses/{name} Describe a warehouse · Describe warehouse #
Ask an LLM
“What size and state is a particular warehouse in right now?”
“How can I see the settings of a single warehouse?”
Tell an agent
Describe warehouse {warehouse}.
Show me the size, state and auto-suspend setting of this warehouse.
DELETE /api/v2/warehouses/{name} Drop a warehouse · Drop warehouse #
Ask an LLM
“How do I permanently remove a virtual warehouse?”
“What happens when I drop a warehouse I no longer use?”
Tell an agent destructive · confirm first
Drop warehouse {warehouse}.
Delete this virtual warehouse from the account.
PUT /api/v2/warehouses/{name} Create or alter a warehouse with full settings · Create a (or alter an existing) warehouse #
Ask an LLM
“Can I change an existing warehouse's settings by sending its full definition?”
“Does altering a warehouse through the PUT call require every property, not just the changed ones?”
Tell an agent
Create or alter warehouse {warehouse} so its size is {warehouse_size}.
Apply the full definition for {name} with statement timeout {statement_timeout_in_seconds} seconds.
POST /api/v2/warehouses/{name}:resume Resume a suspended warehouse · Resume warehouse #
Ask an LLM
“How do I bring a suspended warehouse back to running?”
“Can I start a warehouse so it provisions compute again?”
Tell an agent
Resume warehouse {warehouse}.
Start this suspended warehouse so queries can run.
POST /api/v2/warehouses/{name}:suspend Suspend a running warehouse · Suspend warehouse #
Ask an LLM
“How do I stop a warehouse from burning credits when idle?”
“Can I suspend a warehouse to release its compute nodes?”
Tell an agent
Suspend warehouse {warehouse}.
Put this running warehouse into a suspended state.
POST /api/v2/warehouses/{name}:rename Rename a warehouse · Update and rename warehouse #
Ask an LLM
“How do I give an existing warehouse a new name?”
“Does a new warehouse name need to be unique in the account?”
Tell an agent
Rename warehouse {warehouse} to {name}.
Change the warehouse identifier to {name}.
POST /api/v2/warehouses/{name}:abort Abort all queries on a warehouse · Abort all queries #
Ask an LLM
“How can I kill every running and queued query on a warehouse?”
“Is there a way to clear a warehouse's query queue at once?”
Tell an agent destructive · confirm first
Abort all queries on warehouse {warehouse}.
Cancel every running and queued query on this warehouse.
POST /api/v2/warehouses/{name}:use Set the session's current warehouse · Use current warehouse for session #
Ask an LLM
“How do I make a warehouse the active one for my session?”
“Is the endpoint that sets the current session warehouse deprecated?”
Tell an agent
Use warehouse {warehouse} for my current session.
Make the warehouse I named the active session warehouse.
POST /api/v2/warehouses/{name}:enable Enable an adaptive warehouse · enable adaptive warehouse #
Ask an LLM
“How do I switch an adaptive warehouse to enabled?”
“Can I turn an adaptive warehouse back on after disabling it?”
Tell an agent
Enable adaptive warehouse {warehouse}.
Put this adaptive warehouse into the enabled state.
POST /api/v2/warehouses/{name}:disable Disable an adaptive warehouse · disable adaptive warehouse #
Ask an LLM
“How do I switch off an adaptive warehouse?”
“Can an adaptive warehouse be put into a disabled state?”
Tell an agent
Disable adaptive warehouse {warehouse}.
Put this adaptive warehouse into the disabled state.
POST /api/v2/warehouses/{name}:set-tags Set tags on a warehouse · Set tags on a warehouse #
Ask an LLM
“How do I tag a warehouse for cost allocation?”
“Can I attach a department tag to a warehouse?”
Tell an agent
Set tags on warehouse {warehouse}.
Tag the warehouse I named with our cost center.
POST /api/v2/warehouses/{name}:unset-tags Remove tags from a warehouse · Unset tags from a warehouse #
Ask an LLM
“How can I remove a tag from a warehouse?”
“Can I clear the cost center tag on a warehouse?”
Tell an agent
Unset tags from warehouse {warehouse}.
Remove the department tag from the warehouse I named.
GET /api/v2/warehouses/{name}:get-tags Get tag assignments for a warehouse · Get the tag assignments for a warehouse #
Ask an LLM
“Which tags are assigned to a warehouse?”
“Does checking a warehouse's tags need an active warehouse?”
Tell an agent
Show all tags assigned to warehouse {warehouse}.
List the tag assignments on the warehouse I named.

Documentation

📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/account
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/alert
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/api-integration
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/catalog-integration
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/compute-pool
📖
Documentation
https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst/rest-api
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/cortex-inference
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/cortex-search-service
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/database-role
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/database
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/dynamic-table
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/event-table
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/external-volume
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/function
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/grant
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/iceberg-table
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/image-repository
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/managed-account
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/network-policy
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/notebook
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/notification-integration
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/pipe
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/procedure
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/result
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/role
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/schema
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/service
📖
Documentation
https://docs.snowflake.com/en/developer-guide/sql-api/index
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/stage
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/stream
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/table
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/task
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/user-defined-function
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/user
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/view
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/warehouse

Specifications

Schemas & Data

Other Resources

🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/account-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/alert-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/api-integration-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/catalog-integration-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/compute-pool-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/cortex-analyst-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/cortex-inference-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/cortex-search-service-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/database-role-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/database-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/dynamic-table-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/event-table-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/external-volume-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/function-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/grant-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/iceberg-table-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/image-repository-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/managed-account-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/network-policy-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/notebook-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/notification-integration-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/pipe-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/procedure-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/role-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/schema-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/service-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/sqlapi-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/snowflake-sql-rest-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/stage-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/stream-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/table-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/task-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/user-defined-function-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/user-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/view-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/warehouse-context.jsonld
🔗
Overlay
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/overlays/snowflake-warehouse-overlay.yaml

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/snowflake:snowflake-warehouse-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

snowflake-warehouse-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 0.0.1
  title: Snowflake Warehouse API
  description: The Snowflake Warehouse API is a REST API that you can use to access, customize and manage virtual warehouse in a Snowflake account.
  contact:
    name: Snowflake, Inc.
    url: https://snowflake.com
    email: support@snowflake.com
servers:
- description: Snowflake Warehouse API
  url: https://org-account.snowflakecomputing.com
security:
- KeyPair: []
- ExternalOAuth: []
- SnowflakeOAuth: []
- ProgrammaticAccessToken: []
tags:


# --- truncated at 32 KB (32 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/openapi/snowflake-warehouse-api-openapi.yml