Token-savings metrics
GET
/v1/savings
const url = 'http://localhost:8090/v1/savings';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8090/v1/savingsParameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”detail
boolean
Responses
Section titled “ Responses ”Savings metrics
