curl --request POST \
--url https://mcp.echozero.app/api/v1/ai/strategy/generate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"prompt": "Conservative SOL swing bot with tight stop loss"
}
'
{
"success": true,
"data": {
"summary": {
"title": "<string>",
"summary": "<string>",
"riskLevel": "LOW RISK",
"tags": [
"<string>"
]
},
"draftConfig": {}
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}AI
Generate strategy idea (AI draft)
Mirrors GraphQL generateBotStrategy — returns a draft config, not a persisted Strategy entity.
POST
/
api
/
v1
/
ai
/
strategy
/
generate
curl --request POST \
--url https://mcp.echozero.app/api/v1/ai/strategy/generate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"prompt": "Conservative SOL swing bot with tight stop loss"
}
'
{
"success": true,
"data": {
"summary": {
"title": "<string>",
"summary": "<string>",
"riskLevel": "LOW RISK",
"tags": [
"<string>"
]
},
"draftConfig": {}
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Authorizations
Headers
Required for API-key authenticated requests. HMAC-SHA256(secretKey, timestamp + METHOD + path + body) as lowercase hex. Omit only for JWT/OAuth session tokens or public routes.
Required with x-signature. Epoch milliseconds; rejected if drift exceeds 5 minutes. Omit only for JWT/OAuth session tokens or public routes.
Body
application/json