https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
b

brief-pager-93130

12/24/2023, 4:46 AM
Concerning the endpoint
<https://api.growthbook.io/api/v1/features>
, according to the API documentation (https://docs.growthbook.io/api#tag/features/operation/listFeatures) each
environment
should come with its
draft
field information. However, after saving many drafts and trying with different features and environments, I never get the
draft
field back. Has it been deprecated? Or otherwise what might be a valid reason why I never get the
draft
field back? After I publish the drafts they appear correctly, but when they are just drafts they won't appear in the
draft
field, i.e. the
draft
field is not in the payload at all.
f

fresh-football-47124

12/24/2023, 5:29 PM
I know we did some work around drafts recently, so its possible - I'd need to check with the team on this
b

brief-pager-93130

12/26/2023, 5:14 AM
@fresh-football-47124 Ok, glad to know as this would save me some debugging and coding efforts. Thank you so much, let me know if you can confirm this
f

fresh-football-47124

12/26/2023, 10:27 PM
With the holidays it may take a bit longer than usual
b

brief-pager-93130

12/31/2023, 11:47 AM
Thank you @fresh-football-47124, I appreciate
r

rhythmic-agent-34208

01/09/2024, 4:48 PM
Hello José, thank you for patience on this. I was able to confirm that the ​`draft`​ field was deprecated. Features can have multiple drafts now, so the singular ​`draft`​ field didn't make sense anymore.
4 Views