Documentation menu and search

API reference

Chat Completions

Generate using message lists, output limits and optional SSE.

POST /chat/completions

The model field must be siber-v3. messages must contain at least one message. Send the body as application/json.

JSON

{
  "model": "siber-v3",
  "messages": [{"role": "user", "content": "Bu fonksiyon için sınır durumlarını listele."}],
  "max_tokens": 1024,
  "stream": false
}

Core fields

Accepting additional SDK fields does not guarantee every model behaviour. Unexpected fields are not forwarded directly to the internal service.

Core fields
Field / statusDescription
messagesNon-empty array of messages
max_tokens1–8192; default 4096
streamBoolean; true enables SSE
temperature / top_pSampling fields processed by the model
tools / tool_choiceFields for a client-owned tool loop

Handle output and usage

For synchronous responses, process choices and usage when present. Network chunk boundaries are not JSON event boundaries. Your client must validate and execute required tools; the service does not automatically run your functions.

Telegram support@cyberdef_tr