Templates persist across sessions and can be referenced by the AI when drafting new documents (e.g., “draft an NDA using my standard template”). Stored at user or organization scope. Ideal for boilerplate, branded letterheads, recurring document structures, or compliance-required templates. Supports the same formats as document upload: .docx, .pdf, .txt, .rtf, .md. 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