Snowflake · Arazzo Workflow

Snowflake Create Stage, Verify, and List Files

Version 1.0.0

Create a named stage, describe it to confirm, then list the files staged in it.

1 workflow 1 source API 1 provider
View Spec View on GitHub SnowflakeDataData WarehouseData LakehouseCloud Data PlatformAnalyticsArtificial IntelligenceData EngineeringData GovernanceSQLApache IcebergMCPT1ArazzoWorkflows

Provider

snowflake

Workflows

create-stage-and-list-files
Create a stage, fetch it to confirm, then list the files in it.
Chains createStage, fetchStage, and listFiles so a stage is provisioned, verified, and inspected, all scoped to the same database and schema.
3 steps inputs: authToken, comment, databaseName, schemaName, stageName, tokenType outputs: confirmedStage, createStatus, files
1
createStage
Create the named stage in the database and schema.
2
fetchStage
Describe the stage to confirm it was created.
3
listFiles
List the files currently staged in the stage.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Snowflake Create Stage, Verify, and List Files
  summary: Create a named stage, describe it to confirm, then list the files staged in it.
  description: >-
    Staging area provisioning and inspection flow. The workflow creates a named
    internal stage, describes it to confirm creation, and lists the files
    currently present in the stage. Each step inlines its Authorization bearer
    token and the X-Snowflake-Authorization-Token-Type header, its create-mode
    query parameter, and its JSON request body where applicable so the chain can
    be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: stageApi
  url: ../openapi/snowflake-stage-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-stage-and-list-files
  summary: Create a stage, fetch it to confirm, then list the files in it.
  description: >-
    Chains createStage, fetchStage, and listFiles so a stage is provisioned,
    verified, and inspected, all scoped to the same database and schema.
  inputs:
    type: object
    required:
    - authToken
    - databaseName
    - schemaName
    - stageName
    properties:
      authToken:
        type: string
        description: Bearer token (KEYPAIR_JWT, OAUTH, or programmatic access token).
      tokenType:
        type: string
        description: Value for the X-Snowflake-Authorization-Token-Type header.
        default: OAUTH
      databaseName:
        type: string
        description: Database that holds the schema and stage.
      schemaName:
        type: string
        description: Schema that holds the stage.
      stageName:
        type: string
        description: Name of the stage to create.
      comment:
        type: string
        description: Optional comment applied to the stage.
  steps:
  - stepId: createStage
    description: Create the named stage in the database and schema.
    operationId: createStage
    parameters:
    - name: database
      in: path
      value: $inputs.databaseName
    - name: schema
      in: path
      value: $inputs.schemaName
    - name: createMode
      in: query
      value: errorIfExists
    - name: Authorization
      in: header
      value: Bearer $inputs.authToken
    - name: X-Snowflake-Authorization-Token-Type
      in: header
      value: $inputs.tokenType
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.stageName
        comment: $inputs.comment
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  - stepId: fetchStage
    description: Describe the stage to confirm it was created.
    operationId: fetchStage
    parameters:
    - name: database
      in: path
      value: $inputs.databaseName
    - name: schema
      in: path
      value: $inputs.schemaName
    - name: name
      in: path
      value: $inputs.stageName
    - name: Authorization
      in: header
      value: Bearer $inputs.authToken
    - name: X-Snowflake-Authorization-Token-Type
      in: header
      value: $inputs.tokenType
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      stageName: $response.body#/name
  - stepId: listFiles
    description: List the files currently staged in the stage.
    operationId: listFiles
    parameters:
    - name: database
      in: path
      value: $inputs.databaseName
    - name: schema
      in: path
      value: $inputs.schemaName
    - name: name
      in: path
      value: $inputs.stageName
    - name: Authorization
      in: header
      value: Bearer $inputs.authToken
    - name: X-Snowflake-Authorization-Token-Type
      in: header
      value: $inputs.tokenType
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      files: $response.body
  outputs:
    createStatus: $steps.createStage.outputs.status
    confirmedStage: $steps.fetchStage.outputs.stageName
    files: $steps.listFiles.outputs.files

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/snowflake-create-stage-and-list-files-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.