Insert
Endpoints
Insert
Insert text content into the knowledge base
POST
Insert
Insert text content into Vrin. The content is chunked, facts are extracted (entities, relationships, attributes), and everything is indexed for retrieval.
Insertion is asynchronous — the endpoint returns a
job_id immediately and processes in the background.
Bearer token. Example:
Bearer vrin_live_abc123Text content to insert.
Document title for search results and source attribution.
Tags for categorization.
Arbitrary metadata attached to the document.
Job status polling
After receiving thejob_id, poll the status endpoint:
Job status values
| Status | Description |
|---|---|
pending | Job is queued |
chunking | Splitting content into chunks |
extracting | Extracting facts with LLM |
storing | Writing to graph + vector store |
completed | Processing finished successfully |
failed | Processing failed (see error_details) |