API Documentation
Complete reference for Apodex Chat Completions API
Learn how to integrate AI capabilities into your applications using our OpenAI-compatible Chat Completions API. Build intelligent applications with streaming, reasoning, tool use, and seamless integration.
Quick Start
Get started with the Chat Completions API in just a few minutes.
1
Get API Key
Login to the console and create an API key from the API Keys page. Keep it secure!
# Your API key looks like this ("sk-" followed by a base64 string):
sk-4f8Yt2Kq7Rw1mZx0Vb5nHj3cPl6sAe9dGuIoTrEwQkANk=2
Send a Request
Send a POST request to the Chat Completions endpoint. Works with any OpenAI-compatible client.
curl -X POST https://api.apodex.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "apodex-1-0-deep-research", "messages": [{"role": "user", "content": "Hello!"}]}'3
Handle the Stream
The response streams as SSE by default. Each line is a JSON chunk with reasoning steps and content.
# Stream is the default. Parse SSE lines:
data: {"choices":[{"delta":{"content":"Hello!"}}]}
data: [DONE]Explore the Documentation
Additional Resources
Try Online
Experience the power of Apodex OS directly with our DeepResearch product.
Try NowSupport
Need help? Email our support team at support@apodex.ai and we'll get back to you.
Get Support