Organizations
GetUsageSummaryEnvironmentSecrets
GetUsageSummaryEnvironmentSecrets handles request to fetch the summary of ESC secret hours for an organization.
get/api/orgs/{orgName}/secrets/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}/secrets/summary
- Auth: none declared
Path parameters
orgNamestring required
The organization name
Query parameters
granularity'yearly' | 'monthly' | 'weekly' | 'daily' | 'hourly' required
Time granularity for aggregation. Hourly granularity is limited to a 2-day lookback.
lookbackDaysinteger
Number of days to look back from the current time. Must be positive; when granularity is 'hourly' the value must not exceed 2. Mutually exclusive with lookbackStart; exactly one must be provided.
lookbackStartinteger
Unix timestamp (seconds since epoch) for the start of the lookback period. Must be positive, in the past, and within the last year. 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.