---
title: "获取指定扫描任务的SQLs信息"
method: GET
path: "/v1/tasks/audits/{task_id}/sqls"
tags: ["task"]
---

# 获取指定扫描任务的SQLs信息

`GET /v1/tasks/audits/{task_id}/sqls`

get information of all SQLs belong to the specified audit task

## Path parameters

- `task_id` string, required

## Query parameters

- `filter_exec_status` 'initialized' | 'doing' | 'succeeded' | 'failed' | 'manually_executed' | 'execute_rollback'
- `filter_audit_status` 'initialized' | 'doing' | 'finished'
- `filter_audit_level` 'normal' | 'notice' | 'warn' | 'error'
- `no_duplicate` boolean
- `page_index` string, required
- `page_size` string, required

## Response `200`

OK

---

[API](https://skmtc.dev/actiontech/apis/sqle-api-docs.md) · [All operations](https://skmtc.dev/actiontech/apis/sqle-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/actiontech/sqle-api-docs/revisions/3e36a0067703/schema)
