THE INTEGRATION GUIDE
Quickstart
Get up and running in under a minute. You need two things: a Base URL and an API Key. Replace <MODEL_ID> in the examples with a model ID from the Models page.
Base URL
https://hashbidx.ai/v1All API requests are prefixed with this URL.
Choose an available model ID from the model catalogue. Account actions require sign-in.
Make your first request
curl https://hashbidx.ai/v1/chat/completions \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "<MODEL_ID>",
"messages": [{"role": "user", "content": "Say hello"}],
"max_tokens": 1024
}'Sample response
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"model": "<MODEL_ID>",
"choices": [{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?"
},
"finish_reason": "stop"
}],
"usage": {
"prompt_tokens": 12,
"completion_tokens": 9,
"total_tokens": 21
}
}You can also try requests interactively in the Playground.