Sample Workflows
The following examples illustrate how trusted clients interact with the FastAPI gateway. Replace placeholder URLs with the final custom domains once DNS is provisioned.
Submit Evidence (User)
POST https://fastapi-gateway-y5jge5w2cq-uc.a.run.app/api/v1/cases
Authorization: Bearer <id_token>
Content-Type: application/json
{
"channel": "web-intake",
"description": "I was contacted by someone claiming to be a crypto advisor...",
"attachments": [
{
"type": "image",
"uri": "gs://i4g-evidence-dev/uploads/case_1234/chat1.png"
}
]
}Response (Submit Evidence)
{
"case_id": "case_1234",
"status": "queued",
"next_steps": "An analyst will review your case within 72 hours."
}Analyst Decision
Report Download (Law Enforcement)
Response (Report Download)
200 OKwith PDF payload.Headers include
X-I4G-Report-Hashfor signature verification.
Error Handling
Errors conform to the following envelope:
Include the correlation ID when escalating issues to the engineering team.
Last updated