Revert a recorded batch of resolved issues in one atomic transaction
Authorization
bearerAuth AuthorizationBearer <token>
Create a key under Account → API. Send it as Authorization: Bearer st_live_…. Keys carry scopes: checks:write (create, cancel, delete; add, change and delete source rules), checks:read (list, get; list source rules) and usage:read (credit position).
In: header
Path Parameters
id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/checks/497f6eca-6276-4993-bfeb-53cbbbba6f08/issues/undo-batch" \ -H "Content-Type: application/json" \ -d '{ "issueIds": [ "string" ] }'{ "ok": true, "report": { "status": "done", "rejection": { "code": "string", "message": "string" }, "text": "", "partial": false, "contentType": "prose", "languages": [], "locale": "string", "wordCount": 0, "checkedWords": 0, "originalityScore": 0, "similarityScore": 0, "coverage": 0, "spans": [], "matches": [], "sources": [], "issues": [], "scores": { "plagiarism": 0, "citation": 0, "grammarSpelling": 0, "aiContent": 0, "clarity": null }, "bibliographyStart": 0, "passes": { "language": "ok", "aiContent": "ok" }, "aiDetector": { "name": "string", "version": "string" }, "bibliography": { "ownsHeading": true, "entries": [ { "sourceId": 0, "text": "string" } ] }, "meta": { "durationMs": 0, "sourcesExcludedByRules": 0 }, "edits": [ { "id": "string", "at": "string" } ] }, "issue": { "id": "string", "category": "spelling", "severity": "error", "title": "string", "message": "string", "messageByStyle": { "APA": "string", "MLA": "string", "Chicago": "string" }, "note": "string", "original": { "text": "string", "start": 0, "end": 0 }, "fix": { "replacement": "string", "label": "string", "byStyle": { "APA": "string", "MLA": "string", "Chicago": "string" } }, "sourceUrl": "string", "matchId": 0, "rule": "orphan_marker", "locale": "string", "status": "open", "staledBy": { "by": "string", "relStart": 0, "status": "open" }, "appliedReplacement": "string", "citedSourceId": 0, "citationGroupId": "string", "rephrase": { "text": "string", "variant": 0, "of": "string", "verified": { "version": "string", "score": 0, "cleared": true, "attempts": 1, "notChecked": true } }, "layers": [ "rephrase" ], "followed": { "by": "string", "relStart": 0, "before": { "text": "string", "attribution": "cited", "verdict": "original", "similarity": 0 } } }, "fixedCount": 0, "citedCount": 0, "quotedCount": 0, "staleCount": 0, "skippedCount": 0, "ignoredCount": 0, "undoneCount": 0, "restyled": { "citations": 0, "suggestions": 0, "bibliography": 0 }}