---
title: "Sniffer get a pcap file"
method: GET
path: "/sniffer/{id}/pcap"
tags: ["Sniffer"]
---

# Sniffer get a pcap file

`GET /sniffer/{id}/pcap`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/sniffer/{id}/pcap`
- Auth: none declared. Required headers: `X-Auth-Token`
- TypeScript: <https://skmtc.dev/neuvector/apis/neuvector-api/docs/sniffer/:id/pcap/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Headers

- `X-Auth-Token` string, required

## Response `200`

Success. Get pcap file.

---

[API](https://skmtc.dev/neuvector/apis/neuvector-api.md) - [All operations](https://skmtc.dev/neuvector/apis/neuvector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neuvector/apis/neuvector-api/revisions/b8d8d28840b3?raw)
