This API reference describes the RESTful, streaming, and real‑time APIs you can use to interact with the Freddy platform by Aitronos.
The official Python SDK provides a clean, type-safe interface to the Freddy API:
pip install freddy-aifrom freddy import FreddyClient
with FreddyClient(api_key="your-api-key") as client:
response = client.responses.create(
model="gpt-4.1",
inputs=[{"role": "user", "texts": [{"text": "Hello!"}]}]
)
print(response.output[0].content[0].text)Benefits:
- ✅ Type hints and autocompletion
- ✅ Automatic error handling
- ✅ Sync and async support
- ✅ Production-ready patterns
View complete Python SDK documentation →
The REST APIs are usable via HTTP in any environment that supports HTTP requests:
curl https://api.freddy.aitronos.com/v1/model/response \
-H "Authorization: Bearer $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4.1",
"inputs": [{"role": "user", "texts": [{"text": "Hello!"}]}]
}'Language-specific SDKs are available for JavaScript/TypeScript, .NET, and more. See the Libraries & SDKs page for the full list.