Skip to main content
GET
/
user
Credit balance
curl --request GET \
  --url https://api.agentfirst.dev/user \
  --header 'Authorization: Bearer <token>'
[
  {
    "email": "user@example.com",
    "credits": 1000
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

The account settings and credits.

email
string
required

The account email address.

Example:

"user@example.com"

credits
integer
required

The number of remaining credits allocated to the account.

Example:

1000