scf_assessment_read
Read AI evidence assessments to retrieve file verdicts, summaries, review queues, window assessments, and control composites. Choose a method to inspect assessment status, scores, findings, and costs.
Instructions
Read AI evidence assessments: a file's verdict, the file summary, review queues, window assessments (list, one, versions, summary), and control composites. Pick with method.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | file (default): entries carry file_id, act with scf_review_evidence_assessment. window: entries carry window_assessment_id, act with scf_review_window_assessment_verdict Used by: review_queue. | |
| limit | No | Page size (1–200, default 50) [review_queue] | Page size (1–100, default 10) [list_windows] | Page size (1–500, default 100) [list_control_composites] Used by: review_queue, list_windows, list_control_composites. | |
| cursor | No | Opaque pagination cursor — pass next_cursor from a prior response Used by: list_control_composites. | |
| domain | No | Filter by SCF domain code (e.g., 'BCD', 'GOV', 'AST') Used by: list_control_composites. | |
| method | Yes | file_assessment: Get the AI assessment for an evidence file: status, relevance score (0–100), findings, summary, audit metadata (model, tokens, cost). Findings name catalogue-mapped controls, not only in-scope ones. file_summary: Get aggregate AI assessment metrics for the organization dashboard: total assessed, counts by status, unassessed count, average relevance score, and total cost in cents. review_queue: List AI verdicts awaiting a human decision, worst first (read — viewer role). tier=file (default) lists per-file verdicts; tier=window is the web app's Awaiting-confirmation queue. list_windows: List recent windowed AI assessments for an evidence item (newest first). Each entry includes window bounds, frequency, file IDs, coverage, status, relevance score, findings, and cost. window: Get one windowed AI assessment by ID. Returns full detail: window bounds, frequency, file IDs, coverage, expected artifact types, status, relevance score, findings, summary, hashes, tokens, cost. window_versions: List every AI verdict a window assessment has received, newest first (read — viewer role). Each version is frozen as reached (model, prompt version, designations) plus any human decision on it. window_summary: Get aggregate windowed-assessment metrics for the organization dashboard: total windows assessed, counts by status (including `insufficient_sample`), average relevance score, and total cost in cents. control_composite: Get the rolled-up assessment composite for one SCF control: composite score, status band, included/missing evidence IDs, mandatory gaps, per-window detail. 404 if no composite row exists yet (async). list_control_composites: List rolled-up assessment composites for the org. Cursor-paginated, worst-band first (insufficient → sufficient). Filter by status/domain/computation_version. Pass next_cursor to page forward. | |
| offset | No | Pagination offset (default 0) [review_queue] | Pagination offset — number of results to skip (default 0) [list_windows] Used by: review_queue, list_windows. | |
| org_id | Yes | Organization UUID — obtain from scf_list_organizations | |
| scf_id | No | SCF control identifier in DOMAIN-NN format (e.g., 'AST-01', 'GOV-02') Used by: control_composite. | |
| status | No | Queue filter (default awaiting) [review_queue] | Comma-separated composite_status values to include (e.g., 'insufficient,partial'). Valid values: insufficient, insufficient_sample, partial, pending, no_evidence, sufficient [list_control_composites] Used by: review_queue, list_control_composites. | |
| file_id | No | Evidence file UUID — obtain from scf_list_evidence_files Used by: file_assessment. | |
| evidence_id | No | Evidence ID (e.g., 'ERL-IAM-001') — obtain from scf_list_evidence [file_assessment] | Evidence ID (e.g., 'E-IAM-01') — obtain from scf_list_evidence [list_windows] Used by: file_assessment, list_windows. | |
| assessment_id | No | Windowed assessment UUID — obtain from scf_list_window_assessments [window] | Window assessment UUID — obtain from scf_list_window_assessments [window_versions] Used by: window, window_versions. | |
| computation_version | No | Restrict to composites computed at this algorithm version Used by: list_control_composites. |