Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sessions

What a Currents session holds, which keys can create and read one, how to list and delete sessions with the API, and their limits

This page is the reference for sessions. To record one, start at Agent evidence.

A session is one recording that an agent or a person saved to Currents: the files of a task, such as screenshots, videos, Playwright traces and logs, with a title and a status.

A session holds:

  • A title, a passed or failed status, an error, and tags

  • The commit, branch and pull request

  • The files

A session is not a test run. It has no spec files or tests, and it does not appear in run lists, analytics or flakiness.

Create a session

From
Use

An agent connected to the Currents MCP server

The Currents MCP tools. See Record without the Currents CLI.

A script

A terminal: currents session start, attach with a folder of evidence, and share, which prints the session link and its Markdown link

Keys

Key
Can

Create a session, attach files, and share it

Read & Write API key

Everything: create, attach, share, list, read and delete

Read Only API key

List and read sessions, and create trace API links

List and delete sessions

The dashboard has no list of sessions. Use the API:

  • GET /v1/projects/:projectId/sessions lists a project's sessions, newest first. It filters by branch, tag, pull request, date and text, as the run list does.

  • DELETE /v1/sessions/:sessionId deletes a session, its files and its links.

Limits

  • A session holds up to 200 files, of up to 1 GiB each.

  • A session link lasts 1, 3 or 7 days, 7 by default. A link posted in a pull request stops working after that; share the session again for a new link. See Share links.

  • The files stay until you delete the session, within your plan's data retention.

  • A trace holds request bodies, headers and cookies, and anyone with the link can read them. Record with test accounts.

  • Anyone who has your record key can create sessions and share links in your organization. Keep it in your CI secrets, as you do for runs.

  • Self-hosted Currents has no trace API, so the session page has no trace player there.

Last updated

Was this helpful?