[api] fix variable name in status/history