Run a script fragment against the session's page, then observe it.
POST/api/v1/explore-sessions/:id/do
The fragment is checked like a journey script (L2; a fragment that
fails the check is an error observation) and runs with the bounds
of docs/journeys.md §4 and a 30 s timeout. An empty script only
observes. A session takes one request at a time. Only the session's
creator may use it.
Request
Responses
- 200
- 404
- 409
- 410
- 422
- 502
- 504
Outcome of the fragment and the page after it.
Not found.
explore.busy: the previous request is still running.
explore.closed: the session ended; detail gives the reason (stopped, idle, expired, runner_lost, failed).
Validation errors.
explore.runner_error: the runner could not handle the request (browser unavailable, session lost); detail says why.
explore.timeout: the runner did not answer in time (explore.runner_unavailable when it did not even claim the request within 15 s).