Get session
session_getFetch session details by ID, including participant, role, build, and expiry. Returns an error if the session is unknown or has expired.
Instructions
Fetch a session by id: the participant under test, the role this server plays against it, the build, and when the session expires. Returns an error result if the session is unknown or has expired.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session returned by session_create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | No | What has happened in this session since your last call — the participant's callbacks, steps sent automatically, refusals, form submissions. Attached to every session-scoped result and delivered exactly once, so read it here instead of polling. Absent when nothing happened. `more` above zero means call record_get_events for the rest. | |
| session | Yes |