---
title: "Export Session Data"
method: GET
path: "/v3/sessions/{session_id}/export"
tags: ["Sessions"]
---

# Export Session Data

`GET /v3/sessions/{session_id}/export`

Downloads session data as PCAP or raw payload for a single session.
Use the `type` parameter to select the export format.

Not available when `scope=demo` (returns 403).

## Path parameters

- `session_id` string, required

## Query parameters

- `scope` 'workspace' | 'demo'
- `type` 'pcap' | 'rawSource' | 'rawDestination'

## Response `200`

Session data file in the requested format.

## Other responses

- `400` — Bad request - request syntax is invalid for the specified endpoint. Verify request syntax and try again.
- `401` — Unauthorized. Please check your API key.
- `403` — Forbidden - request is not authorized due to an invalid API key or plan limitations. If due to plan limitations, contact sales@greynoise.io to upgrade your plan and unlock full results.
- `404` — Resource not found.
- `429` — Too many requests. You've hit the rate-limit.
- `500` — Unexpected error

---

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