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

# Export Credentials to CSV

`GET /api/v1/credentials/export/csv`

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

## Query parameters

- `type` 'SnmpV1' | 'SnmpV2c' | 'SnmpV3' | 'DockerProxy' | 'DockerSocket' | 'PodmanProxy' | 'PodmanSocket' | 'UnifiApiKey' | 'UnifiLocalAdmin' | 'InstantOnAccount'
- `group_by` 'created_at' | 'name' | 'updated_at'
- `order_by` 'created_at' | 'name' | 'updated_at'
- `order_direction` 'asc' | 'desc' — Direction for ORDER BY clauses.
- `limit` integer, nullable
- `offset` integer, nullable

## Response `200`

CSV file containing Credentials

## Changes

- **2026-08-16** `e569ec0ae488` — 1 info
  - added the enum value `InstantOnAccount` to the property `oneOf[#/components/schemas/CredentialTypeDiscriminants]/` of the `query` request parameter `type`
- **2026-07-29** `51af15be596e` — 1 info
  - for the `query` request parameter `type`, the type/format was generalized from `string, null`/`` to ``/``

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/credentials/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)
