API Reference
Welcome to the Siraya AI API Reference. Our APIs are designed to be simple, standardized, and powerful, allowing you to integrate world-class AI capabilities into your applications with minimal effort.
Core APIs
| API | Description |
|---|---|
| LLM Model API | Chat completions and reasoning with global LLM providers. |
| Generative Model API | Unified endpoints for images, videos, and audio. |
| Embeddings API | High-performance vector embeddings for search and RAG. |
| Rerank API | Semantic document ranking for superior search accuracy. |
Advanced Engine APIs
| API | Description |
|---|---|
| Search Engine API | Real-time web search and intelligence. |
| Extract Engine API | Clean content extraction from unstructured web pages. |
| Batch Processing API | Efficient asynchronous bulk processing at 50% cost. |
Compatibility Layers
We provide full protocol compatibility for popular SDKs:
| API | Description |
|---|---|
| OpenAI Responses API | Use the standard OpenAI SDK to call any model on our platform. |
| Anthropic Claude API | Native support for Anthropic's Messages interface. |
Resources
- Authentication: Secure your requests with API keys.
- Usage Accounting: Monitor tokens and costs in real-time.
- Errors Code: Understand and handle API response codes.
- Models API: Programmatically list available engines.
- Billing API: Check your account balance and credit status.
Ready to start? Check out our Quickstart Guide.