API Reference

The CalibraLogic API is an OpenAI-compatible REST API that allows you to integrate high-performance automotive intelligence into your calibration workflows.

Base URLhttps://api.calibralogic.ai/v1
FormatJSON / application/json

Authentication

The API uses Bearer tokens for authentication. Include your API key in the Authorization header for every request.

HTTP HEADERcontent_copy
Authorization: Bearer sk-cl-YOUR_API_KEY
# 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

POST

/api/v1/chat

Creates an engine response for the given chat conversation. Supports file uploads for ECU hex dumps and CSV data logs.

Parameters

FieldTypeRequired
engineStringcheck_circle
messagesArraycheck_circle
temperatureNumberOptional

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
}
GET

/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

TierRequests / MinConcurrent

Garage

€9.99/mo

202
TunerPOPULAR
605
Engineer12010

Error Codes

401

Invalid Authentication

API key is missing or incorrect.

429

Rate Limit Reached

You have hit the limit for your current tier.

402

Insufficient Balance

Credits required to perform this action.

500

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.