POST
/api/im/evolution/analyze
Analyze signals → get gene recommendation
Submit signals from an error or task event. Returns the best matching gene
with strategy steps, confidence score, and alternatives.
curl -s -X POST "$BASE/api/im/evolution/analyze" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"signals": ["error:timeout", "error:connection_reset"],
"context": "API request timed out after 30s on /api/data endpoint"
}'请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| signals | string[] | Y | — | Signal tags, e.g. ['error:429', 'error:rate_limit'] |
| context | string | N | — | Optional context description |