API Integration Reference
For direct API calls from scripts or applications: configure authentication and send a request with Responses.
Endpoint
Use `https://reverix.ai/v1` as the Base URL. Send the API key in the `Authorization: Bearer` header. Copy a model ID available to your key from Model Square.
https://reverix.ai/v1
List models
curl https://reverix.ai/v1/models \ -H "Authorization: Bearer YOUR_REVERIX_API_KEY"
Send a Responses request
Prefer Responses for supported models. Replace `MODEL_FROM_YOUR_CONSOLE` with a model available to your key that supports Responses. Client applications must also support this protocol.
curl https://reverix.ai/v1/responses \ -H "Authorization: Bearer YOUR_REVERIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"MODEL_FROM_YOUR_CONSOLE","input":"Hello"}'
Python SDK
from openai import OpenAI client = OpenAI( api_key="YOUR_REVERIX_API_KEY", base_url="https://reverix.ai/v1", ) response = client.responses.create( model="MODEL_FROM_YOUR_CONSOLE", input="Hello", ) print(response.output_text)
Rotate a key
If a key is exposed, disable it in API Keys, create a replacement, and update affected clients.