Usage
Retrieve your account usage and plan limits through the Resend API.
Operations
| Method | Endpoint | Description |
|---|---|---|
GET | /usage | Retrieve account usage |
Example
Retrieve account usage, with the TypeScript SDK:
ts
import { Resend } from "@octridev/resend";
const client = new Resend({
// Optional: replaces the default server and any server an operation declares.
baseUrl: "https://api.resend.com",
auth: { bearerAuth: process.env.API_TOKEN! },
});
const result = await client.usage.get();
console.log(result);Nine more languages
The same call exists in every SDK. See SDKs for the other nine.