Skip to main content
POST
Search My Spend Usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Body

application/json

SearchMySpendUsageRequest selects a half-open finalization-time interval. The caller's identity is always obtained from the authenticated session. Bounds must have microsecond precision; finer timestamps are rejected.

appId
string

Optional application filter; does not grant access to another user's calls.

endTime
string<date-time> | null
pageSize
integer<int32>

Maximum rows per page. Zero uses the server default.

pageToken
string

Opaque position token from a previous response. Keep history selectors unchanged when continuing; concurrent writes may shift page boundaries. Caller authorization is applied independently on every request.

startTime
string<date-time> | null

Response

200 - application/json

SearchMySpendUsageResponse contains one page of caller-only usage.

SearchMySpendUsageResponse contains one page of caller-only usage.

list
My Spend Usage Row · object[] | null

The list field.

nextPageToken
string

The nextPageToken field.