API reference
API reference
Endpoints, authentication, models and usage.
The API is one host, one header and three endpoints.
| Base URL | https://api.cognitivers.com/v1 |
| Authentication | Authorization: Bearer sk-cog-... |
| Endpoints | /chat/completions, /embeddings, /models |
Authentication
Keys, scoping, rotation and what we store.
Base URL
The two hosts, what each is for, and the health probe.
Models and prices
Ids, context windows and rates per million tokens.
Chat completions
The main endpoint, streaming, tools and JSON mode.
Embeddings
Vectors for retrieval over your own corpus.
Usage and credits
How usage is measured and how to bound it.
If you have not made a request yet, start with the Quickstart, which gets you to a first answer in three lines.