---
title: "Download a trace file"
method: GET
path: "/sessions/{userId}/traces/{filename}"
tags: ["Sessions"]
---

# Download a trace file

`GET /sessions/{userId}/traces/{filename}`

Streams a Playwright trace zip for viewing in trace.playwright.dev.

## Path parameters

- `userId` string, required
- `filename` string, required

## Response `200`

Trace zip stream.

## Other responses

- `400` — Invalid filename.
- `403` — Forbidden.
- `404` — Trace not found.
- `500` — Server error.

## Changes

- **2026-04-25** `c1d40cacc1fd` — 1 info
  - endpoint added
- **2026-04-25** `80bb18f1c19f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/jo-inc/apis/camofox-browser/changes/sessions/:userId/traces/:filename/get.md)

---

[API](https://skmtc.dev/jo-inc/apis/camofox-browser.md) · [All operations](https://skmtc.dev/jo-inc/apis/camofox-browser/llms.txt) · [OpenAPI document](https://skmtc.dev/jo-inc/apis/camofox-browser/revisions/497e1f7d9303?raw)
