Munition File Upload (short-10mb tier) is a paid API for AI agents from api.munition.io, paid per call via x402, $0.005/call, status healthy (last checked 2026-09-14, last successful call 2026-09-14).
Creates a presigned S3 upload slot for files up to 10 MB, returning a public URL valid for 7 days, settled via x402 micropayment at $0.005 USDC per upload.
Munition Upload: x402-paid temporary file hosting for AI agents. Buy a presigned upload slot, upload one local file or generated artifact up to 10 MB, and get a public non-guessable files.munition.io link retained for 7 days. Useful for PDFs, screenshots, images, logs, JSON, reports, browser sharing, webhook sharing, and agent-to-human handoff.
A JSON object containing a presigned S3 PUT URL (valid for ~10 minutes), the required upload headers (Content-Type, Content-Length, x-amz-checksum-sha256, etc.), a stable public download URL at files.munition.io, an upload slot ID, and an expiry timestamp 7 days out. The agent must then PUT the actual file bytes to the uploadUrl using the provided uploadHeaders.
POSThttps://api.munition.io/v1/uploadsChoose this endpoint when an AI agent needs to make a file publicly accessible via a stable URL without registering an account or managing API keys — ideal for ephemeral agent outputs (reports, screenshots, JSON blobs) that only need to be shared for up to 7 days. Prefer this over general-purpose cloud storage SDKs when the agent operates anonymously with x402 micropayment settlement and needs a single-call, no-setup workflow.
| Field | Type | Description |
|---|---|---|
| mime | string | MIME type of the file to upload, for example application/pdf, image/png, text/plain, or application/json. |
| size | integer | File size in bytes. The short-10mb tier accepts one file up to 10 MB. |
| tags | array | Optional stable upload tags for categorization. Tags are serialized and returned as an array of strings. |
| tier | string | Upload tier. short-10mb costs 0.005 USDC, accepts one file up to 10 MB, and retains the public link for 7 days. |
| sha256 | string | Lowercase hex-encoded SHA-256 digest of the exact file bytes, used to bind the upload slot to the final file. |
| filename | string | Optional original filename used for a readable public URL slug, for example report.pdf or screenshot.png. |
| sha256Base64 | string | Base64-encoded 32-byte SHA-256 digest of the same file bytes, sent as x-amz-checksum-sha256 during the S3 PUT. |
{
"type": "json",
"example": {
"id": "upl_example",
"tags": [
"agent-output",
"report"
],
"maxSize": 10485760,
"expiresAt": "2026-09-16T19:30:14.538Z",
"publicUrl": "https://files.munition.io/direct/upl_example-agent-report.pdf",
"uploadUrl": "https://s3.example.com/presigned-put",
"uploadMethod": "PUT",
"uploadHeaders": {
"content-type": "application/pdf",
"content-length": "42000",
"x-amz-meta-sha256": "b43cd80a9e6155029135a38c0559aff6696566c431bfb8a9c9433882898247d1",
"x-amz-checksum-sha256": "tDzYCp5hVQKRNaOMBVmv9mllZsQxv7ipyUM4gomCR9E="
},
"uploadUrlExpiresAt": "2026-09-09T19:40:14.540Z"
}
}Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"