Sessions and replays
A session is one execution of an agent. A replay re-runs a session with the same inputs and state for debugging.
List sessions
const { data: sessions } = await client.session.list()Create a replay
const { data: replay } = await client.replay.create({ body: { sessionId: session.id, publisherId, slug: "repro-support-bug", },})