API Reference
The CalibraLogic API is an OpenAI-compatible REST API that allows you to integrate high-performance automotive intelligence into your calibration workflows.
https://api.calibralogic.ai/v1JSON / application/jsonAuthentication
The API uses Bearer tokens for authentication. Include your API key in the Authorization header for every request.
# Python Example
import openai
client = openai.OpenAI(
api_key="sk-cl-YOUR_API_KEY",
base_url="https://api.calibralogic.ai/v1"
)
response = client.chat.completions.create(
engine="cl-scan",
messages=[
{"role": "user", "content": "What is P0299?"}
]
)Endpoints
/api/v1/chat
Creates an engine response for the given chat conversation. Supports file uploads for ECU hex dumps and CSV data logs.
Parameters
| Field | Type | Required |
|---|---|---|
| engine | String | check_circle |
| messages | Array | check_circle |
| temperature | Number | Optional |
Valid engine values
"cl-scan", "cl-forge", "cl-matrix", "cl-engineering", "cl-assembly"
JSON Request
{
"engine": "cl-scan",
"messages": [
{ "role": "user", "content": "Hello" }
],
"stream": false
}/api/v1/engines
Returns a list of available AI engines optimized for different ECU architectures and diagnostic tasks.
{
"object": "list",
"data": [
{ "id": "cl-scan", "owner": "calibra" },
{ "id": "cl-engineering", "owner": "calibra" }
]
}Rate Limits
| Tier | Requests / Min | Concurrent |
|---|---|---|
Garage €9.99/mo | 20 | 2 |
TunerPOPULAR | 60 | 5 |
| Engineer | 120 | 10 |
Error Codes
Invalid Authentication
API key is missing or incorrect.
Rate Limit Reached
You have hit the limit for your current tier.
Insufficient Balance
Credits required to perform this action.
Server Error
Issue on our end. Please try again later.
Still have questions?
Our engineering support team is available for enterprise-level custom integration and high-volume calibration needs.