Documentation Index
Fetch the complete documentation index at: https://docs.cogito.decart.ai/llms.txt
Use this file to discover all available pages before exploring further.
1. Get an API key
Sign in at cogito.decart.ai, then create a key from Dashboard → API keys. Copy it once — we never show the full secret again.2. Send a request
Cogito is OpenAI-compatible. Use the OpenAI SDK in any language; just pointbase_url at https://api.cogito.decart.ai/v1.
3. Stream tokens
Addstream: true to receive an SSE stream of OpenAI-compatible chunks.
Next
- Authentication — keys, scopes, header format
- Streaming — backpressure, cancellation, error recovery
- Function calling — tools, parallel calls, JSON arguments
- Structured outputs — guaranteed JSON schema adherence
- Model catalog — what’s available, what’s coming