Get Usage Report Details
This will give the details of all license usage reports generated in both Manual and Automated mode.
Offset pagination parameter used to exclude from a response the first N items of a resource collection. Combine the offset and the page_size options to request a particular set or page of items.
Number of records to be returned in the API request from the provided offset
True, if the list of records returned need to be sorted in ascending order, false otherwise.
The parameter name on which to sort the list of records. Only top-level parameters in the returned list of records will be supported. If not provided, system will define the parameter by which results are sorted.
Use this param to filter usage history on the basis of usage report id.
Use this param to filter usage history on the basis of usage file status.
Start of time range to filter usage reports by creation time (epoch milliseconds, inclusive).
End of time range to filter usage reports by creation time (epoch milliseconds, inclusive).
License Usage history fetched successfully.
{
"total_result_count": 2,
"results": [
{
"id": "Usage_File_1756285863000",
"usage_file_status": "GENERATED",
"_create_time": 1756285863000,
"mode": "MANUAL",
"_create_user": "SYSTEM"
},
{
"id": "Usage_File_1756285943000",
"usage_file_status": "SUBMITTED",
"_create_time": 1756285943000,
"mode": "AUTOMATED",
"_create_user": "SYSTEM"
}
]
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
unexpected error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -H 'Authorization: <value>' https://{api_host}/licensing/usage-reports