FIRST SUCCESSFUL CALL
Verify one request with one key
The integration is complete when the request returns HTTP 200 and the same request appears in CDAPI usage logs.
On this page
STEP 1
Create an API key
STEP 2
Choose the Base URL
| Task | Base URL | Use it for |
|---|---|---|
| Standard | https://ai.bycomet.cc/v1 |
Text, streaming, Responses, embeddings, and tools |
| Direct | https://api-direct.ai.bycomet.cc/v1 |
Images, videos, long-running requests, and gateway timeouts |
| Anthropic clients | https://ai.bycomet.cc |
Clients that append /v1/messages |
Client settings usually stop at /v1. Append
/chat/completions or another resource path only
when sending HTTP directly.
STEP 3
Get an available model ID
Copy the exact ID from Models, or list the models available to the current key.
export CDAPI_API_KEY="sk-your-key"
curl https://ai.bycomet.cc/v1/models \
-H "Authorization: Bearer $CDAPI_API_KEY"
STEP 4
Send a non-streaming request
Replace YOUR_MODEL_ID with an exact ID returned by
the catalog.
curl https://ai.bycomet.cc/v1/chat/completions \
-H "Authorization: Bearer $CDAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_MODEL_ID",
"messages": [{"role": "user", "content": "Reply with ok"}],
"stream": false
}'
Keep the original status and error body, then check the key, URL, model, and group in that order.
ACCEPTANCE
Verify the result
-
The HTTP status is
200and the response contains model output. - Usage logs contains a request at the same time with the same model ID.
- The log does not show exhausted retries or an upstream failure.
