Complete HAI Protocol API reference
/haip/websocket
- Primary real-time communication/haip/sse
- HTTP-based streaming/haip/stream
- Chunked transfer encodingHAI
- Initial Message To Open ConnectionPING
/PONG
- Keep alive messagesINFO
- Info messagesERROR
- Error messageFLOW_UPDATE
- Flow controlTRANSACTION_START
- Start a new transactionTRANSACTION_END
- End transactionTRANSACTION_JOIN
- Join an existing transactionREPLAY_REQUEST
- replay messagesMESSAGE
- Send a message that will be validated against the tool schemaMESSAGE_UPDATE
- Edit/delete messagesAUDIO
- Send audio to a toolTOOL_LIST
- List out all the toolsTOOL_SCHEMA
- Get the schema for a toolHAIPUser
:
{"MESSAGE": ["46ec7297-399c-40c5-bf5a-28503a3899b1"]}
Often you will want to give admins permissions to join all transactions and edit all messages.
bin_len
and bin_mime