Sample Workflows

The following examples illustrate how trusted clients interact with the Core API. All authenticated endpoints require the X-API-KEY header (see Authentication).

Submit Evidence (Intake)

Evidence is submitted as multipart form data with a JSON payload and optional file attachments.

POST /intakes
X-API-KEY: <api_key>
Content-Type: multipart/form-data

--boundary
Content-Disposition: form-data; name="payload"
Content-Type: application/json

{
  "reporter_name": "Jane Doe",
  "summary": "Crypto investment scam via WhatsApp",
  "details": "I was contacted by someone claiming to be a crypto advisor...",
  "contact_email": "[email protected]",
  "source": "web-intake"
}
--boundary
Content-Disposition: form-data; name="files"; filename="chat1.png"
Content-Type: image/png

<binary data>
--boundary--

Response

Search Cases (Analyst)

Hybrid search combines semantic text matching with structured filters.

Response

Analyst Decision

After reviewing a case, the analyst records a decision.

Decision values: accepted, rejected, needs_more_info.

Dossier Download (Law Enforcement)

Dossier artifacts are downloaded by plan ID and artifact name.

Response

  • 200 OK with the artifact payload (PDF, JSON manifest, or signatures file).

Verify Dossier Signatures

Response

Intelligence Endpoints

Search Entities

Entity Detail

Entity Sparkline

List Indicators (with Category Filter)

Dashboard Widgets

Export Indicators as STIX 2.1


Error Handling

Errors conform to the following envelope:

Include the correlation ID when escalating issues to the engineering team.


Impact Dashboard Endpoints

Fetch KPI cards

The response includes KPI cards with trend direction and change text:

Loss by taxonomy

Pipeline funnel


Campaign Intelligence Endpoints

List threat campaigns

Campaign detail

Manage a campaign (rename)

LEA referral suggestions


Report Generation Endpoints

Generate a report

Response:

List generated reports

Download a report


Graph Endpoints (Sprint 4)

Get entity graph

Export graph as PNG


Taxonomy Endpoints (Sprint 4)

Sankey flow data

Heatmap grid

Trend time-series


Geography Endpoints (Sprint 4)

Country summary

Country detail


Timeline Endpoint (Sprint 4)

Activity timeline

Last updated