You can use this with getLoggedData to retrieve the raw data.
// Optionalconstfilters= [ { "col_name":"model","operator":"eq","value":"gpt-3.5-turbo" },]// Optionalconstsort_spec= [ { "col_name":"created_at","sort_dir":"asc" }]constrows=awaitapiClient.getLoggedData("2024-03-11T16:15:28.294Z",// ISO start_time string with timezone"2024-03-12T16:15:28.294Z",// ISO end_time string with timezone filters,// (optional) See above for an example. sort_spec,// (optional) See above for an example limit // a number of items to return);console.log(rows);
You can use getMetrics to get corresponding metrics.