Sənədlər
Dokumentasiya
Fuzzy AI API inteqrasiyası üçün lazım olan hər şey: autentifikasiya, chat completions, SSE streaming, embeddings, xəta kodları və SDK nümunələri.
Getting Started
Create an account, get an API key, and make your first request in minutes.
Authentication
Two kinds of credentials: session cookies for the dashboard, API keys for the gateway.
Chat Completions
POST /v1/chat/completions — the core endpoint, OpenAI-compatible.
Streaming
Receive tokens as they are generated with server-sent events.
Embeddings
POST /v1/embeddings — vector embeddings, when a configured provider supports them.
Errors
Every error follows one shape: {error:{message,type,code}} with a proper HTTP status.
Python
Use Fuzzy AI from Python with the official OpenAI SDK.
JavaScript
Use Fuzzy AI from Node.js or the browser with the official OpenAI SDK.
cURL
Raw HTTP examples with cURL — no SDK required.
Troubleshooting
Common problems and how to fix them.