How to get a list of unpublished documents?

We have ~1000 of documents almost half of which have been edited but not published. Is it possible via GraphQL query to get a list of ones in a draft state?

In the Prismic UI there's a "state" column which tells whether the document is a draft or not. Is there a way to get the value of this column via an API request?

Hey Stoyan, there isn't currently a field in the API response that indicates this information. At the moment the only way to know how many and which docs are drafts is what you've said yourself, by searching them in the Writing room UI.

I've added a tag in your thread so it can be followed as a product feature idea.

If you need anything else, please let us know

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.