View as Markdown
DigitalOcean Spaces icon

DigitalOcean Spaces ACTION

List Files

List files in a bucket. See the docs.
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's DigitalOcean Spaces account once, then configure and run List Files from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "digitalocean_spaces-list-files",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    digitalocean_spaces: { authProvisionId: "apn_xxxxxxx" },
    bucket: "S3 Bucket Name",
    acl: "ACL",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List Files inputs
Property Type Description
bucket S3 Bucket Name string
The S3 Bucket Name
Required Dynamic
acl ACL string
The canned ACL to apply to the object
Optional
contentType Content Type string
A standard MIME type describing the format of the object data. Eg. text/plain
Optional
metadata Metadata object
A map of metadata to store with the object in S3.
Optional
prefix Prefix string
Limits the response to keys that begin with the specified prefix
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
digitalocean_spaces-list-files
Version
1.0.1
App
DigitalOcean Spaces
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes