360 Secure SkillHub
360 安全技能中心

List Files

该 Skill 调用 PDFAPIHub 的文件列表接口,以 CLIENT-API-KEY 请求头认证,列出该 API 密钥上传的所有文件,返回每个文件的 URL 与创建时间戳,按最新优先排序,可用 limit 参数控制返回数量(1–500,默认 100)。适用于文件管理面板、审计追踪、流程监控与清理前的文件盘点。

rishabhdugar
rishabhdugar
热度 47.07
最近更新 2026-05-11 17:44:07
分类:效率依赖:代码执行 / 第三方 API应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add list-files
Metadata
name
list-files
description
List all files uploaded by this API key. Returns URL and creation timestamp, ordered newest first.

List Files

What It Does

Lists all files uploaded by the authenticated API key. Returns URL and creation timestamp for each file, ordered newest first.

When to Use

  • View all files you've uploaded
  • Find a specific file URL for further processing
  • Check upload history

Required Inputs

None (uses API key to identify owner).

Optional Inputs

  • limit — max number of files (1–500, default 100)

Authentication

Send your API key in the CLIENT-API-KEY header.

Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.

Use Cases

  • File Management Dashboard — Display all uploaded files in a management UI
  • Audit Trail — Review recently uploaded files for auditing purposes
  • Pipeline Monitoring — Check which files have been processed in an automated workflow
  • Cleanup Planning — Review uploaded files before batch deletion

Example Usage

curl -X GET "https://pdfapihub.com/api/v1/file/list?limit=10" \
  -H "CLIENT-API-KEY: your_api_key"