CXone /agents/states API returning empty array for active agent

Trying to check if an agent is logged in via the CXone API for a WFM adherence script. I’m hitting GET /api/v2/agents/states with the agent ID, but the response body is just an empty array [] even though the agent is clearly logged in on the desktop.

Here’s the header I’m sending:

Authorization: Bearer <token>
X-Request-Id: abc-123

Is there a specific scope I’m missing or a delay in state propagation?