Update document
Update a document with any content type (text, url, file, etc.) and metadata
Authorizations
Body
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."
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.
When this document's content is from, as opposed to when it was uploaded. Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves relative dates ('yesterday', 'last quarter') against this instead of the ingestion time, and documents in a batch are processed oldest-first so newer facts correctly supersede older ones. Set this whenever you backfill historical content.
"2025-03-14"