Skip to main content
GET
/
api
/
v1
/
usage
Get Usage
curl --request GET \
  --url https://api.entityml.com/api/v1/usage
{
  "user_id": "<string>",
  "tier": "<string>",
  "tier_name": "<string>",
  "api_calls": 123,
  "limit": 123,
  "remaining": 123,
  "month": "<string>",
  "unlimited": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.entityml.com/llms.txt

Use this file to discover all available pages before exploring further.

Request

user_id
string
required
User ID to inspect.

Response

user_id
string
tier
string
tier_name
string
api_calls
integer
limit
integer
remaining
integer
month
string
unlimited
boolean

Example

from entityml import EntityMLClient

client = EntityMLClient()
usage = client.billing.get_usage(user_id="YOUR_USER_ID")
print(usage["api_calls"])

Example response

{
  "user_id": "YOUR_USER_ID",
  "tier": "pro",
  "tier_name": "Pro",
  "api_calls": 1284,
  "limit": null,
  "remaining": null,
  "month": "2026-05",
  "unlimited": true
}