v31

latestOpenAPI 3.1.2raw.githubusercontent.com2026-08-074420793.1 KB
Usage

Get Usage Summary

Returns credit usage for the active billing scope. Team owners and billing members receive team-wide usage by default; other team members receive their own usage.

get/usage/summary

Query parameters

startstring date-time

Inclusive ISO 8601 start timestamp. Defaults to seven days ago.

endstring date-time

Exclusive ISO 8601 end timestamp. Defaults to the current time.

userIdstring

Filter usage by user. Team owners and billing members may select any team member; other callers may select only themselves.

Response

Response for status 200

object'usage_summary' required

Object type identifier.

dataAsOfstring date-time

Timestamp of the reporting snapshot backing this response.