session
Fork session
Create a child session by copying projected history before a message. Omit before to copy the full history.
post/api/session/{sessionID}/fork
Request
- Base URL: https://opencode.ai (the document declares no server; this is the origin it was published from)
- URL: https://opencode.ai/api/session/{sessionID}/fork
- Auth: none required
Path parameters
sessionIDstring required
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.