An API key reads only content that your organization holds a license for. If your organization has no licenses yet, the key returns no search results. Get a content license first.
- In the sidebar, select Integrations → Api Keys.
- Select Add key.
- Optional: type a Name that tells you what the key is for.
- Optional: in Licenses, select the licenses the key can read. Leave it empty to read everything your organization is licensed for, now and later.
- Optional: set a Tokens Limit. Leave it empty or enter 0 for no limit.
- Select an Access Type:
- Read Only keys can call
GETendpoints only. This is enough for search and for the MCP server. - Read & Write keys can call every endpoint, including
POSTendpoints such as/agents/searchand/chat/completions.
- Read Only keys can call
- Keep the default Default Search Model.
- Select Create API Key.
- If you selected no licenses, Cashmere asks you to confirm. Select Save anyway.
- Copy the key and keep it in a safe place. Cashmere shows it only once.
Publishers also see a Collections field. Use it to give the key their own collections.

If search returns nothing
If the key reads no licensed content, GET /api/v2/search returns an empty list with a Cashmere-Notice header, and the MCP search tools return an error with the same text. License a collection, then search again. A key with no licenses selected reads the new license at once, so you do not need a new key.