The gateway endpoints back multi-participant and cross-instance messaging. Most apps never call them directly — sending through a session uses them under the hood. Reach for them when you build agent-to-agent or cross-instance topologies explicitly. See the gateway concept.Documentation Index
Fetch the complete documentation index at: https://docs.karta.sh/llms.txt
Use this file to discover all available pages before exploring further.
Submit an event
POST /v1/gateway/events
A sender pushes an event addressed to a recipient/session.
The sending participant’s id.
human or ai.The event kind, e.g.
message.The message text.
The target session.
For cross-instance routing — where replies should be delivered.
Optional key/values (up to 50 keys).
Deliver to a local participant
POST /v1/gateway/deliveries
How a remote gateway hands an event to a participant living on this
instance — the cross-instance hop.
The participant to deliver to.
The nested gateway event (same fields as submit).
The target session.
The recipient’s gateway URL, when routing across instances.
200 { "status": "ok" }; 404 if the recipient can’t be found.