Using API to retrieve channel status

Hey guys, anyone? Can’t see like for 15 hours where i’m wrong :confused: