Conversations
Fork a conversation at a specific message
Creates a new conversation by forking an existing one at the specified message. Messages up to and including the fork point are copied to the new conversation. Branch metadata is saved to both the source and forked conversation's notebook state.
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3001/api/v1/conversations/550e8400-e29b-41d4-a716-446655440000/fork" \ -H "Content-Type: application/json" \ -d '{ "forkPointMessageId": "string" }'{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}