Usage

GET /usage

Get the organization's usage against every allowance it is counted on. One of them is billable (engaged customers) and the rest are backstops that are counted but never priced. The month's bill estimate, its bracket and the next one are on the billing subscription. Each meter says whether it covers the current UTC calendar month or is a running total, and carries its own label so you can render it without a lookup table. These counts are informational, and going over an allowance does not block anything. Counts are cached for a few minutes, so a number can lag a write you just made.

Requires the settings:read permission.

Request
curl \
  "https://your-store.meisei.app/api/usage" \
  -H "Authorization: Bearer sk_YOUR_SECRET_KEY"
Response
{
  "monthlySurveys": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "monthlyEngagedUsers": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "monthlyReviewSubmissions": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "monthlyEmails": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "monthlyAutomationRuns": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "monthlyReviewAnswers": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "products": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "customers": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "storedReviews": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "sites": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "apiKeys": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "seats": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "webhooks": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "brandAssetsMB": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "totalStorageMB": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  },
  "monthlyAiBudgetCents": {
    "label": "string",
    "description": "string",
    "used": 0,
    "limit": 0,
    "usedLabel": "string",
    "limitLabel": "string",
    "status": "ok",
    "group": "billable",
    "grace": {
      "startedAt": "2025-01-15T09:30:00Z",
      "degradesAt": "2025-01-15T09:30:00Z",
      "degraded": true
    },
    "skipped": 0,
    "period": "monthly",
    "overage": {
      "enabled": true,
      "units": 0,
      "bracket": "starter",
      "unitsLabel": "string",
      "blocks": 0,
      "blockSize": 0,
      "amount": 0,
      "amountLabel": "string",
      "rateLabel": "string",
      "currency": "string"
    }
  }
}