---
title: "Export user limits as CSV."
method: GET
path: "/admin/user_limits/export"
tags: ["System"]
---

# Export user limits as CSV.

`GET /admin/user_limits/export`

## Request

- Base URL: `https://h2ogpte.genai.h2o.ai/api/v1`
- URL: `https://h2ogpte.genai.h2o.ai/api/v1/admin/user_limits/export`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/admin/user_limits/export/get.ts> (a function with typed inputs; its response is checked against the schema)

Generates and streams a CSV of user limits data. Admin only.

## Query parameters

- `search` string
- `filter` string
- `user_ids` string

## Response `200`

CSV file download

## Other responses

- `400`: Bad request
- `401`: Unauthorized - Invalid or missing API key
- `403`: Admin access required.
- `default`: Unexpected error

---

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