curl --request POST \
--url https://mcp.echozero.app/api/v1/developers/agents/signal-corpus/analyze-preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"samplesText": "<string>"
}
'import requests
url = "https://mcp.echozero.app/api/v1/developers/agents/signal-corpus/analyze-preview"
payload = { "samplesText": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({samplesText: '<string>'})
};
fetch('https://mcp.echozero.app/api/v1/developers/agents/signal-corpus/analyze-preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({samplesText: '<string>'})
};
fetch('https://mcp.echozero.app/api/v1/developers/agents/signal-corpus/analyze-preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mcp.echozero.app/api/v1/developers/agents/signal-corpus/analyze-preview"
payload := strings.NewReader("{\n \"samplesText\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"data": {
"analysisId": "<string>",
"messageCount": 123,
"rawLineCount": 123,
"delimiterUsed": "newline",
"summary": "<string>",
"confidence": "low",
"suggestedRule": {
"buyKeywords": [
"<string>"
],
"sellKeywords": [
"<string>"
],
"longKeywords": [
"<string>"
],
"shortKeywords": [
"<string>"
],
"tpKeywords": [
"<string>"
],
"slKeywords": [
"<string>"
],
"leverageKeywords": [
"<string>"
],
"tokenPatterns": [
"<string>"
],
"strategyPrefix": "<string>",
"cancelKeywords": [
"<string>"
],
"breakevenKeywords": [
"<string>"
],
"partialCloseKeywords": [
"<string>"
],
"breakoutAboveKeywords": [
"<string>"
],
"breakoutBelowKeywords": [
"<string>"
],
"entryZoneKeywords": [
"<string>"
]
},
"coverage": {
"keywordGateHitPct": 123,
"unmatchedLineIndexes": [
123
]
},
"riskFlags": [
{
"keyword": "<string>",
"reason": "<string>"
}
],
"parsePreview": [
{
"lineIndex": 123,
"text": "<string>",
"ingressHit": true,
"matched": true,
"token": "<string>",
"intent": "<string>",
"summary": "<string>"
}
],
"keywordStats": {},
"corpusMessages": [
{
"lineIndex": 123,
"text": "<string>"
}
],
"diff": [
{
"bucket": "<string>",
"added": [
"<string>"
],
"unchanged": [
"<string>"
]
}
],
"warnings": [
"<string>"
],
"strategyPrefixRecommendation": {
"value": "<string>",
"apply": true,
"reason": "<string>"
},
"expiresAt": "<string>",
"model": "<string>"
}
}{
"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"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Analyze pasted signal samples (wizard, no agent id)
LLM-assisted keyword bootstrap from a pasted channel corpus. Ephemeral — raw text is not stored.
curl --request POST \
--url https://mcp.echozero.app/api/v1/developers/agents/signal-corpus/analyze-preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"samplesText": "<string>"
}
'import requests
url = "https://mcp.echozero.app/api/v1/developers/agents/signal-corpus/analyze-preview"
payload = { "samplesText": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({samplesText: '<string>'})
};
fetch('https://mcp.echozero.app/api/v1/developers/agents/signal-corpus/analyze-preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({samplesText: '<string>'})
};
fetch('https://mcp.echozero.app/api/v1/developers/agents/signal-corpus/analyze-preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mcp.echozero.app/api/v1/developers/agents/signal-corpus/analyze-preview"
payload := strings.NewReader("{\n \"samplesText\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"data": {
"analysisId": "<string>",
"messageCount": 123,
"rawLineCount": 123,
"delimiterUsed": "newline",
"summary": "<string>",
"confidence": "low",
"suggestedRule": {
"buyKeywords": [
"<string>"
],
"sellKeywords": [
"<string>"
],
"longKeywords": [
"<string>"
],
"shortKeywords": [
"<string>"
],
"tpKeywords": [
"<string>"
],
"slKeywords": [
"<string>"
],
"leverageKeywords": [
"<string>"
],
"tokenPatterns": [
"<string>"
],
"strategyPrefix": "<string>",
"cancelKeywords": [
"<string>"
],
"breakevenKeywords": [
"<string>"
],
"partialCloseKeywords": [
"<string>"
],
"breakoutAboveKeywords": [
"<string>"
],
"breakoutBelowKeywords": [
"<string>"
],
"entryZoneKeywords": [
"<string>"
]
},
"coverage": {
"keywordGateHitPct": 123,
"unmatchedLineIndexes": [
123
]
},
"riskFlags": [
{
"keyword": "<string>",
"reason": "<string>"
}
],
"parsePreview": [
{
"lineIndex": 123,
"text": "<string>",
"ingressHit": true,
"matched": true,
"token": "<string>",
"intent": "<string>",
"summary": "<string>"
}
],
"keywordStats": {},
"corpusMessages": [
{
"lineIndex": 123,
"text": "<string>"
}
],
"diff": [
{
"bucket": "<string>",
"added": [
"<string>"
],
"unchanged": [
"<string>"
]
}
],
"warnings": [
"<string>"
],
"strategyPrefixRecommendation": {
"value": "<string>",
"apply": true,
"reason": "<string>"
},
"expiresAt": "<string>",
"model": "<string>"
}
}{
"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"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Authorizations
User JWT access token issued by POST /api/auth/verify or POST /api/auth/social/verify. Routes that accept both auth modes declare api-key and bearer-jwt security schemes.
Headers
HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Required for API-key authenticated requests (JWT/OAuth session auth is exempt).
Request timestamp in epoch milliseconds. Required with x-signature for API-key auth. Rejected if drift exceeds 5 minutes.
Body
Raw pasted channel messages (newline or blank-line separated).
telegram_export / discord_export merge desktop copy-selected paste; omit to auto-detect.
newline, blankline, telegram_export, discord_export Current rule on the form — used for diff context only in v1.
Show child attributes
Show child attributes