PDF format guide
Sample PDF file
One small one-page PDF for testing uploads, downloads, previews and PDF parsing. It opens inline in a browser and its bytes never change. There is only this one PDF, so look elsewhere for multi-page documents, forms or large files. The file is 680 B.
No account or API key is needed. A published v1 file never changes, its SHA-256 is listed in the manifest, and the data is CC0, so you can also commit a copy to your own repository.
application/pdf
Use it
Request an asset
Browser
const response = await fetch("/v1/files/pdf/dataset-summary.pdf");
const payload = await response.arrayBuffer();curl
curl -fsS https://payloads.mochavi.com/v1/files/pdf/dataset-summary.pdfPython
from urllib.request import urlopen
with urlopen("https://payloads.mochavi.com/v1/files/pdf/dataset-summary.pdf") as response:
payload = response.read()Published files
1 stable URL
| Path | Media type | Size |
|---|---|---|
/v1/files/pdf/dataset-summary.pdf | application/pdf | 680 B |
Validate the canonical shape with the dataset schema.
Related guides: File download testing, For coding agents.