---
title: "下载指定扫描任务的SQL文件"
method: GET
path: "/v1/tasks/audits/{task_id}/sql_file"
tags: ["task"]
---

# 下载指定扫描任务的SQL文件

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

download SQL file for the audit task

## Path parameters

- `task_id` string, required

## Response `200`

sql file

---

[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)
