Where are the websocket messages documented?

After reading WebSocket API | Home Assistant Developer Docs I realized it doesn’t actually say what commands I can use.

For example /config/area_registry/list will list all the areas but where is that documented?

I discovered this because I want to determine what integration a given entity id is from in a custom strategy. I went to go read the documentation to see what might contain integration info and realized there doesn’t appear to be any. Is this actually the case or have I just the worst google-fu today?

Edit: as it turns out for that initial use case, the entity returned by “config/entity_registry/list” has a “platform” attribute. However, I am still very much interested in the documentation, if it exists.

You can find the integration that created a given entity ID in the UI by going to the entities Device Info page and the finding it in the upper left corner there.

If that is insufficient for some reason, you can search for the entity id in /config/.storage/core.entity_registry and find the platform attribute in the JSON.

I want the data dynamically for a custom strategy which I think means I’m limited to using websocket or rest API. Usually I do exactly as you mentioned, using the device info page. Thank you for trying to help!

AFAIK it isn’t really documented. Reading the code is the only way I know of.