How do I get an API key?

Create a key on the API Keys page. A new key can read and write the whole knowledge base by default.

Minting, revoking and deleting keys are console-only, which is why listing them is the one operation in the API. A key cannot create or modify keys — not even itself — so there is nothing to call.

Keys are accepted three ways so most clients work unchanged: as a Bearer token, as an ApiKey scheme, or as an X-API-Key header. A key is never accepted in the URL, because a key in a path is a key in an access log.

bash
curl https://apiv2.senso.ai/api/v1/org/search/content \
  -X POST -H "X-API-Key: $SENSO_API_KEY" \
  -H "Content-Type: application/json" -d '{"query": "ping"}'

Call it

GET/org/api-keysOpen in API reference →List the keys this organization has.