List attachments
Artifacts produced by the session: diffs, logs, screenshots, and build outputs. By default the list also carries the Session's bookkeeping rows (for example one prompt_stamp per turn), which have no file and a null url; pass view=files for only the files a person can open. A file's url is either a permanent media link or a signed storage link that stops working at url_expires_at (one hour after this response). Nothing is lost when it expires: call this endpoint again, or GET .../attachments/{attachmentId}, for a fresh link at any time.
<sub>Scope: sessions:read</sub>
Request
- Base URL: https://api.reasonmachines.com
- URL: https://api.reasonmachines.com/v3/organizations/{orgId}/sessions/{sessionId}/attachments
- Auth: HTTP bearer
Query parameters
files returns only the files a person can open: screenshots, recordings, logs and files the agent kept, each with a download url. all (the REST default) also returns the Session's bookkeeping rows, such as one prompt_stamp per turn, which have no file and a null url.
Response
The session's attachments.
Changes
No recorded changes to this operation across all 1 revision of this API.