Get a document by ID
Documentation Index
Fetch the complete documentation index at: https://supermemory.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successfully retrieved document
Document object
Optional ID of connection the document was created from. This is useful for identifying the source of the document.
22"conn_gdrive_8f2k"
The content to extract and process into a document. This can be a URL to a website, a PDF, an image, or a video.
Plaintext: Any plaintext format
URL: A URL to a website, PDF, image, or video
We automatically detect the content type from the url's response format.
"Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s."
Creation timestamp
"1970-01-01T00:00:00.000Z"
Optional custom ID of the document. This could be an ID from your database that will uniquely identify this document.
255"doc-api-rate-limits"
Unique identifier of the document.
22"acxV5LHMEsG2hMSNb4umbn"
Optional metadata for the document. This is used to store additional information about the document. You can use this to store any additional information you need about the document. Metadata can be filtered through. Keys must be strings and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects.
{ "source": "upload", "language": "en" }Raw content of the document
"Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s."
Source of the document
255"text"
Task type: "memory" (default) for full context layer with SuperRAG built in, "superrag" for managed RAG as a service.
memory, superrag "memory"
Status of the document
unknown, queued, extracting, chunking, embedding, indexing, done, failed "done"
Summary of the document content
"API rate limit policy: 100 req/min free, 1000 req/min pro."
Title of the document
"API Rate Limiting Policy"
Type of the document
text, pdf, tweet, google_doc, google_slide, google_sheet, image, video, audio, notion_doc, webpage, onedrive, github_markdown "text"
Last update timestamp
"1970-01-01T00:00:00.000Z"
Optional tags this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.
URL of the document
"https://docs.example.com/guides/rate-limits"