Documents
Get Document
Fetch a single document by ID
GET
This endpoint fetches a single document by ID, including metadata and a signed URL for accessing the document.Documentation Index
Fetch the complete documentation index at: https://docs.getomni.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
The unique identifier of the document
Optional. Whether to include the document’s base64-encoded content in the response
Response
Unique identifier for the document
Original filename
MIME type of the document (e.g., “application/pdf”, “image/jpeg”)
File size in bytes
ID of the lead this document belongs to
ID of the workspace this document belongs to
Pre-signed URL for accessing the document (expires after 1 hour)
Base64-encoded document content
ISO 8601 timestamp when the document was created
ISO 8601 timestamp when the document was last updated
Signed URLs expire after 1 hour. Use this API again to get a fresh signed URL.