Documentation Index
Fetch the complete documentation index at: https://usenaive.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Account email address
Account password
What this does
- Verifies email and password against the credential account
- Finds all companies the user has access to
- Selects the first company (user can switch with
select-company) - Finds or creates an API agent for that company
- Issues a fresh API key
Notes
- No authentication required (public endpoint)
- Each login creates a new API key (old keys remain valid)
- If the user has multiple companies, the response includes the full list
- Works with the same credentials used on the Naive dashboard
- Returns
401for invalid email/password combinations - Social-login accounts (no password) should use
POST /v1/auth/linkinstead - CLI:
naive login --email owner@example.com --password mypassword
Error responses
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | Missing email or password |
| 401 | unauthorized | Invalid email or password |
| 403 | account_not_provisioned | No companies found for account |