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

bumpy-night-17694

01/12/2024, 7:22 PM
hi! Is there a way to get all running experiments with the JS SDK? I see the REST API supports this, but was wondering if the SDK did too.
I tried using
getExperiments
but it returns empty array. It seems it only gets populated after evaluating a feature. But I don’t have the feature keys in code, i would like to get them from growthbook as the source of truth instead of hardcoding them.
oh i think i can use
getFeatures
!
f

fresh-football-47124

01/12/2024, 9:29 PM
you can
oh, all running experiments ever or currently?
b

bumpy-night-17694

01/12/2024, 9:31 PM
currently
3 Views