Usage Service 1.0 (1.0.0)
Download OpenAPI specification:Download
Retrieve usage records for the Cloud One services that you've accessed.
Retrieve a Cloud One Account's usage records
get/usage
Provided a valid Cloud One API Key, returns the Cloud One usage records for the Cloud One account. Records are returned in reverse chronological order.
SecuritycloudOneAPIKey
Request
query Parameters
Responses
200
Successful operation
400
Bad Request + specific error message
401
Valid authentication was not provided
403
Not authorized to view usage
429
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
500
Internal server error
503
The service is temporarily unavailable, likely due to maintenance. It
should be available soon, check the Retry-After
header for an
indication of when you might be able to try again.
Response samples
- 200
- 400
- 401
- 403
- 429
- 500
- 503
application/json
{- "usage": [
- {
- "time": "2022-05-24T13:00:00Z",
- "service": "Workload Security",
- "dimension": "WorkloadMedium",
- "quantity": 42
}
], - "next": "dGhpcyB2YWx1ZSBpcyBvcGFxdWUsIGRlY29kaW5nIGl0IHdvbid0IGJlIHVzZWZ1bAo="
}