Version: August 18, 2026
3. Quickstart
Step 1: Set the API key
export LOGICC_API_KEY="YOUR_LOGICC_API_KEY"
Step 2: List enabled models
curl "https://api.logicc.cloud/v1/models" \
-H "Authorization: Bearer $LOGICC_API_KEY"
Use the returned id value exactly as the model value in subsequent requests.
Step 3: Create a chat completion
curl -X POST "https://api.logicc.cloud/v1/chat/completions" \
-H "Authorization: Bearer $LOGICC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5-mini",
"messages": [
{"role": "system", "content": "You are a helpful business assistant."},
{"role": "user", "content": "Summarize the key risks in this project."}
]
}'
Before moving to production
- Store the API key in a secret manager or protected environment variable.
- Confirm that the required model IDs are returned by
GET /v1/models. - Test the exact base URL, SDK version, streaming mode, tools, files, and images used by the application.
- Configure explicit timeouts and bounded retries for transient failures.
