API Reference
Complete REST API documentation for Halfred including endpoints, authentication, request/response formats, and error handling.
Base URL
https://api.halfred.ai/v1/Authentication
Authorization: Bearer halfred_xxxxxxxxxxxxxxxxxxxxxxxxxxxxAvailable Endpoints
Chat Completions
curl -X POST "https://api.halfred.ai/v1/chat/completions" \
-H "Authorization: Bearer halfred_xxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "standard",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'List Models
Quick Reference
Method
Endpoint
Description
Request Format
Response Format
Error Handling
Status Code
Meaning
SDK Support
Additional Resources
Support
Last updated