{
  "opencollection": "1.0.0",
  "info": {
    "name": "Amigo Account Self-Image API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Self-Image",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Latest Brief",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.amigo.ai/v1/:workspace_id/entities/:entity_id/brief",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "entity_id",
                "value": "",
                "type": "path",
                "description": "Target entity UUID"
              }
            ]
          },
          "docs": "Return the latest Self-Image brief for the target entity (null shape if none)."
        },
        {
          "info": {
            "name": "Generate Brief",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.amigo.ai/v1/:workspace_id/entities/:entity_id/brief",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "entity_id",
                "value": "",
                "type": "path",
                "description": "Target entity UUID"
              }
            ]
          },
          "docs": "Generate a Self-Image brief for the target entity (patient, cohort, territory, emirate, or district)."
        },
        {
          "info": {
            "name": "Get Latest Workspace Brief",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.amigo.ai/v1/:workspace_id/brief",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the latest workspace-level Self-Image brief (null shape if none)."
        },
        {
          "info": {
            "name": "Generate Workspace Brief",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.amigo.ai/v1/:workspace_id/brief",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Generate a workspace-level Self-Image brief (Opus 4.7)."
        }
      ]
    }
  ],
  "bundled": true
}