v1

latestOpenAPI 3.1.02026-07-2676188241.3 KB
Users

Get usage consumption for a user within a time window

get/projects/{projectId}/customers/{customerId}/users/{userId}/consumption

Path parameters

projectIdstring required
Example:consoleproject

Unique identifier of your project in the Corti API Console.

To find it, open your project at console.corti.app, go to Settings, and copy the value from the Project ID field.

customerIdstring required
Example:contosohospital

The unique identifier for a Customer

userIdstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000

The ID of the user

Query parameters

fromstring date-time required
Example:2026-01-05T00:00:00Z

Start of the time range (inclusive) in RFC 3339 format

tostring date-time required
Example:2026-01-17T00:00:00Z

End of the time range (inclusive) in RFC 3339 format

windowTimeZonestring

Time zone name as defined by the IANA Time Zone Database (defaults to UTC)

Response

Consumption for the requested user and window

consumptionnumber double required

Total credits consumed in the requested window