HTTP API
These endpoints run on tty000.com. POST a dump, get JSON. No key. Nothing is stored. Paste only dumps you would put in the glass. USB serial still needs Web Serial or the helper and never arrives here.
curl -s https://tty000.com/api/detect \
-H 'content-type: application/json' \
-d '{"text":"rst:0x1 (POWERON)\nESP-ROM:esp32s3-20210327\nready"}'
curl -s https://tty000.com/api/explain \
-H 'content-type: application/json' \
-d '{"text":"i2c_master: I2C ACK timeout on addr 0x3C"}'
curl -s 'https://tty000.com/api/baud?baud=115200'
curl -s https://tty000.com/api/batch \
-H 'content-type: application/json' \
-d '{"text":"rst:0x1 (POWERON)\\nESP-ROM:esp32s3"}'
python3 server.py --helper
# then:
curl -s http://127.0.0.1:7682/api/health
curl -s http://127.0.0.1:7682/api/ports
curl -s http://127.0.0.1:7682/api/detect \
-H 'content-type: application/json' \
-d '{"text":"..."}'
Body: {"text":"...","baud":115200}. baud is optional.
Body: {"text":"..."}. Includes a detect summary when the dump looks like hardware.
On this site serial is false. On the helper it is true when ports can be opened.
POST /api/batch, /diff, /strip, /stats, /hex, /nmea, /at, /crc. GET /api/baud, /profiles, /families, /version.
GET /api/ports, POST /api/serial/open, /write, /read, /line, /flush, /stream, /close, /sweep, /signal, /recipe, /virtual/open. These never run on tty000.com.
Open a port, then POST {"id":"...","offset":0,"b64":"..."}. Not available on tty000.com.
Machine contract: /api/openapi.json. Product catalog: /product.json. Assistants: for-llms.html. MIT License: /LICENSE. No account. No key. Do not send secrets you would not paste into the glass.