Downloads or scrapes content from a URL and ingests it into the user’s IP Vault via RAG. The URL is validated against SSRF in non-dev mode. When an institution is provided, the user’s membership is verified before proceeding.
JWT token passed in x-access-token header
URL to download and ingest content from
"https://example.com/document.pdf"
Whether the content is confidential. Only applied when institution is provided; ignored for personal uploads.
When true, scrapes webpage content. When false, downloads the file directly.
Institution ID to associate the upload with. Must match the user's institution for regular users.
"6631915765bb0a94cfd6ca99"
Course context for the upload history record
Assistant ID for the upload history record (used as fallback if selectedCourse.assistant._id is not set)
"6856fa89cbafcff8d98680f5"