Introduction
Welcome to the Ravonix API documentation. Build the next generation of AI-powered applications.
Base URL
https://api.ravonix.com/v1
Authentication
All Ravonix API requests must be authenticated using an API key via the Authorization HTTP header using the Bearer token format.
Authorization: Bearer YOUR_API_KEY
Your API key identifies your account and is used to track usage, enforce rate limits, and secure your requests.
Never share your API key publicly.
Headers
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY
Authorization: Bearer YOUR_API_KEY
Example (cURL)
curl https://api.ravonix.com/v1/chat \
-H "Content-Type: application/json" \
-H "Authorization: Bearer rvx_live_xxxxxxxxxxxx" \
-d '{
"prompt": "Hello!",
"model": "orion-standard"
}'
Quickstart Guide
1 Get your API key
Sign up at Ravonix, navigate to the dashboard, and copy your production API key.
2 Send a Request
Use the spark model for fast, efficient responses.
curl https://api.ravonix.com/v1/chat \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "spark",
"prompt": "Hello!"
}'
3 Receive Response
The API returns a JSON response with the generated content.
{
"id": "req_spark_a1b2c3",
"model": "spark",
"output": "Hi there! I'm Spark, Ravonix's fastest model. How can I help you today?",
"usage": {
"input_tokens": 2,
"output_tokens": 18,
"total_tokens": 20
}
}
4 Done.
You are now ready to build amazing things with Ravonix.
Quick Integration Checklist:
1.
Get API Key
2.
Send Request
3.
Get Response
4.
Scale Up
Models
Spark
Fastest & most cost-efficient tier.
Forge
Balanced mid-tier performance.
Void
Highest intelligence & complex logic.