Repository navigation
docs: folder file limit, Get Upload Limits, SDK upload.limits() and MCP getUploadLimits - #125
Merged
Merged
Conversation
…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.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 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.
obo20
approved these changes
Nov 19, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependencies
GET https://uploads.pinata.cloud/v3/files/limits): live since files-v3 1.152.0 (PinataCloud/files-v3#661).upload.limits()and thefolder()refusal: feat: upload.limits(), and refuse a new folder over the account's folder file limit pinata#109, not released yet. The pages say 2.7.0: change it if the release gets another version, and merge after that release.getUploadLimitsand theuploadFolderrefusal: feat: getUploadLimits tool; uploadFolder describes the folder file limit pinata-mcp#9, not released yet. The pages say pinata-mcp 0.5.0: change it if the release gets another version.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.GET /files/limitsinpinata-api-v3-uploads.yaml(org:files:read,{ data: { folder_max_files } }), and a new Get Upload Limits page under Uploads.sdk/upload/limitspage (pinata.upload.limits()) under Upload. The public and privatefolder()pages get a "Folder file limit" section: the limit, the server's 413, and theValidationError(details.code: "FOLDER_MAX_FILES") thatfolder()throws for a new folder over the limit before sending anything.tools/mcp/tools.mdx):getUploadLimits, plus a new Folder Operations section documentinguploadFolderandlistFolder. Both shipped in pinata-mcp 0.4.0 but were never documented here.Not in this PR:
sdk/usage/*still documentspinata.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 dosdk/upload/limits, the folder page's "Folder file limit" anchor (linked from the limits page) and Folder Limits on the account limits page.