---
title: "External Analysis With Agent"
method: POST
path: "/agent/external-analysis"
tags: ["Clinical Agent"]
---

# External Analysis With Agent

`POST /agent/external-analysis`

## Request

- Base URL: `https://api.alpha-grid.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alpha-grid.ai/agent/external-analysis`
- Auth: none declared

Endpoint to analyze comprehensive clinical data (context, transcription, patient data)
using the agent's tools to formulate treatment, medication, and prescription plans.

## Request body

- ExternalAnalysisRequest
  - `session_id` string: Session identifier for memory
  - `system_prompt` string: System prompt dictating the exact format and goals of the analysis.
  - `patient_data` object, nullable: Structured patient demographic and medical data
  - `clinical_context` string, nullable: Additional background clinical context
  - `consultation_transcription` string, nullable: Transcription of the doctor-patient consultation

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev.md) - [All operations](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev/llms.txt) - [OpenAPI document](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev/revisions/13bab0bdd466?raw)
