tencent cloud

APIs

CreateBaselineAggregatedItemExportJob

Download
フォーカスモード
フォントサイズ
最終更新日: 2026-09-01 10:34:14

1. API Description

Domain name for API request: csip.intl.tencentcloudapi.com.

Create a baseline aggregation detection item export task. Use ExportType to select exporting statistics or risk details. You can limit the range by conditions such as policy and category. The task executes asynchronously in the backend. Once completed, you can download the result file from the export task list.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: CreateBaselineAggregatedItemExportJob.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
PolicyID.N Yes Array of Integer

Baseline policy ID list (you can pass multiple entries at the same time for federated statistics).

ParentCategoryID Yes Integer

Baseline system parent category ID.

CategoryID No Integer

Baseline subcategory ID.

Name No String

Export task name. If not specified, it will be automatically generated.

ExportType No String

Export type. Default value: RISK.
Enumeration values:
STATISTIC: export statistics
RISK: export risk details

MemberId.N No Array of String

Group account member id

Filters.N No Array of Filters

Universal Filter Criteria. Supported Name: ResultStatus (pass status: PASS/NOT_PASS), Name (detection item name, fuzzy search), RiskLevel (risk level: CRITICAL/HIGH/MEDIUM/LOW), PolicyName (associated baseline/policy name, fuzzy search).

CheckAssetType No String

Deprecated.

3. Output Parameters

Parameter Name Type Description
JobId String

Export task ID, the unique identifier of an Asynchronous Export Task, used for querying task status and obtaining download links.

RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Calling the API

Input Example

POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateBaselineAggregatedItemExportJob
<Common request parameters>

{
    "PolicyID": [
        761
    ],
    "ParentCategoryID": 4,
    "CategoryID": 50,
    "Name": "Test Call",
    "ExportType": "RISK",
    "MemberId": [
        "mem-tencent-6*************29"
    ]
}

Output Example

{
    "Response": {
        "JobId": "0e6ff39c-f534-4d6c-be32-cfb6db358b23",
        "RequestId": "f75c2605-7a0b-4db0-90be-cdd585d82b30"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック