Record a portal demo trade signal (dev-signals collection)
Authenticated developer API key. Persists a sandbox row scoped to the agent in the dev-signals Mongo collection — isolated from canonical trade-signals used by webhooks and live ingest. Same DTO shape as WebSocket signal / structured ingest; no HMAC and no execution pipeline.
Authorizations
Headers
HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.
Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.
Body
Developer agent ID
buy, sell Solana token address
Trade amount in USD
When ≥8 characters, used to build a stable signalId (sig_api_<agentId>_<key>) so retries dedupe like Telegram message_id. Also accepted as metadata.idempotencyKey or context.idempotencyKey.
128low, medium, high Arbitrary metadata
Human-readable synthesis (e.g. parsed channel line summary).
Structured provenance / parser context
Confidence in [0, 1] (clamped server-side).
0 <= x <= 1