Ws Executions Upgrade Hint
This is a WebSocket endpoint. Use wss:// to connect.
Response
Resource not found (market / order / token).
Structured error response for all API v1 endpoints.
PM-parity (PR #1033): the default 4xx body is the PM-shape
single-field {"error": "<human message>"}. The full structured
body documented by this model is only returned when the caller opts
in via the X-Polysim-Verbose: true request header. Every field
below maps to a response header on the default path:
errorcarries the human-readable message in the default body and the machine code in the verbose body. The machine code is ALWAYS exposed via theX-Polysim-Coderesponse header so SDK consumers can switch on a stable identifier without parsing the body.request_id→ exposed as theX-Request-Idresponse header on every response (success and error).
All non-required fields are Optional so generated SDK code can
deserialize either shape (PM-default or polysim-verbose) without
choking on missing keys. Pre-PR message was required, which
broke SDK deserialization of the new PM-shape body.
Human-readable message (PM-shape default body) OR machine-readable error code (verbose body). The machine code is always available in the X-Polysim-Code response header.
Human-readable error description — populated only on verbose body (X-Polysim-Verbose: true).
Additional context — populated only on verbose body.
Request id for support reference. Always exposed via X-Request-Id response header; only inlined in the verbose body.