Review drafts
Confirm, reject or make private drafts by id. Ids the key cannot see are skipped. Contributions need the company owner's key.
POST
/api/v1/workspaces/:slug/drafts/reviewWrite · editor keyAuthentication
Authorization: Bearer sa_… from the workspace owner or a member. Counts against the upload rate limit.
Parameters
Path
- slugstringrequired
Workspace slug
Body
- idsstring[]required
Draft component ids, draft value ids or contribution ids from list_drafts
min 1 itemmax 500 items - actionenumrequiredconfirmrejectprivate
Request
curl -X POST "https://systematlas.org/api/v1/workspaces/acme-builders/drafts/review" \
-H "Authorization: Bearer sa_…" \
-H "content-type: application/json" \
-d '{"ids":["3f1c2a4e-1b7d-4c55-9a8e-3d2f6b1c0e91"],"action":"confirm"}'Response
200 with the result in data (abbreviated here). Errors are listed in Errors and limits.
Response
{
"data": {
"done": 1,
"skipped": 0
}
}Over MCP
The same call as an MCP tool: review_drafts.