---
title: "Export filtered Scan results"
method: POST
path: "/v1/scans/results/export"
tags: ["export"]
---

# Export filtered Scan results

`POST /v1/scans/results/export`

Export filtered scan results

## Query parameters

- `type` 'json' | 'csv' | 'pdf'

## Headers

- `X-Team-Id` string

## Request body

- object
  - `ids` string[]
  - `vuln_status` string
  - `severity` string[]
  - `host` string[]
  - `domain` string[]
  - `port` integer[]
  - `template` string[]
  - `search` string
  - `category` string[]
  - `is_internal` boolean
  - `scan_ids` string[]
  - `time` 'last_day' | 'last_week' | 'last_month' | 'last_3_months' | 'last_6_months' | 'last_12_months' | 'all_time'
  - `start_date` string, date
  - `end_date` string, date

## Response `200`

OK

## Other responses

- `201` — Created
- `401` — Example response
- `403` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-11-18** `41ee26b930f3` — 1 info
  - added the new optional request property `is_internal`
- **2025-10-28** `c9df54e2fb2c` — 3 info
  - added the new optional request property `end_date`
  - added the new optional request property `start_date`
  - added the new optional request property `time`
- **2025-08-13** `c41cd7ae7718` — 3 info
  - added the new optional request property `category`
  - added the new optional request property `domain`
  - added the new optional request property `port`
- **2024-09-22** `407b73d9ce28` — 1 info
  - endpoint added
- **2023-12-05** `5c3748c387f7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/scans/results/export/post.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/220f0adf9efd/schema)
