Skip to main content
GET
List roleplays

Authorizations

Authorization
string
header
required

Use a public API key with the endpoint's required scope.

Query Parameters

workspace_id
string<uuid>

Only sessions by members of this workspace. It must be within the API key's accessible scope.

page
integer
default:1

Page number.

Required range: x >= 1
limit
integer
default:50

Number of items to return.

Required range: 1 <= x <= 100
user_id
string<uuid>

Only sessions by this user.

roleplay_persona_id
string<uuid>

Only sessions with this persona.

scorecard_id
string<uuid>

Only sessions scored with this scorecard.

mode
enum<string>

Only scored or only practice sessions.

Available options:
scored,
practice
status
enum<string>

Only sessions with this status.

Available options:
in_progress,
ready,
completed,
failed
date_from
string

Only sessions started at or after this time. An ISO 8601 date (2026-11-23, the start of that day in UTC) or a date-time with a timezone (2026-11-23T10:00:00Z).

date_to
string

Only sessions started before this time (exclusive), in the same formats as date_from. Must not be before date_from.

Response

Roleplay sessions the API key can see.

data
object[]
required
pagination
object
required