Initializes the AppAPI
class with the given base URL.
Fetches the details of a specific run.
- Parameters:
run_uuid
(str): The unique identifier for the run.
Updates the run data.
- Parameters:
run_uuid
(str): The unique identifier for the run.data
(dict): The data to update, containing:name
(str)comment
(str)note
(str)favourite_configs
(List[str])selected_configs
(List[str])tags
(List[str])
Fetches the status of a specific run.
- Parameters:
run_uuid
(str): The unique identifier for the run.
- Parameters:
folder_name
(str): default or archive
Fetches all runs.
Archives the specified runs.
- Parameters:
run_uuids
(List[str]): List of run UUIDs to archive.
Unarchives the specified runs.
- Parameters:
run_uuids
(List[str]): List of run UUIDs to unarchive.
Deletes the specified runs.
- Parameters:
run_uuids
(List[str]): List of run UUIDs to delete.
Fetches analysis data.
- Parameters:
url
(str): The endpoint for analysis data.run_uuid
(str): The unique identifier for the run.kwargs
(dict): Additional parameters:get_all
(bool): Whether to get all indicators or only the selected indicators.current_uuid
(str): Current run UUID for comparisons (only required for comparison metrics).
Fetches analysis preferences.
- Parameters:
url
(str): The endpoint for preferences.run_uuid
(str): The unique identifier for the run.
Updates analysis preferences.
- Parameters:
url
(str): The endpoint for preferences.run_uuid
(str): The unique identifier for the run.data
(dict): The data to update, containing:series_preferences
(List[int])series_names
(List[str])chart_type
(int)step_range
(List[int])focus_smoothed
(bool)smooth_value
(float)smooth_function
(str)base_experiment
(str) (following only needed for comparison prefernces)base_series_preferences
(List[int])base_series_names
(List[str])
Creates a custom metric.
- Parameters:
run_uuid
(str): The unique identifier for the run.data
(dict): The data for the custom metric, containing:name
(str)description
(str)
Fetches custom metrics.
- Parameters:
run_uuid
(str): The unique identifier for the run.
Updates a custom metric.
- Parameters:
run_uuid
(str): The unique identifier for the run.data
(dict): The data to update, containing:id
(str)preferences
(dict)name
(str)description
(str)
Deletes a custom metric.
- Parameters:
run_uuid
(str): The unique identifier for the run.metric_id
(str): The unique identifier for the metric.
Fetches logs.
- Parameters:
run_uuid
(str): The unique identifier for the run.url
(str): The endpoint for logs.page_no
(int): The page number to fetch:-1
-> get all pages-2
-> get last pagei
-> get ith page