Account
Retrieve the authenticated user's account details, including credit balance and allowed domains.
Last updated
Retrieve the authenticated user's account details, including credit balance and allowed domains.
Last updated
This endpoint returns the current authenticated user's account information. It includes the user's unique ID, available credit balance, and a list of allowed client domains used for CORS validation.
Authentication is required via the x-api-key
header.
Use this endpoint to verify the active user or check remaining credits before submitting tasks.
Retrieve the authenticated user's account details including available credit and allowed domains.
{"id":"uH1dYT2z6xQ3vLpP8fE4Yc9pD7aB","credit":42,"allowedDomains":["example.com","yourapp.dev"]}