Export SLO Resource Bundle¶
POST /api/v1/slo/export/task/create
Overview¶
Initiates an export task for SLO and its associated resource bundle.
Body Request Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| sloUUIDs | array | List of SLO UUIDs selected for export; if not provided or empty, all valid SLOs in the current Workspace are exported Example: ['monitor_xxx', 'monitor_yyy'] Allow empty: False |
Parameter Notes¶
If sloUUIDs is not provided or an empty array is passed, all valid SLOs in the current Workspace are exported. If a UUID list is passed, only the specified SLOs and their associated resources are exported.
After the call succeeds, query the asynchronous task status via GET /api/v1/slo/query_action_status and obtain the ZIP download URL.
Request Example¶
curl 'https://openapi.truewatch.com/api/v1/slo/export/task/create' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json' \
--data '{"sloUUIDs":["monitor_xxx"]}'