Account

Get account summary or connected assistant apps

Without resource, return account buckets, limits, keys, purchases, and webhook settings. resource=connected_apps lists unrevoked OAuth grants with client name, created and last-used dates, and scope mcp; this mode requires a dashboard session and returns no API keys or OAuth tokens. Grants and metering identities are created at successful code exchange, not consent. At most ten grants remain unrevoked; a new completed connection atomically revokes the oldest by creation date. Last-used dates are written at most once per five minutes. All grants for an account share one tier allowance pool for request rate, cold-fetch/search concurrency, and daily counters, including revoked grants’ daily usage. Ordinary API keys retain their independent per-key limits; free search replay remains grant-specific. Refresh expiry is fixed at 30 days after initial exchange, not renewed by refresh. Client registrations also expire after 30 days and can require an earlier reconnection. See /docs/authentication#oauth-for-assistants. Expired connections remain listed until revoked or replaced.

get/v1/account

Request

  • Base URL: https://api.scripthaul.com
  • URL: https://api.scripthaul.com/v1/account
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sh_dashboard

Query parameters

resource'connected_apps'

Omit for the account summary. connected_apps requires the dashboard session.

Response

Account summary, or {ok:true, apps:[{id, client_name, created_at, last_used_at, scope:"mcp"}]} for connected_apps.

Changes

No recorded changes to this operation across all 1 revision of this API.