The account endpoint answers three questions in one request: who does this key belong to, what is it allowed to do, and how much of today's quota is left. Make it your agent's first call and most auth problems surface before any real work starts.
curl -H "Authorization: Bearer ag_live_..." \
https://argorant.com/api/mcp/accountWhat comes back
- The account identity, including the email address the key belongs to and its role.
- The list of scopes granted to this key. A key without spending scopes simply cannot reveal or export.
- A usage summary per action for the current day: count requests, preview rows, reveal rows, export rows, and verification requests. Each entry carries how much was used today and the daily limit, or reports that the account is unlimited.
The CLI wraps the same call as argorant whoami, which is the fastest human-readable check:
npx argorant whoami
npx argorant whoami --json
Failure modes
401: the key is wrong, truncated or revoked. Nothing else will work until this is fixed.402: the account needs a paid plan for the action you attempted.
This endpoint costs nothing and does not touch credits, so an agent can call it as often as it likes, for example at the start of every run and after any auth error.