Undo message
Rolls the app back to the checkpoint a message produced, undoing everything the builder did after it.
Pass the ID of the message you want to roll back to. Find it with Read conversation messages; only a message that carries a checkpoint_id can be undone. The app’s code goes back to that saved version.
This changes the app you are building, not the app your users see. Publish with Deploy an app to make the rollback live.
Authorizations
Personal API key.
Path Parameters
ID of the message to roll back to. Take it from Read conversation messages.
ID of the app whose builder chat this request acts on.
Response
The app after it was rolled back.
The app document the chat endpoints return once a turn settles.
The real payload is the whole app document, so this is a strict subset: the fields a caller needs to see what the turn did and whether it succeeded.
ID of the app.
"6820f3a4e7b91d003c45a1f2"
Display name of the app.
"My CRM"
The app's build status once the request returned. Read state to tell a finished turn from one that is still processing or that failed.
The app's conversation, including the messages this request produced.