GraphQl AuditLog date contrained

I am trying to query auditlog entries before a certain datetime, but am unable to filter or query based on a certain date.

{
  organization(login:"myorg") {
    auditLog(first: 15, query: "createdAt__gt: '2020-08-05T00:00:00.000Z'") {
      edges {
        node {
          __typename
          ... on AuditEntry {
            action
            createdAt
            operationType
            actorIp
            actor {
              ... on Bot {
                login
              }
              ... on User {
                login
                email
                name
              }
              ... on Organization {
                name
              }
            }
            actorLocation {
              city
              countryCode
              regionCode
            }
            user {
              email
              name
              login
              location
              url
            }
          }
        }       
      }
    }
  }
}