applications

Rewind AI Edit Session

Drop every step with messageIdx >= the supplied value. The draft is restored from the snapshot taken just before the cut.

post/applications/{resultId}/ai-edit/rewind

Request

  • Base URL: https://api.aiapplyd.com/api/v1
  • URL: https://api.aiapplyd.com/api/v1/applications/{resultId}/ai-edit/rewind
  • Auth: HTTP bearer

Path parameters

resultIdstring required

Application result identifier

Example:1

Request body

messageIdxinteger required

Drop every step with messageIdx >= this value. messageIdx=0 wipes the session back to originalContent.

sessionIdstring required

Example request

{
  "messageIdx": 2
}

Response

Draft rewound

successtrue required

Example response

{
  "meta": {
    "duration": 150,
    "requestId": "req_abc123",
    "timestamp": "2026-10-13T10:27:20.268Z",
    "version": "v1"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.