sessions
Remove a file from the session [write]
Changed onFiles only — the resource and its per-session copy are deleted and the pod unlinks the file before the session's next turn. A repository or memory store answers 400: neither can be removed mid-session.
delete/sessions/{id}/resources/{rid}
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/sessions/{id}/resources/{rid}
- AuthHTTP bearer
Path parameters
idstring required
The session id (sess_…)
ridstring required
The resource id (sesrsc_… or smsr_…)
Response
OK
Changes
- info
added the optional property
/to the response with the status
- info