Actions6
Create Document from URL
AI-generatedSummary
Create a document from a URL by extracting and vectorizing its content into a specified collection.
Inputs
- collectionIdForDocument (required) — Collection where the document will be created
- url (required) — URL of the web page to be extracted and vectorized
- chunkOptions — Chunking options for embedding
Output shape
The JSON response from POST /api/documents/link, containing the created document metadata.
The operation returns whatever the MemorAI API resolves for a successful document creation from a URL link.
Examples
Example 1: Create a document from a publicly accessible webpage into a selected collection.
Select a collection via the Collection parameter, provide the target URL, and optionally adjust chunk size/overlap for embedding.