v9

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-1194110197.0 KB
Auth

Login Key

Authenticate with email + password and receive a new nk_ API key.

For returning users who already have an account but need a new key (e.g. an AI agent setting up in a new environment).

post/auth/login-key

Request body

emailstring required
passwordstring required
organization_idstring nullable

Org to scope the new key to (must be a member)

idempotency_keystring nullable

Response

Successful Response

api_keystring required
api_key_idstring required
user_idstring required
organization_idstring nullable