rag
Rag Ingest
RAG Ingest endpoint - all-in-one document ingestion pipeline.
Supports form upload (for files) or JSON body (for URLs).
Form upload (for files):
curl -X POST "http://localhost:4000/v1/rag/ingest" \
-H "Authorization: Bearer sk-1234" \
-F file="@document.pdf" \
-F 'ingest_options={"vector_store": {"custom_llm_provider": "openai"}}'
JSON body (for URLs):
curl -X POST "http://localhost:4000/v1/rag/ingest" \
-H "Authorization: Bearer sk-1234" \
-H "Content-Type: application/json" \
-d '{
"file_url": "https://example.com/document.pdf",
"ingest_options": {"vector_store": {"custom_llm_provider": "openai"}}
}'
Bedrock:
curl -X POST "http://localhost:4000/v1/rag/ingest" \
-H "Authorization: Bearer sk-1234" \
-F file="@document.pdf" \
-F 'ingest_options={"vector_store": {"custom_llm_provider": "bedrock"}}'
post/rag/ingest
Request
- Base URL: https://apiclaw.biz (the document declares no server; this is the origin it was published from)
- URL: https://apiclaw.biz/rag/ingest
- Auth: API key in header x-litellm-api-key
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.