{
  "info": {
    "_postman_id": "3a410f59-4719-4d81-9780-c1d48b368f56",
    "name": "Amigo Account Self-Image API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:01:50.000Z",
    "updatedAt": "2026-07-28T01:01:50.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-3a410f59-4719-4d81-9780-c1d48b368f56"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "{workspace_id}",
          "item": [
            {
              "name": "entities",
              "item": [
                {
                  "name": "{entity_id}",
                  "item": [
                    {
                      "name": "brief",
                      "item": [
                        {
                          "name": "Generate Brief",
                          "id": "f8a6abb1-6b92-47e8-9ef9-87b9cb53f8e3",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/entities/:entity_id/brief",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "entities",
                                ":entity_id",
                                "brief"
                              ],
                              "variable": [
                                {
                                  "id": "ba8e2b79-c89a-428e-b7bb-3dc0c450804d",
                                  "key": "workspace_id",
                                  "value": "<uuid>",
                                  "description": "(Required) "
                                },
                                {
                                  "id": "b1b31401-3729-4603-b989-8b77a95b804f",
                                  "key": "entity_id",
                                  "value": "<uuid>",
                                  "description": "(Required) Target entity UUID"
                                }
                              ]
                            },
                            "description": "Generate a Self-Image brief for the target entity (patient, cohort, territory, emirate, or district)."
                          },
                          "response": [
                            {
                              "id": "05b5cccd-6ba6-482b-be91-08e3e4d4ee4c",
                              "name": "Successful Response",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/:workspace_id/entities/:entity_id/brief",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    ":workspace_id",
                                    "entities",
                                    ":entity_id",
                                    "brief"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace_id"
                                    },
                                    {
                                      "key": "entity_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"event_id\": \"<uuid>\",\n  \"target_entity_id\": \"<uuid>\",\n  \"target_entity_type\": \"patient\",\n  \"content_json\": {\n    \"consequat_fc0\": -38965793\n  },\n  \"confidence\": \"<number>\",\n  \"event_count\": \"<integer>\",\n  \"generated_at\": \"<dateTime>\",\n  \"content_md\": \"<string>\",\n  \"version\": \"<string>\",\n  \"evidence_event_ids\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"model_name\": \"<string>\",\n  \"truncated\": false\n}",
                              "createdAt": "2026-07-28T01:01:50.000Z",
                              "updatedAt": "2026-07-28T01:01:50.000Z",
                              "uid": "35240-05b5cccd-6ba6-482b-be91-08e3e4d4ee4c"
                            },
                            {
                              "id": "dd6c6798-8aca-4ea2-b06c-669453056b29",
                              "name": "Validation Error",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/:workspace_id/entities/:entity_id/brief",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    ":workspace_id",
                                    "entities",
                                    ":entity_id",
                                    "brief"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace_id"
                                    },
                                    {
                                      "key": "entity_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                              "code": 422,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T01:01:50.000Z",
                              "updatedAt": "2026-07-28T01:01:50.000Z",
                              "uid": "35240-dd6c6798-8aca-4ea2-b06c-669453056b29"
                            }
                          ],
                          "createdAt": "2026-07-28T01:01:50.000Z",
                          "updatedAt": "2026-07-28T01:01:50.000Z",
                          "uid": "35240-f8a6abb1-6b92-47e8-9ef9-87b9cb53f8e3"
                        },
                        {
                          "name": "Get Latest Brief",
                          "id": "bceb9ec5-a32b-4216-9b7e-091de1e5e776",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/entities/:entity_id/brief",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "entities",
                                ":entity_id",
                                "brief"
                              ],
                              "variable": [
                                {
                                  "id": "db1226dd-26a1-4e35-b727-3e79af914cda",
                                  "key": "workspace_id",
                                  "value": "<uuid>",
                                  "description": "(Required) "
                                },
                                {
                                  "id": "39729658-843c-4e67-9c98-4b07f70a027c",
                                  "key": "entity_id",
                                  "value": "<uuid>",
                                  "description": "(Required) Target entity UUID"
                                }
                              ]
                            },
                            "description": "Return the latest Self-Image brief for the target entity (null shape if none)."
                          },
                          "response": [
                            {
                              "id": "9c68d8aa-e3e9-4558-ba85-ae3164a595e0",
                              "name": "Successful Response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/:workspace_id/entities/:entity_id/brief",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    ":workspace_id",
                                    "entities",
                                    ":entity_id",
                                    "brief"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace_id"
                                    },
                                    {
                                      "key": "entity_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"event_id\": \"<uuid>\",\n  \"target_entity_id\": \"<uuid>\",\n  \"target_entity_type\": \"patient\",\n  \"content_json\": {\n    \"consequat_fc0\": -38965793\n  },\n  \"confidence\": \"<number>\",\n  \"event_count\": \"<integer>\",\n  \"generated_at\": \"<dateTime>\",\n  \"content_md\": \"<string>\",\n  \"version\": \"<string>\",\n  \"evidence_event_ids\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"model_name\": \"<string>\",\n  \"truncated\": false\n}",
                              "createdAt": "2026-07-28T01:01:50.000Z",
                              "updatedAt": "2026-07-28T01:01:50.000Z",
                              "uid": "35240-9c68d8aa-e3e9-4558-ba85-ae3164a595e0"
                            },
                            {
                              "id": "2acd110b-d742-42d2-96b0-0888e34e6a8f",
                              "name": "Validation Error",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/:workspace_id/entities/:entity_id/brief",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    ":workspace_id",
                                    "entities",
                                    ":entity_id",
                                    "brief"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace_id"
                                    },
                                    {
                                      "key": "entity_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                              "code": 422,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T01:01:50.000Z",
                              "updatedAt": "2026-07-28T01:01:50.000Z",
                              "uid": "35240-2acd110b-d742-42d2-96b0-0888e34e6a8f"
                            }
                          ],
                          "createdAt": "2026-07-28T01:01:50.000Z",
                          "updatedAt": "2026-07-28T01:01:50.000Z",
                          "uid": "35240-bceb9ec5-a32b-4216-9b7e-091de1e5e776"
                        }
                      ],
                      "id": "076577de-6524-4724-9b5f-b21a6081b0c1",
                      "createdAt": "2026-07-28T01:01:50.000Z",
                      "updatedAt": "2026-07-28T01:01:50.000Z",
                      "uid": "35240-076577de-6524-4724-9b5f-b21a6081b0c1"
                    }
                  ],
                  "id": "1f706132-9a54-42a3-89a5-73c7193d1b87",
                  "createdAt": "2026-07-28T01:01:50.000Z",
                  "updatedAt": "2026-07-28T01:01:50.000Z",
                  "uid": "35240-1f706132-9a54-42a3-89a5-73c7193d1b87"
                }
              ],
              "id": "c0713a5f-8aa9-4476-a67b-11ea35283289",
              "createdAt": "2026-07-28T01:01:50.000Z",
              "updatedAt": "2026-07-28T01:01:50.000Z",
              "uid": "35240-c0713a5f-8aa9-4476-a67b-11ea35283289"
            },
            {
              "name": "brief",
              "item": [
                {
                  "name": "Get Latest Workspace Brief",
                  "id": "4fa95d4d-607a-408d-9dea-2bec03a5095d",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/:workspace_id/brief",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        ":workspace_id",
                        "brief"
                      ],
                      "variable": [
                        {
                          "id": "c9b5262e-a40c-4488-b49e-0ac0a44b6589",
                          "key": "workspace_id",
                          "value": "<uuid>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Return the latest workspace-level Self-Image brief (null shape if none)."
                  },
                  "response": [
                    {
                      "id": "11430da6-7228-49cd-a65f-6d6abed10985",
                      "name": "Successful Response",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/brief",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "brief"
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"event_id\": \"<uuid>\",\n  \"target_entity_id\": \"<uuid>\",\n  \"target_entity_type\": \"patient\",\n  \"content_json\": {\n    \"consequat_fc0\": -38965793\n  },\n  \"confidence\": \"<number>\",\n  \"event_count\": \"<integer>\",\n  \"generated_at\": \"<dateTime>\",\n  \"content_md\": \"<string>\",\n  \"version\": \"<string>\",\n  \"evidence_event_ids\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"model_name\": \"<string>\",\n  \"truncated\": false\n}",
                      "createdAt": "2026-07-28T01:01:50.000Z",
                      "updatedAt": "2026-07-28T01:01:50.000Z",
                      "uid": "35240-11430da6-7228-49cd-a65f-6d6abed10985"
                    }
                  ],
                  "createdAt": "2026-07-28T01:01:50.000Z",
                  "updatedAt": "2026-07-28T01:01:50.000Z",
                  "uid": "35240-4fa95d4d-607a-408d-9dea-2bec03a5095d"
                },
                {
                  "name": "Generate Workspace Brief",
                  "id": "89b0ddd8-2363-48e6-813a-cc40c9e7934a",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/:workspace_id/brief",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        ":workspace_id",
                        "brief"
                      ],
                      "variable": [
                        {
                          "id": "07c7b388-e179-47b5-9fae-98f694c95416",
                          "key": "workspace_id",
                          "value": "<uuid>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Generate a workspace-level Self-Image brief (Opus 4.7)."
                  },
                  "response": [
                    {
                      "id": "e8f24376-07d1-45c7-9ab8-e6f019ce01fa",
                      "name": "Successful Response",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/brief",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "brief"
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"event_id\": \"<uuid>\",\n  \"target_entity_id\": \"<uuid>\",\n  \"target_entity_type\": \"patient\",\n  \"content_json\": {\n    \"consequat_fc0\": -38965793\n  },\n  \"confidence\": \"<number>\",\n  \"event_count\": \"<integer>\",\n  \"generated_at\": \"<dateTime>\",\n  \"content_md\": \"<string>\",\n  \"version\": \"<string>\",\n  \"evidence_event_ids\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"model_name\": \"<string>\",\n  \"truncated\": false\n}",
                      "createdAt": "2026-07-28T01:01:50.000Z",
                      "updatedAt": "2026-07-28T01:01:50.000Z",
                      "uid": "35240-e8f24376-07d1-45c7-9ab8-e6f019ce01fa"
                    }
                  ],
                  "createdAt": "2026-07-28T01:01:50.000Z",
                  "updatedAt": "2026-07-28T01:01:50.000Z",
                  "uid": "35240-89b0ddd8-2363-48e6-813a-cc40c9e7934a"
                }
              ],
              "id": "62302170-1c48-4924-99e9-f0e8d455536a",
              "createdAt": "2026-07-28T01:01:50.000Z",
              "updatedAt": "2026-07-28T01:01:50.000Z",
              "uid": "35240-62302170-1c48-4924-99e9-f0e8d455536a"
            }
          ],
          "id": "3d8a4ca3-64b1-47f9-820a-db8ffc7b2fd9",
          "createdAt": "2026-07-28T01:01:50.000Z",
          "updatedAt": "2026-07-28T01:01:50.000Z",
          "uid": "35240-3d8a4ca3-64b1-47f9-820a-db8ffc7b2fd9"
        }
      ],
      "id": "89415531-6881-4c33-b5ae-bc44f303736a",
      "createdAt": "2026-07-28T01:01:50.000Z",
      "updatedAt": "2026-07-28T01:01:50.000Z",
      "uid": "35240-89415531-6881-4c33-b5ae-bc44f303736a"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.amigo.ai"
    }
  ]
}