Skip to main content
GET
/
organizations
/
{id}
/
usage
JavaScript
import Nuntly from '@nuntly/sdk';

const client = new Nuntly({
  apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted
});

const usage = await client.organizations.usage.retrieve('org_01ka8k8s80gvx9604cn9am5st4');

console.log(usage.transactional);
{
  "data": {
    "transactional": {
      "limits": {
        "daily": 123,
        "monthly": 123
      },
      "usage": {
        "daily": 123,
        "monthly": 123
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>

Path Parameters

id
string
required

The id of the organization

Example:

"org_01ka8k8s80gvx9604cn9am5st4"

Response

200 response

data
object
required