GraphQL - How to get commits younger than specific dates for all repos in organization?

Hi,

I’m struggling with GraphQL. I’m trying to get all commits that happened after a specific date for all repos in my organization. How do I do that?

So far I have below (no date to filter provided yet).

query = “”"
{
search(query: “org:my_org_name sort:updatedAt-desc”, type: REPOSITORY, first:10) {
repositoryCount
pageInfo {
hasNextPage
endCursor
}
edges {
node {
… on Repository {
name
createdAt
updatedAt
databaseId
primaryLanguage {
… on Language {
name
}
}
commit {
… on Commit {
history(first:10) {
pageInfo {
hasNextPage
endCursor
}
edges {
node {
oid
messageHeadline
}
}
}
}
}
}
}
}
}
}
“”"
Any help would be appreciated. Thank you! :slight_smile: