wei.routers.experiment_routes

Router for the “experiments”/”exp” endpoints

Functions

check_in(experiment_id)

Returns a simple pong response

data_return(experiment_id)

Returns all of the data points related to an experiment

event_return(experiment_id)

Returns all of the saved events related to an experiment

get_all_experiments()

Returns all experiments inside DataFolder

get_experiment_endpoint(experiment_id)

Returns the details for a specific experiment given the id

log_return(experiment_id)

Returns the log for a given experiment

register_experiment(experiment_design)

Creates a new experiment, optionally associating it with a campaign

async wei.routers.experiment_routes.check_in(experiment_id: str) None

Returns a simple pong response

async wei.routers.experiment_routes.data_return(experiment_id: str) Dict[str, DataPoint]

Returns all of the data points related to an experiment

async wei.routers.experiment_routes.event_return(experiment_id: str) Dict[str, Event]

Returns all of the saved events related to an experiment

async wei.routers.experiment_routes.get_all_experiments() Dict[str, Experiment]

Returns all experiments inside DataFolder

wei.routers.experiment_routes.get_experiment_endpoint(experiment_id: str) Experiment

Returns the details for a specific experiment given the id

async wei.routers.experiment_routes.log_return(experiment_id: str) str

Returns the log for a given experiment

wei.routers.experiment_routes.register_experiment(experiment_design: ExperimentDesign) Experiment

Creates a new experiment, optionally associating it with a campaign