Our web service API makes data collected and generated by AppNeta Performance Manager (APM) available for analysis, reporting, and presentation in third-party systems. Results are delivered in a lightweight json format that can be readily consumed by a broad range of clients.

The API is presented using Swagger, a third-party framework the sole purpose of which is to provide a rich, interactive experience when attempting to understand and test all of the capabilities within an API.

Path data for a specific time range

You’ll need three pieces of info per path: path ID, start time (optional), end time (optional).

API

  1. Navigate to Delivery > Path List.
  2. Hover over the path name of interest. The tooltip presents a path id.
  3. Next you’ll need the start and end times in unix time. Try this free tool.
  4. Navigate to > API.
  5. Open path > GET /v2/path/{id}/data.
  6. Fill in the blanks and click ‘Try it out!’

curl

  1. Navigate to Delivery > Path List .
  2. Hover over the path name of interest. The tooltip presents a path id.
  3. Next you’ll need the start and end times in unix time. Try this free tool.
  4. Navigate to > API.
  5. Open path > GET /v2/path/{id}/data.
  6. Use the Swagger interface to create the curl syntax for your query.
  7. Fill in your user credentials and execute the command.

The following example gets exactly one total capacity measurement.

curl -X GET --header "Accept: application/json" -u email:password "https://yourAppNetaInstance/pvc-data/v2/path/81103/data?from=1462406460&to=1462406460&metric=totalcapacity" | python -m json.tool
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   295  100   295    0     0    569      0 --:--:-- --:--:-- --:--:--   679
{
"data": {
"availableCapacity": [],
"dataJitter": [],
"dataLoss": [],
"latency": [],
"mos": [],
"rtt": [],
"totalCapacity": [],
"twampJitter": [],
"twampLoss": [],
"twampRtt": [],
"utilizedCapacity": [],
 "voiceJitter": [],
 "voiceLoss": []
 },
 "dataInbound": null,
 "dataOutbound": null,
 "instrumentation": "ONE_WAY",
 "pathId": 81103
 }