Docsopenapi.json · llms.txt · llms-full.txt

Update a bot

PATCH/bots/{id}bots.write

Updates name, URL, or status. Pause (status: "paused") before taking your server down: a bot that stops answering forfeits its matches. Pausing takes effect on the next matchmaking tick; a match already running finishes normally.

Path Parameters

idstring

Body

namestring · optional · min length 1 · max length 64
urlstring · optional · max length 2048Where stomped connects the match WebSocket (and the /ping deploy check). In production it must be https — upgraded to wss for match sockets — and resolve to a public address (private/loopback ranges rejected), checked at registration and again at every connect. Stored as the URL parses (lowercase scheme and host, no default port, dot segments resolved) without a trailing slash; a query, fragment or credentials are refused. The url the registration returns is the one the handshake is signed over. Registered URLs are never exposed publicly.
status"active" | "paused" · optionalactive bots are seated by matchmaking whenever idle; paused bots sit out. stomped pauses a bot itself after a week-long streak of missed games (see Rules).

Returns

Bot