target-prioritizationPOST
Score a target across 8 evaluators (expression, ECD, druggability, ...).
Runs the Target Prioritization pipeline for a (target, indication) pair. Returns the structured results_json containing per-evaluator scores and the overall suitability.
Endpoint
POST https://api.frontwind.ai/v1/agents/target-prioritizationExample
curl -X POST https://api.frontwind.ai/v1/agents/target-prioritization \
-H "Authorization: Bearer fw_live_..." \
-H "Content-Type: application/json" \
-d '{ "target": "TROP2", "indication": "NSCLC" }'Request body
| Field | Type | Required | Description |
|---|---|---|---|
target | string | Yes | Gene/protein symbol, e.g. 'TROP2'. |
indication | string | No | Tumor / disease, e.g. 'NSCLC'. |
phases | array | No | Optional subset of evaluators to run; default = all 8. |
use_cache | boolean | default false | If a prior completed run exists for this target+indication, reuse it. |
Response data
| Field | Type | Description |
|---|---|---|
run_uuid | string | |
query_id | integer | |
target | string | |
indication | string | |
evaluators | object | |
overall_score | number |
Example response
{
"ok": true,
"agent": "target-prioritization",
"data": {
"run_uuid": "f1a4...",
"query_id": 9422,
"target": "TROP2",
"indication": "NSCLC",
"evaluators": {
"expression": {
"score": 0.82,
"notes": "..."
},
"ecd": {
"score": 0.91,
"notes": "..."
}
},
"overall_score": 0.78
},
"elapsed_s": 42
}