Return to Settings · Credits

Daryaptu API

Results through an API or the dashboard. ఫలితాలు API ద్వారా లేదా డాష్‌బోర్డ్ ద్వారా.

OpenAPI 3.1 specification (openapi.json)

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 ఎండ్‌పాయింట్లు

  1. GET/api/v1/results
  2. POST/api/extract
  3. POST/api/assistant
  4. POST/api/embed
  5. GET/api/workspace-config