Case Documents
Pin or remove documents within a case. Pinned documents are highlighted in the case view and preserved during case operations.
Manage document membership within a case. Pin a document to mark it as important — pinned documents are highlighted in the UI and preserved during split operations. Remove a document to detach it from the case entirely.
Use pinning to flag key documents during case review — for example, pin the primary invoice in a multi-document case so it stays visible. Use removal when a document was incorrectly linked and should not belong to this case. Both operations are immediate and do not require a recompute.
Pin returns { "success": true } on success. Remove also returns { "success": true }. Both endpoints return 404 if the case or document is not found. The pin status is reflected in the case detail response from GET /v1/cases/:key.
Pinned documents are preserved in the original partition during split operations — they always stay with the case they are pinned to. If you plan to split a case, pin the anchor documents first. Removed documents may reappear in the case after a recompute if linking edges still connect them.
/v1/cases/:key/documents/:docId/pinResponse
Response fields
Response
{ "success": true }/v1/cases/:key/documents/:docIdResponse
Response fields
Response
{ "success": true }Errors
Error responses