Self Image
Return the latest Self-Image brief for the target entity (null shape if none).
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Target entity UUID
Successful Response
Wire shape for a Self-Image brief.
event_id is null when no brief has ever been generated for the
entity. All other fields are nullable in that case so the UI can
render a consistent empty state.
falseValidation Error
GET /v1/{workspace_id}/entities/{entity_id}/brief HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"event_id": "123e4567-e89b-12d3-a456-426614174000",
"target_entity_id": "123e4567-e89b-12d3-a456-426614174000",
"target_entity_type": "patient",
"content_md": "text",
"content_json": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"version": "text",
"evidence_event_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"confidence": 1,
"event_count": 1,
"model_name": "text",
"truncated": false,
"generated_at": "2026-01-01T00:00:00.000Z"
}Generate a Self-Image brief for the target entity (patient, cohort, territory, emirate, or district).
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Target entity UUID
Successful Response
Wire shape for a Self-Image brief.
event_id is null when no brief has ever been generated for the
entity. All other fields are nullable in that case so the UI can
render a consistent empty state.
falseValidation Error
POST /v1/{workspace_id}/entities/{entity_id}/brief HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"event_id": "123e4567-e89b-12d3-a456-426614174000",
"target_entity_id": "123e4567-e89b-12d3-a456-426614174000",
"target_entity_type": "patient",
"content_md": "text",
"content_json": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"version": "text",
"evidence_event_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"confidence": 1,
"event_count": 1,
"model_name": "text",
"truncated": false,
"generated_at": "2026-01-01T00:00:00.000Z"
}Return the latest workspace-level Self-Image brief (null shape if none).
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
Wire shape for a Self-Image brief.
event_id is null when no brief has ever been generated for the
entity. All other fields are nullable in that case so the UI can
render a consistent empty state.
falseGET /v1/{workspace_id}/brief HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Successful Response
{
"event_id": "123e4567-e89b-12d3-a456-426614174000",
"target_entity_id": "123e4567-e89b-12d3-a456-426614174000",
"target_entity_type": "patient",
"content_md": "text",
"content_json": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"version": "text",
"evidence_event_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"confidence": 1,
"event_count": 1,
"model_name": "text",
"truncated": false,
"generated_at": "2026-01-01T00:00:00.000Z"
}Generate a workspace-level Self-Image brief (Opus 4.7).
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
Wire shape for a Self-Image brief.
event_id is null when no brief has ever been generated for the
entity. All other fields are nullable in that case so the UI can
render a consistent empty state.
falsePOST /v1/{workspace_id}/brief HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Successful Response
{
"event_id": "123e4567-e89b-12d3-a456-426614174000",
"target_entity_id": "123e4567-e89b-12d3-a456-426614174000",
"target_entity_type": "patient",
"content_md": "text",
"content_json": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"version": "text",
"evidence_event_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"confidence": 1,
"event_count": 1,
"model_name": "text",
"truncated": false,
"generated_at": "2026-01-01T00:00:00.000Z"
}Last updated
Was this helpful?

