Beta · Documentation in progress
API Documentation
Everything you need to ship grounded AI on RagNight — API reference, integration guides, SDKs.
Quickstart
Live in 5 minutes. Upload your first document and run your first search.
API reference
REST endpoints for search, documents, knowledge bases, chat.
Integrations
ChatGPT GPTs, Claude Projects, Notion, Slack, Drive, GitHub, MCP.
Best practices
Chunking strategies, embeddings, eval, security checklists.
Code sample
One curl call away from your knowledge base.
Authenticated with a bearer token. Returns chunks ranked by semantic similarity, with full source attribution so you can cite where each answer came from.
View OpenAPI schema (JSON)
terminal
# Search across all your KBs
curl -X POST https://api.ragnight.com/v1/search \
-H "Authorization: Bearer $RAGNIGHT_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "refund policy",
"limit": 5,
"knowledge_base_ids": ["legal", "support"]
}'
Want a hand getting started?
The full docs site is in active development. In the meantime, our team can walk you through the API, share code samples, and answer any integration questions.