cURL
curl --request GET \ --url https://api.agentfirst.dev/user \ --header 'Authorization: Bearer <token>'
[ { "email": "user@example.com", "credits": 1000 } ]
Retrieve the settings and remaining credits of an account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The account settings and credits.
The account email address.
"user@example.com"
The number of remaining credits allocated to the account.
1000