Graphql Admin API get Customers created after a given date

The AI Agent thingy gave me this query after i ask for retrieving customers created after a given date.

{
customers(first: 100, query: “created_at:>=‘2025-01-01’”) {
edges {
node {
id
email
createdAt
}
}
}

This doesn’t work, try here (https://shopify.dev/graphiql/admin-graphiql)
it returns every customer and has a warning
“warnings”: [{
“field”: “created_at”,
“message”: “Invalid search field for this query.”}]

After telling this to the AI thingy, it suggested to try with “createdAt”, which also didn’t work, and after showing it the warning message for createdAt it told me to fetch it all and do the filtering by hand, which is not what i need to do…

Does anybody knows how to get a list of customer created after a given date?

If this question is about Flow, the Get customer data action has a couple of default queries for “Created in the last day” and “Created in the last week” that might help you with the query syntax.

The query syntax is ok. I think is just a bug in the graph api…

The exact same query with “updated_at” works great. Not perfect solution/workaround but works for now.

@chickensalad , seems like instead of created_at you need to use customer_date. Query example that works for me:

{
customers(first: 1, query: “customer_date:>=‘2025-04-25’”){
pageInfo {
hasNextPage
}
nodes {
id

}
}
}