> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meter.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Account Endpoints

> Account-level state — strategy quota and plan tier

# Account Endpoints

Read-only endpoints for account-level state. Use these when you need quota or
plan information without making a creation call.

## Get strategy quota

Return current strategy creation quota over the rolling 30-day window. This
endpoint is a pure read — it does **not** consume quota.

```http theme={null}
GET /api/account/quota
```

### Response

```json theme={null}
{
  "strategy_quota": {
    "used": 12,
    "limit": 100,
    "tier": "pro",
    "reset_at": "2026-06-14T09:21:00Z"
  }
}
```

| Field                     | Type           | Description                                                                                                                                                               |
| ------------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `strategy_quota.used`     | integer        | Strategies counted in the rolling 30-day window (active + created-then-deleted).                                                                                          |
| `strategy_quota.limit`    | integer        | Plan limit. `-1` indicates an unlimited (enterprise) plan.                                                                                                                |
| `strategy_quota.tier`     | string         | `free` \| `hobby` \| `pro` \| `enterprise`.                                                                                                                               |
| `strategy_quota.reset_at` | string \| null | ISO 8601 UTC timestamp of when the next quota slot frees (oldest counted strategy + 30 days). Omitted when the plan is unlimited or when there is no usage in the window. |

### Example

```bash theme={null}
curl https://api.meter.sh/api/account/quota \
  -H "Authorization: Bearer sk_live_..."
```

<Tip>
  The same numbers are also returned as response headers
  (`X-Strategy-Quota-Used`, `-Limit`, `-Reset`, `-Tier`) on every
  strategy-creation call. See
  [Strategy quota headers](/api-reference/rest/strategies#strategy-quota-headers)
  for the header-based variant — convenient when you'd already be making a
  creation request and want to avoid an extra round-trip.
</Tip>

## Error responses

| Status | Description                |
| ------ | -------------------------- |
| `401`  | Invalid or missing API key |
| `500`  | Internal server error      |

See [REST API Errors](/api-reference/rest/errors) for detailed error handling.

## Next steps

<CardGroup cols={2}>
  <Card title="Strategy Endpoints" icon="brain" href="/api-reference/rest/strategies">
    Create strategies (and see quota headers on the response)
  </Card>

  <Card title="Strategies Concept" icon="brain" href="/concepts/strategies">
    Learn about strategies and quota
  </Card>
</CardGroup>

## Need help?

Email me at [mckinnon@meter.sh](mailto:mckinnon@meter.sh)
