Submit an alert export task that exports all records matching the current filter conditions. The returned export_id is used to query export status.
Prerequisites
Configure the endpoint and authentication first. See API overview and authentication.
Endpoint
POST /export_agent_logs
Submit an alert export task that exports all records matching the current filter conditions. The returned export_id is used to query export status.
Request body
| Field | Required | Type | Description |
|---|---|---|---|
lang | No | string | Language: zh / en, recommended to match the list query |
params | Yes | string | List query parameters serialized as a JSON string (not a nested object) |
Request example
BASE_URL is https://{workspace_id}.cn-beijing.maas.aliyuncs.com/api/v1/agentstudio/security, and BAILIAN_API_KEY is your Alibaba Cloud Bailian API Key.
Response body
| Field | Type | Description |
|---|---|---|
export_id | integer | Export task ID, used to query progress |