Generate an API Key
API keys are issued from the Cogneris platform, under Vision → Developers → API Keys.
Prefer to watch first? This walkthrough creates a key and shows how to keep it out of your code:
Or ask your AI assistant
With the Cogneris MCP server connected, ask "create a sandbox Cogneris API key and put it in my .env". See the prompt cookbook.
- Sign in to your tenant on the Cogneris platform.
- Open Vision → Developers → API Keys.
- Click New API Key, give it a descriptive name, choose the Environment and confirm with Generate key.
Production keys start with
xtkt_live_and are the only ones the synchronous/Document/*endpoints accept. Sandbox keys start withxtkt_test_and cover only the asynchronous job flow. - Copy the plaintext value shown in the dialog — the platform displays it only once.
- Store it in your secrets manager. You can revoke it from the same page at any time.
For the full walkthrough — including how to use the key on every request and ready-to-paste examples — see the Getting Started page in the Cogneris API section.