Appearance
Are you an LLM? You can read better optimized documentation at /platform/embeddings.md for this page in Markdown format
Embeddings (Vector Stores & Files)
Purpose: Build private knowledge bases and attach them to agents for retrieval‑augmented generation (RAG).
Typical flow
- Upload files → PDF, Markdown, text, code, etc.
- Create a Vector Store → choose a name and optionally a chunking strategy and embedding model.
- Add files to the store → embedding runs asynchronously; monitor counts.
- Attach the collection to your agent via Use Embeddings (RAG) in the Agents tab.
- Test in Prompt Studio and verify that the agent cites injected snippets.
API parity
Files:
GET /v1/filesPOST /v1/files(multipart)GET /v1/files/:idDELETE /v1/files/:idGET /v1/files/:id/content
See Files
Vector Stores:
GET /v1/vector_storesPOST /v1/vector_storesGET /v1/vector_stores/:idDELETE /v1/vector_stores/:idGET /v1/vector_stores/:id/filesPOST /v1/vector_stores/:id/filesGET /v1/vector_stores/:id/files/:fileIdPOST /v1/vector_stores/cancel
See Vector Stores
Convenience:
GET /v1/user-collectionsGET /v1/vector_stores/:id/file-details
See Convenience
Diagnostics & Recovery (Mission Squad Core collections):
GET /v1/core/collectionsPOST /v1/core/collections/:collectionName/searchGET /v1/core/collections/:collectionName/diagnosticsPOST /v1/core/collections/:collectionName/recover
See Collections
Tips
- Keep files small and focused when possible for higher‑quality retrieval.
- Use consistent chunking strategy across similar document types.
- Re‑run diagnostics if retrieval quality drops after large data changes.