nj_mk_...) created by the account owner under Management keys in Developers → Keys, after email verification. Inference keys (nj_sk_...) cannot call management endpoints; management keys cannot generate content.
Check your access
cURL
Available operations
Open API Reference → Account management for request schemas, permissions and responses. Start with read-only calls before automating key rotation or project changes.