Skip to main content
POST
Get User Credit Usage

Authorizations

X-API-Key
string
header
required

Body

application/json
userId
string
required

FirstTouch user id to report. Use the exact userId returned by get_current_user or list_team_members.

fromUtc
string<date-time> | null

Optional inclusive UTC lower bound for transaction creation time.

toUtc
string<date-time> | null

Optional inclusive UTC upper bound for transaction creation time.

source
string | null

Optional transaction source filter: Mcp, WebApp, Extension, PublicApi, or Unknown. Omit to include all transactions attributed to the user.

Response

Tool result.

summary
string
required
teamId
string
required
userId
string
required
source
string | null
required
fromUtc
string<date-time> | null
required
toUtc
string<date-time> | null
required
totalCreditsUsed
number
required
creditsByFeature
object
required