Include status draft but omit archived


Is there a way to include items in Draft status but omit Archived items?

All I came across is an ‘X-Unpublished’ header, but when set to true that returns all both draft and archived items.


You can use the status in the odata filter. $filter=status eq 'Published' or status eq 'Draft'