v4

latestOpenAPI 3.1.02026-08-0453110161.5 KB
v1

Rpc Subscribe

Subscribe to live events for a conversation via SSE with JSON-RPC notification framing.

Unified endpoint (Streamable HTTP style): both GET (subscribe) and POST (send) share the same URL, enabling session affinity through proxies like Fastly Fanout.

Requires Anvil-Session-Id header obtained from POST /rpc initialize.

SSE frame format: id: per-stream unique ID (Tier 1 replay; non-digit format bypasses Tier 2) event: message (fixed -- dispatch moves to JSON-RPC method in data body) data: {"jsonrpc":"2.0","method":"<slash/namespaced>","params":{...}}

get/api/v1/assistant/trademe/conversations/{conversation_id}/rpc

Path parameters

conversation_idstring required

Query parameters

pendingstring[] nullable

Headers

Anvil-Session-Idstring nullable
Last-Event-IDstring nullable
authorizationstring nullable

Response

Server-sent events stream

{"stackTrail":"paths:/api/v1/assistant/trademe/conversations/{conversation_id}/rpc:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}