Get the files of a saved step
Returns a download URL for each file a completed step saved. Available when the model
saves step results (it turns them on in its reactor.yaml with runtime.step_results).
The endpoint keeps working after the session ends.
files lists every file the step’s result.json names, then result.json itself. A
failed step has a result.json with an error and no other files. Fetch each url
before expires_at and treat it as opaque; call again for fresh URLs.
A step’s files are uploaded after the model produces them, and often after the session
closes, so a closed session can still answer 202. A step that has not arrived 10 minutes
after the session closed will not arrive, and answers 404. A session whose start was
refused ran no step, so it answers 404 as soon as it is closed.
Callable by a developer of the account that ran the session or of the account that owns
the model. A session token reads only the sessions bound to it.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Headers
The API protocol version the client speaks. Currently 1. Older versions than the server's minimum get 426.
"1"
Path Parameters
The session's ID, as returned by POST /sessions.
The step number. Steps count from 1 in each session.
1 <= x <= 21474836471