Sessions
Clone a session
Clones a session (called a "notebook" in the product UI), including its messages and attachments. Omit targetSurface to inherit the source workspace, send null for the main notebook list, or send a surface id for another workspace. An API key needs notebooks:write.
post/api/v1/sessions/{id}/clone
Request
- Base URL: https://your-deployment.example.com
- URL: https://your-deployment.example.com/api/v1/sessions/{id}/clone
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Path parameters
idstring required
Request body
Example request
{}Response
The cloned session.
Changes
No recorded changes to this operation across all 1 revision of this API.