Get List of Generated Reports

Use this API to fetch a list of recently triggered Windows, Linux, and Mac 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"
}
 {
 "reportId": "dc117be2-ac14-423f-aae5-611e5d6f6de8",
 "type": "JOB_PROGRESS",
 "createdDate": 1691747087189,
 "expirationDate": 1692351887189,
 "status": 1,
 "queryHavingQuery": "(jobId:d39c43c6-3d62-48aa-bbce-a00263e6dcc1) AND
includeActionsResult: true",
 "fileSize": "791.00 Bytes",
 "platform": "Mac"
 },
]