---
title: "Export global logs"
method: GET
path: "/api/logs/export"
tags: ["logs"]
---

# Export global logs

`GET /api/logs/export`

Streams filtered global logs as a CSV table file

## Query parameters

- `start_timestamp` integer
- `end_timestamp` integer
- `model_name` string
- `channel` integer
- `order` string
- `request_id` string
- `upstream_id` string
- `code_type` string
- `code` integer
- `include_detail` boolean
- `ip` string
- `user` string
- `timezone` string
- `max_entries` integer
- `chunk_interval` string

## Changes

> 52 revisions in range; 30 could not be searched.

- **2025-05-23** `544096a3f194` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/changes/api/logs/export/get.md)

---

[API](https://skmtc.dev/labring/apis/ai-proxy-swagger-api.md) · [All operations](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/labring/ai-proxy-swagger-api/revisions/696faf563b42/schema)
