Getting started
Quick start
Create an API key and send your first request in minutes. Kielo is OpenAI-compatible — point your existing SDK at our gateway.
01
Create an API key
Open API Keys in the dashboard, create a key for your project, and store it securely. The secret is shown once.
kielo_<projectId>_<24 chars>
02
Configure the client
Set your key and base URL. Any OpenAI-compatible client works.
export KIELO_API_KEY=kielo_...
export OPENAI_BASE_URL=https://api.kielo.ai/v103
First request
Call POST /v1/chat/completions with a registered model ID.
curl -X POST https://api.kielo.ai/v1/chat/completions \
-H "Authorization: Bearer $KIELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/llama-3.1-8b-instruct",
"messages": [{"role": "user", "content": "Hello"}]
}'04
Stream responses
Set stream: true for SSE token streams.
curl -N -X POST https://api.kielo.ai/v1/chat/completions \
-H "Authorization: Bearer $KIELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/llama-3.1-8b-instruct",
"messages": [{"role": "user", "content": "Hello"}],
"stream": true
}'