Update Config

PUT

Update configuration for a specific experiment run.

Parameters:

  • run_id: Unique identifier of the run
  • config_update: UpdateConfig object containing configuration changes

Returns: JSONResponse with:

  • message: Status of the update
  • configs: Updated configuration (if successful)

Notes:

  • Only the experiment owner can update the configuration
  • Currently supports toggling the privacy setting

Raises:

  • HTTPException 401: If user is not authorized to edit the run
  • HTTPException 400: If the config update is invalid
  • HTTPException 500: If updating the run config fails

Path parameters

run_idstringRequired

Request

This endpoint expects an object.
config_updatemap from strings to anyRequired

Response

This endpoint returns any.