---
title: "Download Operational Logs for One Atlas Stream Processing Workspace"
method: GET
path: "/api/atlas/v2/groups/{groupId}/streams/{tenantName}:downloadOperationalLogs"
tags: ["Streams"]
---

# Download Operational Logs for One Atlas Stream Processing Workspace

`GET /api/atlas/v2/groups/{groupId}/streams/{tenantName}:downloadOperationalLogs`

Downloads the operational logs for the specified Atlas Streams Processing workspace or stream processor. By default, logs cover periods of 30 days. The API does not support direct calls with the json response schema. You must request a gzip response schema using an accept header of the format: "Accept: application/vnd.atlas.2025-03-12+gzip".

## Path parameters

- `groupId` string, required
- `tenantName` string, required

## Query parameters

- `envelope` boolean
- `endDate` integer
- `startDate` integer
- `spName` string

## Response `200`

OK

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `409` — Conflict.
- `429` — Too Many Requests.
- `500` — Internal Server Error.

---

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