Skip to main content
GET
/
users
Credit balances
curl --request GET \
  --url https://api.agentfirst.dev/users \
  --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.

Query Parameters

email
string[]

The (case-insensitive) email address of the user whose profile to fetch; multiple addresses can be provided by repeating the key; profiles for all addresses are fetched by default.

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