Parses the file into structured HTML where every paragraph, heading, table, row, and cell has a unique chunk ID, enabling the AI to make targeted structural edits via chat (“remove row 3 of the pricing table” works). Tables, borders, shading, alternating row colors, fonts, and inline styling are preserved on edit and export. Also works for AI-generated content: if you’ve drafted an outline or partial document in your context, upload it here as the working doc, then use chat to fill in the rest. For files >100KB, prefer request_upload_url (pre-signed URL flow, ships in Phase B) to avoid token bloat from base64 through the agent context. Supported formats: .pdf, .docx, .txt, .rtf, .md, .html, .htm. Max 50 MB.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
JSON request body for base64-encoded file uploads.
Original filename with extension (e.g. 'contract.pdf'). Used for file type detection.
512Base64-encoded file content.
50000000Session ID. Auto-generated if not provided.
256Successful Response