Related to scheduling in builder.io

Hi Builder Team,

We find that when we do scheduling in the data model then we will get all the data in the api response and there is no such field on which we can do filtering.
Also if the state of content in model is scheduled or expired then in the api response the state is coming as published.
Is there any field or method through which we can filter the api response so that we can use this functionality when we are using builder as a headless cms.

Regards,
Ankit Rastogi

Hello @Ankit,

The scheduled content or data model entry they do have a startDate field present which you can use to filter API response.

E.g https://cdn.builder.io/api/v3/content/author?apiKey=c782aff3c66f48acb425981b997feb10&limit=5&omit=meta