Add -status to get agent status via API.