ambitious-apartment-58735
09/14/2023, 5:29 PMUnrecognized key(s) in object: '{ name: \"test_experiment\"}'"}%
. I have no problem getting experiment data via API (we’re self-hosted), but following the documentation to update an experiment (https://docs.growthbook.io/api#tag/experiments/operation/updateExperiment) doesn’t work, and neither have a few variations on that (eg sending the data as a json file). This may be more of an API question (I don’t work with them often) than a GB one, but any advice you have would be appreciated. (Googling the unrecognized key error hasn’t helped.) Thanks!brief-honey-45610
09/14/2023, 6:18 PMambitious-apartment-58735
09/14/2023, 6:55 PMcurl -X POST [api_home]/api/v1/experiments/experiment_id \
-d '{"id":"experiment_id", "name":"Sample Test",[…]}' \
-u [my_secret_key]:
curl -X POST [api_home]/api/v1/experiments \
-d '{"id":"experiment_id", "name":Sample Test",[…]}' \
-u [my_secret_key]:
brief-honey-45610
09/14/2023, 8:07 PMcurl -X POST [api_home]/api/v1/experiments/experiment_id \
-d '{ "name": "updated_name"}' \
-H 'Content-Type: application/json' \
-u secret_1234:
ambitious-apartment-58735
09/14/2023, 9:06 PMUnrecognized key(s) in object: 'settings'"
brief-honey-45610
09/15/2023, 4:06 AM