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

# Export Vlans to CSV

`GET /api/v1/vlans/export/csv`

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

## Query parameters

- `group_by` 'created_at' | 'name' | 'vlan_number' | 'updated_at'
- `order_by` 'created_at' | 'name' | 'vlan_number' | 'updated_at'
- `order_direction` 'asc' | 'desc' — Direction for ORDER BY clauses.
- `limit` integer, nullable
- `offset` integer, nullable
- `network_id` string, uuid, nullable
- `at` string, date-time, nullable

## Response `200`

CSV file containing Vlans

## Changes

- **2026-06-11** `aac398d6764d` — 1 info
  - added the new optional `query` request parameter `at`
- **2026-06-11** `c7bad4e3d772` — 1 warning
  - deleted the `query` request parameter `at`
- **2026-06-11** `5f1208d6d875` — 1 info
  - added the new optional `query` request parameter `at`
- **2026-04-20** `f04499e2280f` — 1 warning
  - deleted the `query` request parameter `at`

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/vlans/export/csv/get.md)

---

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