---
title: "获取任务列表（包含关联信息）"
method: GET
path: "/api/v1/task/list-with-details"
tags: ["任务中心"]
---

# 获取任务列表（包含关联信息）

`GET /api/v1/task/list-with-details`

获取任务列表，支持分页和条件查询，包含模板和主机的详细信息

## Query parameters

- `page` integer
- `pageSize` integer
- `name` string
- `status` integer

## Response `200`

OK

- ResultResult
  - `code` integer — 状态码
  - `data` unknown
  - `message` string — 提示信息

---

[API](https://skmtc.net/opsre/apis/devops.md) · [All operations](https://skmtc.net/opsre/apis/devops/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opsre/devops/versions/25cac8835c4c/schema)
