Create a new API key
Changed onCreates a new API key for the authenticated person. It acts in the workspace the request acts in, and a key made with a key gets a scope no wider than its own. The key is returned in plaintext only once - store it securely. Use a descriptive name to identify the key's purpose (e.g., 'Production', 'Claude Desktop', 'Cursor').
Request
- Base URL: https://api.zindex.ai
- URL: https://api.zindex.ai/v1/auth/keys
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Request body
Example request
{
"name": "Production API"
}Response
API key created
Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info