I was looking in the API documentation (https://api.cloudflare.com/client/v4
) for an endpoint to check whether a device (or devices) is currently connected via WARP. I never found one.
I did, however, find this in the GraphQL api, getDeviceStatus. (After I realized it takes a few minutes after I run “warp-cli connect” for it to show up.) Inspected the dashboard page for Zero Trust->My Team->Devices->[device], View Details, Fleet Status, and found the request.
Did I miss something in the “main” api? Just curious, the GraphQL query will work for me, just wondering if there’s a more direct way.