Package-level declarations
Types
Link copied to clipboard
@Serializable
Monetary cost in its reported currency.
Link copied to clipboard
@Serializable
Aggregated records for an inclusive start and exclusive end, in Unix seconds.
Link copied to clipboard
@Serializable
A cursor page of organization usage buckets.
Link copied to clipboard
data class OrganizationUsageQuery(val startTime: Long, val endTime: Long? = null, val bucketWidth: String? = null, val limit: Int? = null, val page: String? = null, val projectIds: List<String>? = null, val apiKeyIds: List<String>? = null, val userIds: List<String>? = null, val models: List<String>? = null, val groupBy: List<String>? = null, val batch: Boolean? = null, val sizes: List<String>? = null, val sources: List<String>? = null, val vectorStoreIds: List<String>? = null, val contextLevels: List<String>? = null, val lineItems: List<String>? = null)
Filters for organization reporting. Unsupported endpoint-specific filters are rejected before sending.
Link copied to clipboard
A typed usage or cost record. Fields absent from a grouping remain null.