Two ways to get results ఫలితాలు పొందే రెండు మార్గాలు
Local mode: Results export
Records stay in the officer's browser. Open Settings → Results export and download JSON or CSV. The file is redacted for the role chosen in the profile.
రికార్డులు అధికారి బ్రౌజర్లోనే ఉంటాయి. సెట్టింగ్స్ → ఫలితాల ఎగుమతి నుండి JSON లేదా CSV డౌన్లోడ్ చేయండి.
Shared mode: GET /api/v1/results
Needs the department's own Supabase project with invited accounts. Send the member's session token; row-level security limits the cases to that member's station, district or state view.
శాఖ సొంత Supabase ప్రాజెక్ట్, ఆహ్వానిత ఖాతాలు అవసరం. సభ్యుని సెషన్ టోకెన్ పంపండి; పరిధిని row-level security నిర్ణయిస్తుంది.
curl -H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN" https://<deployment>/api/v1/results curl -H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN" "https://<deployment>/api/v1/results?format=csv"
Without the shared project the endpoint answers 501 with {"ok":false,"error":{"code":"local_mode",…}}.
The results document ఫలితాల పత్రం
Versioned JSON (schemaVersion): firs, verified facts with the exact source quote and quoteSha256, network nodes and edges, hotspots, rule-based risk scores, the audit trail and pilotMetrics. Risk scores are indicators for review; legal sections remain officer decisions.
Endpoints ఎండ్పాయింట్లు
- GET/api/v1/results
- POST/api/extract
- POST/api/assistant
- POST/api/embed
- GET/api/workspace-config