Configure FL Experiment
Configure a new federated learning experiment
POST
application/json- body
experiment_id?stringUnique experiment identifier
round_id?stringRound identifier
model_ref?stringReference to the model
participants?array<string>List of participant proplet IDs
hyperparams?Hyperparameters for the experiment
k_of_n?integerMinimum updates required (k out of n participants)
timeout_s?integerTimeout in seconds for each round
task_wasm_image?stringOCI image URL for the FL task Wasm binary
Experiment configured
application/json- response
experiment_id?stringround_id?stringstatus?stringcurl -X POST 'http://localhost:7070/fl/experiments' \ -H 'Content-Type: application/json' \ -d '{ "experiment_id": "exp-001", "round_id": "round-1", "model_ref": "model-v1", "participants": [ "proplet-1", "proplet-2" ], "hyperparams": { "learning_rate": 0.01, "epochs": 5 }, "k_of_n": 2, "timeout_s": 300}'Example Response201
{ "experiment_id": "string", "round_id": "string", "status": "string"}