---
title: "Search download"
method: POST
path: "/cve/search/download"
tags: ["CVEs"]
---

# Search download

`POST /cve/search/download`

Initiates the creation of the file with data about CVEs that matched the search query. When the file is created, it will be available for download. On the successful call, returns the unique identifier that represents the file creation process. The file creation is an asynchronous process because the amount of data that should be exported to the file and the export duration is hard to predict. The call to this endpoint just initiates the file creation. To check the file status and get the download link, send a GET request to the `/v4/data/account/downloads/` API endpoint with the identifier returned by this endpoint. The number of rows available for download is determined by the subscription plan.

## Request body

- SearchCVECreateDownloadRequest
  - `column_list` string[], required — List of columns to download. Supported values: ```id, base_score, severity, vector, description```
  - `description` string — An optional field with a short file description. Max length: 254 characters.
  - `file_format` 'csv' | 'ndjson', required — The file format to use for the file creation. Supported values: ```ndjson```, ```csv```.
  - `rows_count` integer — The number of rows the user wants to receive in the current download request.
  - `search_params` object[], required — A list of CVE attributes to filter the search results by. A comprehensive list of valid search parameters is shown in the table below.

## Response `200`

Operation successful

- DownloadResponse
  - `data` DownloadResponseData
    - `download_id` integer — Unique identifier that represents the file. Use this identifier to check the file creation status and get the download link at the `/v4/data/account/downloads/` API endpoint.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/spyse/apis/data-api.md) · [All operations](https://skmtc.net/spyse/apis/data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spyse/data-api/versions/fd05b83ed2c5/schema)
