Welcome to Freddy! This guide will help you get up and running with the Freddy AI platform quickly and efficiently.
Before you begin, make sure you have:
- A Freddy account (sign up at chat.aitronos.com)
- Basic understanding of REST APIs
- Your preferred development environment set up
- Log in to chat.aitronos.com
- Navigate to Settings → API Keys
- Click "Create New API Key"
- Copy and store your API key securely
Important: Your API key starts with
ak_and should be kept secure.
All API requests should be made to:
https://api.aitronos.com/v1/Include your API key in every request using the X-API-Key header:
curl -H "X-API-Key: ak_your_api_key_here" \
-H "Content-Type: application/json" \
https://api.aitronos.com/v1/modelsInstall the Python SDK: pip install aitronos-sdk
Let's make your first API call to list available AI models:
from aitronos import Aitronos
client = Aitronos(api_key="ak_your_api_key_here")
models = client.models.list_models(organization_id="org_your_org_id")
print(models)curl -X GET "https://api.aitronos.com/v1/models" \
-H "X-API-Key: ak_your_api_key_here"import requests
api_key = "ak_your_api_key_here"
headers = {"X-API-Key": api_key}
response = requests.get(
"https://api.aitronos.com/v1/models",
headers=headers,
)
print(response.json())const apiKey = "ak_your_api_key_here";
const response = await fetch("https://api.aitronos.com/v1/models", {
headers: { "X-API-Key": apiKey },
});
const data = await response.json();
console.log(data);Now let's create an AI response:
from aitronos import Aitronos
client = Aitronos(api_key="ak_your_api_key_here")
result = client.responses.create_response(
organization_id="org_your_org_id",
model="gpt-4o",
inputs=[{"role": "user", "content": "Hello, Freddy! How can you help me?"}],
)
print(result.response[0]["text"])curl -X POST "https://api.aitronos.com/v1/model/response" \
-H "X-API-Key: ak_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"organization_id": "org_your_org_id",
"model": "gpt-4o",
"inputs": [{"role": "user", "content": "Hello, Freddy! How can you help me?"}]
}'- Quick Start — Make your first request in under 5 minutes
- Authentication Guide — Learn about API key management
- Code Examples — See more practical examples
- API Reference — Explore all available endpoints