Grist Octri Preview
POST/docs/{docId}/assign

Reassign document to appropriate worker

Administrative endpoint that checks if a document is assigned to the expected worker group and frees it for reassignment if not. Used for load balancing and maintenance operations.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 parameters
docIdstringrequired
A string id (UUID)
groupstringoptional
Update the document's worker group (requires special permit)

1 status code
200Assignment result