Get checklist validation results for a directory (folder)
Evaluate every AI checklist that targets this folder and return the pass/fail verdict for each, with the counts behind it and the document types it is still missing.
More details
More details
directoryId(required): The directory to evaluate
skipCache(optional, defaultfalse): Re-run the underlying queries instead of reading the cached result. The cache is invalidated whenever the folder’s contents change through this API, so the default is correct for almost every caller; passtrueonly when a change was made by another path and you need the folder re-read now. It is a heavy folder-tree query, so prefer the default. Acceptstrue,false,1or0— any other value is a 422.
pass/fail: how many entries inchecklistspassed and failed. Counts of checklists, NOT of documents.fail: 0is the all-passed case.checklists: one entry per checklist targeting the folder, each withchecklistId,checklistName,status,summaryandmissingSchemas.
summary carries all three keys, 0 when unused:missing: required document types absent from the foldercomplete: present documents with every required field filledincomplete: present documents with at least one required field empty
- A checklist passes when
missingandincompleteare both 0. missingSchemasnames the document types behindmissing(deduped,schemaId+schemaName). It is always present and empty on a passing checklist. Prefer it over inferring the types from the count.- A presence-only checklist (no field rules) reports
complete: 0, incomplete: 0and is judged onmissingalone. checklists: []means no checklist targets this folder. It is NOT an all-passed result, and no other field distinguishes the two — check the array before readingfail: 0as a pass.- A checklist with no name is returned as
Untitled checklist. directoryIdis echoed back in canonical lowercase form regardless of the case you send.- This endpoint only reads. It never changes the folder, its files, or any checklist.
Authorizations
API key for authentication
Path Parameters
Query Parameters
Re-run the checklist queries instead of reading the cached result. Defaults to false. Accepts true, false, 1 or 0; any other value is rejected.
false
Response
The checklists targeting this folder, evaluated now. An empty checklists array means no checklist targets the folder.
The directory that was evaluated, in canonical lowercase form.
"649e2d2d2d2d2d2d2d2d2d2d"
How many entries in checklists passed. A count of checklists, not of documents.
1
How many entries in checklists failed. A count of checklists, not of documents. 0 is the all-passed case.
1
One entry per checklist that targets this folder, evaluated live. Empty when no checklist targets the folder at all — there is no separate field for that case.