Route Description
GET /limits Get limits
GET /usage Get usage

Overview

Accounts have limits related to running tests (duration, bandwidth, storage, etc). Use these routes to see your limits and how much usage you’ve logged against those limits.

Get limits

Retrieve an array of all limits. Same as what you see under Settings -> Limits on the website.

GET /limits

Request Parameters

None

Sample Response

[
   {
      "id":59,
      "createdAt":"2015-11-11T02:32:39.113Z",
      "updatedAt":"2015-11-11T02:32:39.113Z",
      "limitType":"Default",
      "concurrentClients":500,
      "requestPerSec":100,
      "duration":108000,
      "throughput":1073741824,
      "storage":104857600
   },
   {
      "id":60,
      "createdAt":"2015-11-11T02:32:39.123Z",
      "updatedAt":"2015-11-11T02:32:39.123Z",
      "limitType":"Public",
      "concurrentClients":50,
      "requestsPerSec":100,
      "duration":108000,
      "throughput":1073741824
   },
   {
      "id":61,
      "createdAt":"2015-11-11T02:32:39.125Z",
      "updatedAt":"2015-11-11T02:32:39.125Z",
      "limitType":"Month",
      "duration":108000
   },
   {
      "id":62,
      "createdAt":"2015-11-11T02:32:39.127Z",
      "updatedAt":"2015-11-11T02:32:39.127Z",
      "limitType":"Recording",
      "requestsPerSec":100,
      "duration":3600,
      "throughput":1048576000
   },
   {
      "id":63,
      "createdAt":"2015-11-11T02:32:39.129Z",
      "updatedAt":"2015-11-11T02:32:39.129Z",
      "limitType":"Storage",
      "duration":2592000,
      "storage":5368709120
   },
   {
      "id":64,
      "createdAt":"2015-11-11T02:32:39.132Z",
      "updatedAt":"2015-11-11T02:32:39.132Z",
      "limitType":"File",
      "storage":104857600
   }
]

Get usage

Get information regarding your usage.

GET /usage

Request Parameters

None

Sample Response

[
   {
      "limitType":"Day",
      "duration":217,
      "iterations":200,
      "bandwidth":17232
   },
   {
      "limitType":"Month",
      "duration":7939,
      "iterations":22335,
      "bandwidth":244105499
   },
   {
      "limitType":"Storage",
      "duration":0,
      "iterations":0,
      "bandwidth":0,
      "storage":85489
   }
]