GraphQL Get Repository Commits

I’m trying to query the commit history of a project’s repository. Is this possible? Here is the query I have so far:

{
group(fullPath: “my/test/path”) {
projects(search: “myprojectname”) {
nodes {
name
repository {
rootRef
tree(recursive:true) {
trees(first: 100) {
pageInfo {
endCursor
startCursor
}
nodes {
name
type
}
}
}
}
}
}
}
}