Insights
InsightsAccounts
GetUsageSummaryInsightsScans
Returns a summary of Insights scan usage for an organization, grouped by the specified time granularity.
get/api/orgs/{orgName}/insights-scans/summary
Request
- Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
- URL: https://api.pulumi.com/api/orgs/{orgName}/insights-scans/summary
- Auth: none declared
Path parameters
orgNamestring required
The organization name
Query parameters
granularity'yearly' | 'monthly' | 'weekly' | 'daily' | 'hourly' required
Time granularity for grouping usage data. Hourly granularity is limited to a 2-day lookback.
lookbackDaysinteger
Number of days to look back for usage data. Mutually exclusive with lookbackStart; exactly one must be provided.
lookbackStartinteger
Start of the lookback period as a Unix timestamp (seconds since epoch). Must be within the last year and in the past. Mutually exclusive with lookbackDays; exactly one must be provided.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.