sessions
Add a file to a running session [write]
Changed onFiles only — repositories and memory stores can only be attached at session create. The file is copied read-only to /workspace<mount_path> before the session's next turn; mount_path follows the create rules (rooted under /workspace, no escape, no overlap with another resource). 400 too_many_resources past 500 per session; 400 session_archived on an archived session.
post/sessions/{id}/resources
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/sessions/{id}/resources
- AuthHTTP bearer
Path parameters
idstring required
The session id (sess_…)
Request body
Response
OK
Changes
- info
added the optional property
/to the response with the status
- info