For the complete documentation index, see llms.txt. This page is also available as Markdown.

Credits

Authentication: Required (JWT token or Api Key)

User Credits

get

Retrieves the current credit balance for the user.

Authorizations
AuthorizationstringRequired

Enter your API key or JWT with the 'Bearer ' prefix

Responses
200

Successfully retrieved credit balance

application/json

Response model for the user credits endpoint. Contains the current credit balance.

num_creditsnumber ยท floatRequired

Current credit balance for the user

get/api/credits
curl -X GET "https://app.morphware.com/api/credits" \
  -H "Authorization: Bearer <YOUR_TOKEN>"
{
  "num_credits": 1000
}

Last updated