# Agent QR > Agent QR turns an uploaded file or pasted text (PDF, DOCX, TXT, Markdown, CSV/TSV, JSON) into a machine-readable representation and a QR code that links to it. Links look like https://agentqr.cf.exaptation.dev/d/ and are meant to be read by AI agents. No account; items expire after 1, 7 or 30 days. ## Reading an item - GET https://agentqr.cf.exaptation.dev/d/ — content-negotiated. Default (no Accept preference, */*) is JSON. Accept: text/markdown gives Markdown, Accept: text/toon gives TOON, Accept: text/html gives a small human page. - GET https://agentqr.cf.exaptation.dev/d/.json — JSON document, schema "agent-qr/v1" - GET https://agentqr.cf.exaptation.dev/d/.md — Markdown with YAML front matter - GET https://agentqr.cf.exaptation.dev/d/.toon — TOON (Token-Oriented Object Notation, spec v4.4, https://github.com/toon-format/spec); compact for tables - Responses carry Link: rel="alternate" headers for all formats. 404 means unknown, expired or deleted. ## JSON schema agent-qr/v1 {schema, id, title, source: {filename, mediaType, bytes, sha256}, createdAt, expiresAt, links: {json, markdown, toon}, content} content.kind is one of: - "text": {format: "plain", text} - "document": {format: "markdown"|"pdf"|"docx", sections: [{heading, level, text}] or for PDF [{page, text}], pageCount?, note?}. PDFs are text-extracted without OCR; note says when pages have no text layer. - "table": {format: "csv", delimiter, columns: [{name, type: integer|number|boolean|string}], rowCount, rows: [{: value|null}]} - "data": {format: "json", data: } The original file is never served; only the extracted representation. ## Creating an item (API) - curl -F file=@report.pdf -F ttl=7 -H 'Accept: application/json' https://agentqr.cf.exaptation.dev/create - curl --data-binary @table.csv -H 'Content-Type: text/csv' -H 'Accept: application/json' 'https://agentqr.cf.exaptation.dev/create?ttl=1' - Response: {id, url, json, markdown, toon, qrSvg, qrPng, expiresAt, deleteToken, deleteUrl} - Delete early: curl -X DELETE -H 'Authorization: Bearer ' https://agentqr.cf.exaptation.dev/d/ - Limits: 10 MB upload, 1 MB extracted output, 20 creations per hour per IP. ## Privacy Anyone with a link can read the item. Do not upload personal or confidential data. Details: https://agentqr.cf.exaptation.dev/privacy