Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Currents trace Download API
version: '1'
description: On-demand access to Playwright trace contents (screencast frames, trace summary, DOM snapshots, network requests, attachments) via ranged zip reads. Human-readable docs at /docs.
servers:
- url: https://t.crts.sh
tags:
- name: Download
paths:
/{slug}/download:
get:
summary: Download the trace zip
description: The trace archive, for Playwright’s own trace viewer (https://trace.playwright.dev/?trace=) or any tool that reads the zip. Supports Range requests.
parameters:
- name: slug
in: path
required: true
description: Link slug minted by the Currents backend; grants read access to one trace until the link expires.
schema:
type: string
pattern: ^[A-Za-z0-9_-]{16}$
responses:
'200':
description: Download the trace zip (application/zip)
'206':
description: the bytes the Range header asked for; Content-Range names them and the zip size
content:
application/zip:
schema:
type: string
format: binary
'400':
description: invalid parameters
'404':
description: unknown or expired link, or not found in this trace
'413':
description: the trace is larger than the worker can read
'416':
description: the Range starts past the end of the zip; Content-Range is `bytes */<size>`
'422':
description: the trace artifact is not a readable zip
'502':
description: the trace could not be fetched from storage
'503':
description: this deployment has no link bucket bound, so no link can be read
tags:
- Download
operationId: getBySlugDownload
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer