session
Fork session
Changed onCreate a child session by copying projected history before a message. Omit before to copy the full history.
post/api/session/{sessionID}/fork
Request
- Base URLhttps://opencode.ai (the document declares no server; this is the origin it was published from)
- URLhttps://opencode.ai/api/session/{sessionID}/fork
- Authnone required
Path parameters
sessionIDstring required
Request body
Response
Success
Changes
- info
added the optional property
////to the response with the status
- info
- info
removed from the response body
anyOflist for the response status
- info