Get Rescued Requests Data

Get retry and fallback rescued requests graph

GEThttps://api.portkey.ai/v1/analytics/graphs/requests/rescued
Query parameters
Response

OK

Headers
Body
summary*object
data_points*array of object

An array of data points, each with a timestamp and metrics

object*enum

The type of object being returned

analytics-graph
Request
const response = await fetch('https://api.portkey.ai/v1/analytics/graphs/requests/rescued?time_of_generation_min=2024-10-05T09%3A17%3A31.230Z&time_of_generation_max=2024-10-05T09%3A17%3A31.230Z', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "summary": {},
  "data_points": [
    {
      "timestamp": "2024-10-05T09:17:31.230Z",
      "retry": [
        {}
      ]
    }
  ],
  "object": "analytics-graph"
}

Last updated