View as Markdown
ImageKit.io icon

ImageKit.io ACTION

Search Files

List all the uploaded files and folders in your ImageKit.io media library. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's ImageKit.io account once, then configure and run Search 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: "imagekit_io-search-files",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    imagekit_io: { authProvisionId: "apn_xxxxxxx" },
    type: "Type",
    sort: "Sort",
  },
})

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.

Search Files inputs
Property Type Description
type Type string
Limit search to one of file, file-version, or folder. Pass all to include files and folders in search results (file-version will not be included in this case).
Required
sort Sort string
The sort of the response.
Optional
path Path string
Folder path if you want to limit the search within a specific folder.
Optional
searchQuery Search Query string
Query string in a Lucene-like query language. Note: When the searchQuery parameter is present, the following query parameters will have no effect on the result: tags, type, name.
Optional
fileType File Type string
Type of files to include in the result set.
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
imagekit_io-search-files
Version
0.0.4
App
ImageKit.io
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes