Skip to content
SolidRusT.ai

API Overview

The SolidRusT AI API provides OpenAI-compatible endpoints for AI inference, RAG (Retrieval-Augmented Generation), document ingestion, and tool-enabled agent interactions.

https://api.solidrust.ai
EndpointMethodDescription
/v1/chat/completionsPOSTGenerate chat completions (OpenAI-compatible)
/v1/embeddingsPOSTCreate text embeddings (bge-m3, 1024-dim)
/v1/modelsGETList available models
EndpointMethodDescription
/v1/agent/chatPOSTChat with built-in RAG + memory tools
/v1/agent/toolsGETList all available tool schemas (6 tools)
/v1/agent/healthGETAgent and LLM provider health check
EndpointMethodDescription
/data/v1/query/semanticPOSTSemantic vector search
/data/v1/query/keywordPOSTFull-text keyword search (MeiliSearch)
/data/v1/query/hybridPOSTCombined semantic + graph with entity extraction
/data/v1/query/knowledge-graphPOSTEntity relationship queries (legacy)
EndpointMethodDescription
/data/v1/query/graphPOSTTraverse graph from an entity
/data/v1/query/graph/searchPOSTSearch entities by name
/data/v1/query/graph/entity/{name}GETGet entity by exact name
/data/v1/query/graph/documentsPOSTGraph traversal + Milvus document resolution
EndpointMethodDescription
/data/v1/ingest/documentPOSTIngest single document (idempotent)
/data/v1/ingest/batchPOSTBatch document ingestion (idempotent)
EndpointMethodDescription
/data/v1/sourcesGETList available data sources
/data/v1/statsGETKnowledge base statistics

All requests must include:

  • Content-Type: application/json header
  • Authorization: Bearer YOUR_API_KEY header
  • JSON request body (for POST requests)
Terminal window
curl https://api.solidrust.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "vllm-primary",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'

All responses are JSON objects. Successful responses include the requested data. Error responses follow a standard format:

{
"error": {
"message": "Description of the error",
"type": "error_type",
"code": "error_code"
}
}

Interactive API documentation is available:

These provide the Data Layer API specification (RAG, agent, ingestion, graph). The chat completions and embeddings endpoints follow the standard OpenAI API specification.

See Rate Limits for information about request limits.