---
title: "Get Task Chunk"
method: GET
path: "/v1/tasks/{task_id}/chunk"
tags: ["tasks"]
---

# Get Task Chunk

`GET /v1/tasks/{task_id}/chunk`

Get details of a task by Scan ID or Enumeration ID

## Headers

- `X-Team-Id` string

## Response `200`

Example response

- TaskChunk
  - `targets` string[]
  - `scan_id` string
  - `template_request_count` integer
  - `public_templates` string[]
  - `private_templates` string[]
  - `user_id` integer
  - `chunk_id` string
  - `scan_configuration` string, byte
  - `public_workflows` string[]
  - `private_workflows` string[]
  - `workflows_urls` string[]
  - `enrichment_id` string
  - `enumeration_configuration` string, byte
  - `status` 'pending' | 'completed' | 'failed' | 'skipped' | 'in_progress'

## Other responses

- `400` — Example response
- `401` — Example response
- `404` — Example response
- `499` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-11-18** `41ee26b930f3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/tasks/:task_id/chunk/get.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/41ee26b930f3/schema)
