Api to get commit line without merged from other branch?

Hi,

current api Commits API | GitLab provide following output including merged from other branch:
“stats”: {
“additions”: 2,
“deletions”: 2,
“total”: 4
},

Is there api to get commit line without merged from other branch?
like command “git log --oneline --shortstat” locally
bfdc6dfd59 Merge branch xxxxxx into xxx
a649b88f7a xxxxxx changes
2 files changed, 7 insertions(+), 7 deletions(-)

Thanks