Update agent
Mirrors GraphQL updateAgent (agentId from path).
Request body schema: McpUpdateAgentBodyDto — see Schemas (#/components/schemas/McpUpdateAgentBodyDto). Nested: AgentPersonalizationInput, AgentFeeConfigurationInput.
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.
Path Parameters
Body
OpenAPI schema McpUpdateAgentBodyDto; agentId is taken from the path.
DRAFT, ACTIVE, PAUSED, DELETED When setting status to PAUSED: required for private agents (true = close owner trades first, false = keep open). Optional for public agents.
subscription, success-fee, both, free x >= 0x >= 0pending-review, beta, public, rejected x >= 1low, medium, high webhook, signal_group Per-agent hybrid parser: inherit (server env), off, shadow, or fallback.
inherit, off, shadow, fallback When true and signalSourceKind is webhook, rotate inbound signing secret (returned once on the agent payload)
API personality override for subscriber chat. Stored as personalization.apiOverride and takes precedence over portal defaults. Pass null to clear.