capabilities.work

Create Stage, Verify, and List Files

A 3-step recipe with Snowflake. We can help you get access.

Recipe · 3 steps

Create Stage, Verify, and List Files

Create a stage, fetch it to confirm, then list the files in it.

  1. Create the named stage in the database and schema.
  2. Describe the stage to confirm it was created.
  3. List the files currently staged in the stage.
What you'll need to have ready
  • authToken: Bearer token (KEYPAIR_JWT, OAUTH, or programmatic access token).
  • tokenType: Value for the X-Snowflake-Authorization-Token-Type header.
  • databaseName: Database that holds the schema and stage.
  • schemaName: Schema that holds the stage.
  • stageName: Name of the stage to create.
  • comment: Optional comment applied to the stage.
For your developer

Arazzo workflow snowflake:create-stage-and-list-files, 3 operations: createStage → fetchStage → listFiles. Specs on APIs.io.