CV-CUE API notes
Things worth knowing when Claude (or you) call the CV-CUE API directly:
- Paging.
startindexis a 0-based record offset andpagesizethe page length. Addtotalcountrequired=trueto gettotalCount. - Scoping. Most endpoints take
locationidand return data for that location’s whole subtree. Location IDs come back as{"type":"locallocationid","id":N}; the curated tools flatten them toN. - Time is in milliseconds.
fromtime/totimeare epoch milliseconds. Some spec text says microseconds, but the live server rejects µs values. - Module versions. Each module has its own API version, chosen with the
Versionheader. The server uses its latest when it’s omitted;cvcue_api_executetakesversion=to pin one. - Creating locations.
POST /locationstakes the parent folder with the new location underchildren, and echoes the whole parent back.cvcue_create_locationdoes this for you and returns just the new location’s ID. - Deleting locations also deletes every child location.
- SSID profiles in use can’t be deleted. Check
GET /deviceconfiguration/ssidprofiles/{templateid}/referencesfirst. - Sessions. CV-CUE is session based (
POST /sessionreturns aJSESSIONIDcookie). The server logs in on first use, re-authenticates on 401, and logs out when a session is evicted. - Finding your server. With an API key and no base URL, the server asks Launchpad which CV-CUE (Wireless Manager) server your key belongs to.
The bundled spec comes from Arista’s public API portal at
https://apihelp.wifi.arista.com/api/wm. Maintainers refresh it with
python scripts/fetch_spec.py.