get status API