Skip to main content

Account and organization

Get information about your user account, organization, and subscription details.

User information

Retrieve information about the currently authenticated user:

curl -X POST https://uthana.com/graphql \
  -u $API_KEY: \
  -H "Content-Type: application/json" \
  -d '{
    "query": "{ user { id email email_verified name roles tz tos_accepted survey_completed } }"
  }'

Organization information

Get information about your organization, including download allowances and character limits:

curl -X POST https://uthana.com/graphql \
  -u $API_KEY: \
  -H "Content-Type: application/json" \
  -d '{
    "query": "{ org { id name motion_download_secs_per_month motion_download_secs_per_month_remaining characters_allowed characters_allowed_remaining users { id name email } } }"
  }'

Subscription information

Subscription and billing details are managed through the Uthana web interface. For API access to plan limits and usage, see the Pricing and Rate limits pages.

Tracking usage via API

You can query your organization's usage and limits through the GraphQL API to monitor your balance and set up alerts when approaching limits.

Motion seconds (download allowance)

The org query returns motion download usage directly:

  • motion_download_secs_per_month — Total seconds of motion downloads allocated to your organization per month
  • motion_download_secs_per_month_remaining — Seconds remaining for the current month

motion_download_secs_per_month_remaining updates as you download motions. Use it to check how much of your monthly allowance is left before hitting limits.

Characters (rigs)

The org query returns character usage for the current month:

  • characters_allowed — Maximum number of characters your organization can create, upload, and/or rig per month (the limit)
  • characters_allowed_remaining — Character creation slots remaining for the current month

characters_allowed_remaining updates as you create (upload, generate, or rig) characters. Use it to check how many character creation slots you have left before hitting limits.

Example query for usage monitoring:

curl -X POST https://uthana.com/graphql \
  -u $API_KEY: \
  -H "Content-Type: application/json" \
  -d '{
    "query": "{ org { id name motion_download_secs_per_month motion_download_secs_per_month_remaining characters_allowed characters_allowed_remaining } }"
  }'

Next steps