Get List of Generated Reports

Use this API to fetch a list of recently triggered Windows and Linux job progress reports.

Note: The API rate limit is 10 requests per hour per customer. 

GET/pm/v1/reports

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

limit

Optional

string

Specify the number of reports to return.

Default value: 10

Sample - Get a list of recently triggered reportsSample - Get a list of recently triggered reports

API request

    
        curl -X GET 
        "https://<QualysBaseURL>/pm/v1/reports?limit=10" -H "accept: application/json" -H "Authorization: Bearer <<jwt token>>"
    

Response

   
[
{
"reportId": "10ad6242-6932-42b1-bd8e-e95b7328cbd9",
"type": "PATCH",
"createdDate": 1683095906019,
"expirationDate": 1683700706019,
"status": 1,
"queryHavingQuery": null,
"fileSize": "916.34 KB",
"platform": "Windows"
},
{
"reportId": "f8daa6f0-df94-40e8-a58e-6ac9aafbacc7",
"type": "JOB_PROGRESS",
"createdDate": 1683086830575,
"expirationDate": 1683691630575,
"status": 1,
"queryHavingQuery": "(jobId:c9ec7644-eb91-43d8-836a-5e6d43dfcc51)",
"fileSize": "792.00 Bytes",
"platform": "Linux"
}
]