Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/sendraven-ai:sendraven-ai-usage-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Sendraven Ai Usage API
version: 1.0.0
description: 'Operations tagged Usage across 2 of this provider''s published API definitions: sendraven-ai-api-openapi.json, sendraven-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.sendraven.ai
security:
- bearerAuth: []
tags:
- name: Usage
paths:
/v1/usage:
get:
summary: Get plan usage
description: 'The workspace''s plan, emails used this billing period, what a send would be refused for right now, and what the period costs so far. Call it before a large batch or campaign rather than discovering a limit halfway through. sending_locked and lock_reason are the fields worth branching on: they name the exact 402 a send would answer with, including payment_method_required, which no API caller can resolve — a person has to add a payment method in the dashboard. The count trails real sending, so leave headroom rather than sending exactly emails_remaining. Takes no parameters.'
x-required-scope: emails:read
responses:
'200':
description: The usage object.
content:
application/json:
schema:
$ref: '#/components/schemas/Usage'
'401':
description: 'unauthorized: no Bearer token, or the key or token is invalid, revoked or expired.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'forbidden: the key lacks the emails:read scope. The message names it.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 'rate_limited: more requests than the per-key rate (600 a minute by default). Wait the seconds in the Retry-After header and retry.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: 'service_unavailable: the API is under heavy load and could not get a database connection in time. Usually nothing was done; a send that was already under way may have been, so check GET /v1/emails before retrying one. Wait the seconds in the Retry-After header.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Usage
operationId: getV1Usage
x-operation-id-source: derived
servers:
- url: https://api.sendraven.ai
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- type
- message
properties:
type:
type: string
description: 'Stable and safe to branch on, and the same status on every route: invalid_request (422), invalid_json (400), payload_too_large (413), unauthorized (401), forbidden (403), not_found (404), conflict (409, an identifier already taken), invalid_state (409, the resource''s current state does not allow this), plan_limit_reached (402), payment_method_required (402), billing_past_due (402), budget_exceeded (402), no_verified_identity (422), missing_variables (422), unknown_topic (422), idempotency_in_progress (409), idempotency_key_reused (422), approval_in_progress (409), rate_limited (429), daily_limit (429), recipient_not_allowed (403), invalid_schedule (422), warmup_limit (422), no_postal_address (422), workspace_suspended (422), gone (410), ses_error (502), internal_error (500), service_unavailable (503).'
message:
type: string
description: For people; may change.
details:
type: array
items:
type: object
additionalProperties: true
description: 'On many 422 invalid_request answers: one entry per field that failed validation.'
missing:
type: array
items:
type: string
description: 'Only on missing_variables, and always there: the names of the template variables that were not supplied.'
Usage:
type: object
required:
- object
- plan
- plan_name
- pricing_version
- unlimited
- included_emails
- emails_used
- emails_remaining
- period_start
- period_end
- estimated_cents
- estimated
- next_price_point
- payment_method
- budget
- sending_locked
- lock_reason
- enterprise_suggested
- enterprise_from_emails
- estimated_at_period_end_cents
properties:
object:
type: string
enum:
- usage
plan:
type: string
enum:
- free
- standard
- enterprise
- pro
- scale
description: No subscription means free. pro and scale are the retired v1 plans, still reported for the workspaces that are on them.
plan_name:
type: string
description: Free, Standard or Enterprise.
pricing_version:
type: string
enum:
- v1
- v2
description: Which pricing generation this workspace is billed on. New workspaces are v2.
unlimited:
type: boolean
description: 'True for a staff-owned workspace: included_emails and emails_remaining are null and sending_locked is false.'
included_emails:
type:
- integer
- 'null'
description: Free's monthly allowance (3,000), or the emails the Standard monthly minimum covers (50,000). On Standard it is not a ceiling — sending past it is priced, never refused. null when unlimited.
emails_used:
type: integer
minimum: 0
description: Recipients sent in the current billing period, from a rollup that trails by at least a minute and longer during large sends. Leave headroom.
emails_remaining:
type:
- integer
- 'null'
description: included_emails - emails_used; negative once past it on a metered plan, where it means nothing is blocked. null when unlimited.
period_start:
type: string
format: date-time
description: 'Start of the window emails_used and estimated_cents cover: the calendar month on Free, the Stripe subscription period on a paid plan, or the moment of an upgrade for the period it started.'
period_end:
type: string
format: date-time
estimated_cents:
type: integer
minimum: 0
description: 'What this period costs so far, in US cents, on the same curve Stripe bills: the monthly minimum plus usage. Not projected to the end of the period.'
estimated:
type: string
description: estimated_cents as dollars, e.g. $48.71.
next_price_point:
type:
- object
- 'null'
required:
- emails
- cents
description: The next published volume and what the month costs there, so a client can show the shape of the curve. null past the last published point.
properties:
emails:
type: integer
cents:
type: integer
payment_method:
type: object
required:
- present
- required
- brand
- last4
- verified_at
description: The saved payment method. No outbound email leaves a workspace where required is true and present is false, including on Free and including a test send. Only a person can add one, in the dashboard.
properties:
present:
type: boolean
required:
type: boolean
description: False for a staff workspace and for an enterprise account on invoice terms.
brand:
type:
- string
- 'null'
last4:
type:
- string
- 'null'
verified_at:
type:
- string
- 'null'
format: date-time
budget:
type:
- object
- 'null'
required:
- cents
- action
- reached
description: The workspace's own monthly spend ceiling, when it has set one.
properties:
cents:
type: integer
action:
type: string
enum:
- pause_marketing
- pause_all
description: 'pause_marketing, the default, lets transactional mail through: a budget that stops password resets is an outage rather than a saving.'
reached:
type: boolean
sending_locked:
type: boolean
description: True when every outbound send is refused for a billing reason. False while a reached budget pauses marketing only (lock_reason is then budget_exceeded and transactional mail still sends). Inbound is never affected.
lock_reason:
type:
- string
- 'null'
enum:
- payment_method_required
- plan_limit_reached
- billing_past_due
- budget_exceeded
- null
description: Why, named as the error type a send would answer with, so a caller branches on one vocabulary. null when sending works. budget_exceeded may apply to marketing only.
enterprise_suggested:
type: boolean
description: True as the workspace approaches the volume where a negotiated rate usually beats self-service.
enterprise_from_emails:
type: integer
description: 'The volume from which a negotiated rate usually beats self-service, and where enterprise_suggested turns true. Not a sending wall and not a plan change: the published curve keeps applying at every volume above it.'
estimated_at_period_end_cents:
type: integer
description: This period's volume priced on the public self-service curve, for comparison with a quote.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: An API key of the form sk_live_…, created at /developers, or an OAuth access token (srv_oat_…). An OAuth token carries its grant's scopes but none of an API key's guardrails, and cannot decide approvals.
x-refined-from:
- sendraven-ai-api-openapi.json
- sendraven-ai-openapi.json