Amazon S3 · Arazzo Workflow

Amazon S3 Upload and List Objects

Version 1.0.0

Upload an object then list the bucket contents to confirm it appears.

1 workflow 1 source API 1 provider
View Spec View on GitHub ArchiveBackupCloud StorageData StorageObject StorageScalable StorageArazzoWorkflows

Provider

amazon-s3

Workflows

upload-and-list-objects
Put an object then list objects under its prefix.
Writes a single object to a bucket and lists the bucket contents filtered by a prefix to confirm the object is present.
2 steps inputs: bucket, objectBody, objectKey, prefix outputs: etag, firstKey, keyCount
1
putObject
PutObject
Upload the object's binary body to the bucket under the supplied key.
2
listObjects
ListObjectsV2
List the bucket contents filtered to the prefix to confirm the new object is present.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon S3 Upload and List Objects
  summary: Upload an object then list the bucket contents to confirm it appears.
  description: >-
    A common verification flow after writing data to Amazon S3. The workflow
    uploads an object into an existing bucket and then runs ListObjectsV2 with a
    key prefix to confirm the freshly written object shows up in the bucket
    listing. Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: s3RestApi
  url: ../openapi/amazon-s3-rest-api-openapi.yml
  type: openapi
workflows:
- workflowId: upload-and-list-objects
  summary: Put an object then list objects under its prefix.
  description: >-
    Writes a single object to a bucket and lists the bucket contents filtered by
    a prefix to confirm the object is present.
  inputs:
    type: object
    required:
    - bucket
    - objectKey
    - objectBody
    - prefix
    properties:
      bucket:
        type: string
        description: The bucket to write to and list.
      objectKey:
        type: string
        description: The key the object will be stored under.
      objectBody:
        type: string
        description: The raw object payload to upload.
      prefix:
        type: string
        description: The key prefix to filter the listing by.
  steps:
  - stepId: putObject
    description: >-
      Upload the object's binary body to the bucket under the supplied key.
    operationId: PutObject
    parameters:
    - name: Bucket
      in: path
      value: $inputs.bucket
    - name: Key+
      in: path
      value: $inputs.objectKey
    requestBody:
      contentType: application/octet-stream
      payload: $inputs.objectBody
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      etag: $response.header.ETag
  - stepId: listObjects
    description: >-
      List the bucket contents filtered to the prefix to confirm the new object
      is present.
    operationId: ListObjectsV2
    parameters:
    - name: Bucket
      in: path
      value: $inputs.bucket
    - name: list-type
      in: query
      value: 2
    - name: prefix
      in: query
      value: $inputs.prefix
    - name: max-keys
      in: query
      value: 100
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      keyCount: $response.body#/KeyCount
      firstKey: $response.body#/Contents/0/Key
      isTruncated: $response.body#/IsTruncated
  outputs:
    etag: $steps.putObject.outputs.etag
    keyCount: $steps.listObjects.outputs.keyCount
    firstKey: $steps.listObjects.outputs.firstKey

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/amazon-s3-put-object-list-objects-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 email required.

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