getExperimentRun method
Retrieves information about an experiment run, including its status, start time, and exposure settings.
May throw BadRequestException.
May throw InternalServerException.
May throw ResourceNotFoundException.
Parameter applicationIdentifier :
The application ID or name.
Parameter experimentDefinitionIdentifier :
The experiment definition ID or name.
Parameter run :
The run number to retrieve.
Implementation
Future<ExperimentRun> getExperimentRun({
required String applicationIdentifier,
required String experimentDefinitionIdentifier,
required int run,
}) async {
_s.validateNumRange(
'run',
run,
1,
1152921504606846976,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/applications/${Uri.encodeComponent(applicationIdentifier)}/experimentdefinitions/${Uri.encodeComponent(experimentDefinitionIdentifier)}/experimentruns/${Uri.encodeComponent(run.toString())}',
exceptionFnMap: _exceptionFns,
);
return ExperimentRun.fromJson(response);
}