Skip to content

docs: folder file limit, Get Upload Limits, SDK upload.limits() and MCP getUploadLimits - #125

Merged
lukax merged 2 commits into
mainfrom
docs/upload-limits
Nov 19, 2026
Merged

lukax merged 2 commits into
mainfrom
docs/upload-limits

Conversation

@lukax

@lukax lukax commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Dependencies

What

  • account-management/limits.mdx: a new Folder Limits section. A folder holds at most 30,000 files unless the account has its own limit. A new file sent into a full folder gets HTTP 413 before any byte is sent, and replacing a path the folder already has still works. It shows how to check the limit (API, SDK) and links team@pinata.cloud for a higher one.
  • API reference: GET /files/limits in pinata-api-v3-uploads.yaml (org:files:read, { data: { folder_max_files } }), and a new Get Upload Limits page under Uploads.
  • SDK: a new sdk/upload/limits page (pinata.upload.limits()) under Upload. The public and private folder() pages get a "Folder file limit" section: the limit, the server's 413, and the ValidationError (details.code: "FOLDER_MAX_FILES") that folder() throws for a new folder over the limit before sending anything.
  • MCP (tools/mcp/tools.mdx): getUploadLimits, plus a new Folder Operations section documenting uploadFolder and listFolder. Both shipped in pinata-mcp 0.4.0 but were never documented here.

Not in this PR: sdk/usage/* still documents pinata.usage, which the SDK removed in 2.x. The pages aren't in the navigation and docs.pinata.cloud serves them as 404, so readers can't reach them.

Checks

  • mint openapi-check pinata-api-v3-uploads.yaml: valid.
  • mint broken-links: only the 2 links that were already broken (/files/mpp/self-hosting).
  • mint dev: the Get Upload Limits page renders (Uploads nav, cURL, 200 example), as do sdk/upload/limits, the folder page's "Folder file limit" anchor (linked from the limits page) and Folder Limits on the account limits page.

…and MCP getUploadLimits

- account-management/limits: Folder Limits (30,000 files per folder unless the account has its own limit).
- API reference: GET /v3/files/limits (Get Upload Limits).
- SDK: upload.limits() page; folder() pages document the limit and the FOLDER_MAX_FILES refusal.
- MCP: getUploadLimits tool.
@mintlify

mintlify Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
pinata 🟢 Ready View Preview Nov 19, 2026, 9:45 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

…tures

- tools/mcp/tools: Folder Operations with uploadFolder and listFolder (pinata-mcp 0.4.0).
- getUploadLimits and the uploadFolder limit refusal need pinata-mcp 0.5.0.
@lukax
lukax merged commit a5de98b into main Nov 19, 2026
1 check passed

This branch was successfully deployed

1 active deployment
staging — 80f02942 Deployed Nov 19, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants