Skip to content
SolidRusT.ai

API Overview

The SolidRusT AI API provides OpenAI-compatible endpoints for AI inference.

https://api.solidrust.ai/v1
EndpointMethodDescription
/v1/chat/completionsPOSTGenerate chat completions
/v1/embeddingsPOSTCreate text embeddings
/v1/modelsGETList available models
EndpointMethodDescription
/v1/agent/chatPOSTChat with built-in RAG tools + custom tools
/v1/agent/toolsGETList available tool schemas
/v1/agent/healthGETAgent health check
EndpointMethodDescription
/data/v1/query/semanticPOSTSemantic vector search
/data/v1/query/hybridPOSTCombined semantic + knowledge graph
/data/v1/query/knowledge-graphPOSTEntity relationship queries
/data/v1/ingest/documentPOSTIngest single document
/data/v1/ingest/batchPOSTBatch document ingestion

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 endpoints document the Data Layer API (RAG, agent, ingestion). The chat completions and embeddings endpoints follow the standard OpenAI API specification.

See Rate Limits for information about request limits.