sessions
Rotate a repository's token [write]
Changed onOnly github_repository resources accept an update, and the token is the only field: it is re-encrypted and the session's egress policy is recompiled and pushed to its live pod — nothing changes inside the sandbox. A file or memory store answers 400. A token that conflicts with another secret's Authorization header on github.com answers 400 egress_header_conflict.
post/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_…)
Request body
Response
OK
Changes
- info
added the optional property
/to the response with the status
- info