Get detailed run data
Case 1: Gather detailed run data from existing runs
Get a run GUID
Call the endpoint provided to obtain a run GUID. To filter the results, specify a timeframe using the endpoint's parameters. If no timeframe is provided, the endpoint returns all available runtime data files currently stored.
curl 'https://{{your_venus_webapi_ip_address}}/api/vector/v3/files/runtime-data?filter=%3Cfilter%3E&fromDate=%3CfromDate%3E&toDate=%3CtoDate%3E' \
--header 'Authorization: Bearer <token>'Response
Returns Hamilton.WebAPI.Common.RuntimeFileList object.
Get detailed run data from existing runs
When a run GUID is obtained for the desired run, the run GUID is used as a parameter for the endpoint, GET files/detailed-run-data/{runtimeGUID}.
curl 'https://{{your_venus_webapi_ip_address}}/api/vector/v3/files/detailed-run-data/<runtimeGuid>' \
--header 'Authorization: Bearer <token>'Response
Returns Hamilton.WebAPI.Common.DetailedRuntimeInfo object.
Case 2: Gather detailed run data during runtime
Get detailed run data at runtime
To obtain run data of a method that is currently running, a call to the endpoint GET execution/current-run-data is required. To call the endpoint, a method must be loaded and running to successfully obtain current run data. Go to Run a method for instructions on how to load and run a method.
curl 'https://{{your_venus_webapi_ip_address}}/api/vector/v3/execution/current-run-data' \
--header 'Authorization: Bearer <token>'Response
Returns Hamilton.WebAPI.Common.DetailedRuntimeInfo object.