---
title: "Check Quota"
method: POST
path: "/internal/quota/check"
---

# Check Quota

`POST /internal/quota/check`

## Request

- Base URL: `https://api.specproof.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.specproof.ai/internal/quota/check`
- Auth: none declared

Check if an organization has remaining quota for the current billing period.
Used by MCP server before processing searches.

## Request body

- QuotaCheckRequest
  - `org_id` string, required

## Response `200`

Successful Response

- QuotaCheckResponse
  - `allowed` boolean, required
  - `org_id` string, required
  - `tier` string, required
  - `used` integer, required
  - `limit` integer, required
  - `remaining` integer, required
  - `reset_date` string, required
  - `error` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/specproof/apis/specproof-portal-api.md) · [All operations](https://skmtc.dev/specproof/apis/specproof-portal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/specproof/apis/specproof-portal-api/revisions/228b03caa929?raw)
