---
title: "Export Discoveries to CSV"
method: GET
path: "/api/v1/discovery/export/csv"
tags: ["Discoveries"]
---

# Export Discoveries to CSV

`GET /api/v1/discovery/export/csv`

Export all Discoveries matching the filter criteria to CSV format. Ignores pagination parameters (limit/offset) and exports all matching records.

## Query parameters

- `network_id` string, uuid, nullable
- `daemon_id` string, uuid, nullable
- `historical` boolean, nullable
- `search` string, nullable
- `group_by` 'created_at' | 'name' | 'updated_at' | 'daemon_id' | 'network_id' | 'discovery_type' — Fields that discoveries can be ordered/grouped by.
- `order_by` 'created_at' | 'name' | 'updated_at' | 'daemon_id' | 'network_id' | 'discovery_type' — Fields that discoveries can be ordered/grouped by.
- `order_direction` 'asc' | 'desc' — Direction for ORDER BY clauses.
- `limit` integer, nullable
- `offset` integer, nullable

## Response `200`

CSV file containing Discoveries

---

[API](https://skmtc.net/scanopy/apis/scanopy-api.md) · [All operations](https://skmtc.net/scanopy/apis/scanopy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scanopy/scanopy-api/revisions/2df1fc47dfa7/schema)
