Based on the docs https://craftcms.com/docs/3.x/graphql.html#the-entries-query enabledForSite
can be used for entries. This works for me to get the enabled entries, however I get a deprecation error in Utilities > Deprecation Warnings:
The enabledForSite element query param has been deprecated. status() should be used instead.
But when using status: "live"
The query does not work and I get the following error back:
Unknown argument "status" on field "entries" of type "Query"
Which makes sense as I cannot find it in the docs. It seems to me like enabledForSite
is what I am looking for and cannot understand why it is giving this warning.