Available since CLI v8.4.0.
checkly test-sessions command lets you inspect recorded test sessions from the terminal. Use it to list recent sessions, review a session, wait for a running session to finish, or inspect a test session error group before starting root cause analysis.
Prerequisites
Prerequisites
Before using
checkly test-sessions, ensure you have:- Checkly CLI installed
- Valid Checkly account authentication (run
npx checkly loginif needed) - A recorded test session ID
Usage
Terminal
Subcommands
checkly test-sessions list
The
checkly test-sessions list command is only available since CLI v8.5.0.Terminal
List Options
Number of test sessions to return, between 1 and 100.Usage:
Terminal
Cursor for paginating through results. Use the cursor value from the previous output, or the next-page command shown in table output.Usage:
Terminal
Only include test sessions created at or after this point in time. Accepts an ISO date (such as
2026-06-01) or a Unix timestamp in seconds.Usage:Terminal
Only include test sessions created before this point in time. Accepts an ISO date or a Unix timestamp in seconds.Usage:
Terminal
Filter sessions by status. Available values:
running, failed, passed, cancelled. Specify multiple times to match more than one status.Usage:Terminal
Filter sessions by Git branch name. Specify multiple times to match more than one branch.Usage:
Terminal
Filter sessions by commit owner or invoking user ID. Specify multiple times to match more than one user.Usage:
Terminal
Include sessions that have no commit owner and no invoking user.Usage:
Terminal
Filter sessions by the provider that triggered them. Available values:
github, vercel, api, trigger, pw_reporter. Specify multiple times to match more than one provider.Usage:Terminal
Search test session text fields. The query must be between 3 and 200 characters.Usage:
Terminal
Filter sessions by a test-session error group ID.Usage:
Terminal
Set the output format. Use
json for programmatic access or md for markdown.Usage:Terminal
List Examples
Terminal
checkly test-sessions get
Get details of a recorded test session, including result error groups for RCA.
Usage:
Terminal
Options:
Get Options
Available in CLI v8.7.0+.
Terminal
Show details for a test session error group from the selected session. Use this after the session summary shows one or more error group IDs.Usage:
Terminal
Set how many error group IDs to show in the session summary.Usage:
Terminal
Print the complete raw error when you inspect a test session error group.Usage:
Terminal
Available in CLI v8.5.0+.
Terminal
Set the output format. Use
json for programmatic access or md for markdown.Usage:Terminal
Get Examples
Terminal
Related Commands
checkly trigger- Trigger deployed checks as a test sessioncheckly test- Test local checks as a test sessioncheckly rca- Trigger root cause analysis for error groupscheckly assets- List and download result assets from a test session