# get_usage_and_limits

Show plan limits and what has been used

`GET /v1/limits`

| | |
| --- | --- |
| Risk | read |
| Authentication | API key or OAuth access token |
| Scopes | `account:read` |
| Idempotency | natural: repeating the call gives the same result |
| Dry run | not applicable |
| Success status | 200 |
| Response type | application/json |

## What it does

- Use when: You are about to send, import or sign readers up and want to know how much room the plan leaves, or a request returned rate_limited or quota_exceeded.
- Do not use when: you need to know what this key may do (call get_current_access).
- Side effects: None.
- Reversible: Not applicable, nothing changes.
- Required scope: account:read.
- Idempotency: safe to repeat.
- Typical next step: call estimate_audience or preview_send before a send.

## Scopes

- `account:read`: Read the workspace name, sending status, plan limits and usage.

## Request

### Path parameters

None.

### Query parameters

None.

Every read also accepts `fields=a,b,c` to return only those top-level fields.

## Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `as_of` | string | yes |  |
| `subscribers` | object | yes | Active subscribers against the most a mailing may reach. |
| `subscribers.limit` | integer, min -9007199254740991, max 9007199254740991 or null | yes | The plan limit, or null when the plan has none. |
| `subscribers.used` | integer, min -9007199254740991, max 9007199254740991 | yes | Used so far in the window. |
| `subscribers.resets_at` | string or null | yes | RFC 3339 UTC when the window resets, or null for a standing limit. |
| `emails_today` | object | yes | Author emails counted today (UTC) against the daily cap. |
| `emails_today.limit` | integer, min -9007199254740991, max 9007199254740991 or null | yes | The plan limit, or null when the plan has none. |
| `emails_today.used` | integer, min -9007199254740991, max 9007199254740991 | yes | Used so far in the window. |
| `emails_today.resets_at` | string or null | yes | RFC 3339 UTC when the window resets, or null for a standing limit. |
| `emails_this_month` | object | yes | Author emails counted this UTC month against the monthly cap. |
| `emails_this_month.limit` | integer, min -9007199254740991, max 9007199254740991 or null | yes | The plan limit, or null when the plan has none. |
| `emails_this_month.used` | integer, min -9007199254740991, max 9007199254740991 | yes | Used so far in the window. |
| `emails_this_month.resets_at` | string or null | yes | RFC 3339 UTC when the window resets, or null for a standing limit. |
| `magnet_signups_this_month` | object | yes |  |
| `magnet_signups_this_month.limit` | integer, min -9007199254740991, max 9007199254740991 or null | yes | The plan limit, or null when the plan has none. |
| `magnet_signups_this_month.used` | integer, min -9007199254740991, max 9007199254740991 | yes | Used so far in the window. |
| `magnet_signups_this_month.resets_at` | string or null | yes | RFC 3339 UTC when the window resets, or null for a standing limit. |
| `published_magnets` | object | yes |  |
| `published_magnets.limit` | integer, min -9007199254740991, max 9007199254740991 or null | yes | The plan limit, or null when the plan has none. |
| `published_magnets.used` | integer, min -9007199254740991, max 9007199254740991 | yes | Used so far in the window. |
| `published_magnets.resets_at` | string or null | yes | RFC 3339 UTC when the window resets, or null for a standing limit. |
| `webhook_endpoints` | object | yes |  |
| `webhook_endpoints.limit` | integer, min -9007199254740991, max 9007199254740991 or null | yes | The plan limit, or null when the plan has none. |
| `webhook_endpoints.used` | integer, min -9007199254740991, max 9007199254740991 | yes | Used so far in the window. |
| `webhook_endpoints.resets_at` | string or null | yes | RFC 3339 UTC when the window resets, or null for a standing limit. |
| `api_send_executions_today` | object | yes | Sends this key executed today (UTC) against the daily limit for API sends. |
| `api_send_executions_today.limit` | integer, min -9007199254740991, max 9007199254740991 or null | yes | The plan limit, or null when the plan has none. |
| `api_send_executions_today.used` | integer, min -9007199254740991, max 9007199254740991 | yes | Used so far in the window. |
| `api_send_executions_today.resets_at` | string or null | yes | RFC 3339 UTC when the window resets, or null for a standing limit. |
| `api_requests` | object | yes |  |
| `api_requests.requests_per_minute` | integer, min -9007199254740991, max 9007199254740991 | yes | Matches the q value of the RateLimit-Policy header. |
| `api_requests.write_requests_per_minute` | integer, min -9007199254740991, max 9007199254740991 | yes |  |
| `api_requests.bulk_calls_per_minute` | integer, min -9007199254740991, max 9007199254740991 | yes |  |

## Examples

### magnets plan

Request:

```bash
curl 'https://api.seemly.com/v1/limits' \
  -H "Authorization: Bearer $SEEMLY_API_KEY"
```

Response: `200`:

```json
{
  "as_of": "2026-12-02T09:30:00Z",
  "subscribers": {
    "limit": 500,
    "used": 212,
    "resets_at": null
  },
  "emails_today": {
    "limit": 500,
    "used": 0,
    "resets_at": "2026-12-03T00:00:00Z"
  },
  "emails_this_month": {
    "limit": 4000,
    "used": 530,
    "resets_at": "2027-01-01T00:00:00Z"
  },
  "magnet_signups_this_month": {
    "limit": 2500,
    "used": 41,
    "resets_at": "2027-01-01T00:00:00Z"
  },
  "published_magnets": {
    "limit": null,
    "used": 2,
    "resets_at": null
  },
  "webhook_endpoints": {
    "limit": 3,
    "used": 1,
    "resets_at": null
  },
  "api_send_executions_today": {
    "limit": 4,
    "used": 0,
    "resets_at": "2026-12-03T00:00:00Z"
  },
  "api_requests": {
    "requests_per_minute": 120,
    "write_requests_per_minute": 60,
    "bulk_calls_per_minute": 5
  }
}
```

## Errors

| Status | Codes |
| --- | --- |
| 401 | [`unauthenticated`](/developers/md/errors/unauthenticated), [`credential_revoked`](/developers/md/errors/credential_revoked), [`credential_expired`](/developers/md/errors/credential_expired) |
| 403 | [`insufficient_scope`](/developers/md/errors/insufficient_scope), [`plan_does_not_include`](/developers/md/errors/plan_does_not_include), [`api_suspended`](/developers/md/errors/api_suspended), [`consent_required`](/developers/md/errors/consent_required) |
| 429 | [`rate_limited`](/developers/md/errors/rate_limited) |
| 503 | [`service_unavailable`](/developers/md/errors/service_unavailable) |

Every error is an `application/problem+json` body with a `code`, a `fix` sentence and `next_actions`. See [reading a problem response](/developers/md/guides/agents#reading-a-problem-response).

## Typical next steps

- [`estimate_audience`](/developers/md/operations/estimate_audience)
- [`preview_send`](/developers/md/operations/preview_send)

## Related

- [OpenAPI document](https://api.seemly.com/v1/openapi.json)
- [Agent guide](/developers/md/guides/agents)
