Work with this as data
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/roar-ai-com:roar-ai-com-keys-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Roar AI Keys API
version: 1.0.0
description: 'One key, two surfaces. The **gateway** (`/v1/*`) is OpenAI-compatible — point any OpenAI SDK at it. The **management API** (`/client/*`) lets an agent provision keys, read spend, and deploy apps. Both authenticate with a `roar_live_…` key sent as `Authorization: Bearer `. A key carries scopes (inference, keys:read, keys:write, usage:read, requests:read, apps:read, apps:deploy, data:read, projects:write, webhooks:read, webhooks:write, mcp:read, mcp:write); each `/client` route requires a specific one. There is also a hosted MCP server at `POST /mcp` exposing the same operations as tools.'
servers:
- url: https://api.roar-ai.com
security:
- BearerAuth: []
tags:
- name: Keys
description: API key management
paths:
/client/keys:
get:
tags:
- Keys
summary: List API keys
description: Never returns key plaintext. Requires `keys:read`.
responses:
'200':
description: The account's keys
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyList'
'401':
description: Unauthenticated
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks keys:read
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getClientKeys
x-operation-id-source: derived
post:
tags:
- Keys
summary: Create an API key
description: Returns the plaintext key ONCE. Granting management scopes requires an owner session or a key that already holds them. A key cannot create a key in a project whose tool bundles run with full access (403) — its tools would run without approval; an owner or admin in the console can. Requires `keys:write`.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateKeyRequest'
responses:
'201':
description: The created key (plaintext shown once)
content:
application/json:
schema:
$ref: '#/components/schemas/CreatedKey'
'401':
description: Unauthenticated
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks keys:write / cannot escalate scopes
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: postClientKeys
x-operation-id-source: derived
/client/keys/{id}:
get:
tags:
- Keys
summary: Get one key
description: 'Full key detail: settings, spend windows (total/today/week/month), and budget status. Never returns key plaintext. Requires `keys:read`.'
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Key detail
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyDetail'
'404':
description: No such key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getClientKeysById
x-operation-id-source: derived
patch:
tags:
- Keys
summary: Update a key
description: 'Rename, move project, change scopes, pause/resume (`disabled`), and — owner only — set the spend cap or expiry (`expiresAt`). A revoked key rejects `disabled`. Moving a key to another project is a person’s act in the console (403 for a key): the tools a key may use without approval depend on its project. An app’s own key moves only with its app (409 — move the app instead). Read the key back with `GET` to see the result.'
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateKeyRequest'
responses:
'200':
description: Updated
content:
application/json:
schema:
$ref: '#/components/schemas/Ack'
'403':
description: A key cannot move a key to another project
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: The key belongs to an app — move the app instead
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: patchClientKeysById
x-operation-id-source: derived
delete:
tags:
- Keys
summary: Revoke or delete a key
description: Revokes by default (key stops working, stays listed). With `?permanent=true`, deletes the key permanently; usage history is kept.
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
- name: permanent
in: query
schema:
type: string
enum:
- 'true'
responses:
'200':
description: Revoked or deleted
'404':
description: No such key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: deleteClientKeysById
x-operation-id-source: derived
components:
schemas:
ApiKeyList:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/ApiKeyListItem'
KeySpend:
type: object
required:
- total
- requests
- today
- week
- month
properties:
total:
type: string
description: Decimal USD as a string
requests:
type: integer
today:
type: string
description: Decimal USD as a string
week:
type: string
description: Decimal USD as a string
month:
type: string
description: Decimal USD as a string
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- message
- type
- code
- param
properties:
message:
type: string
type:
type: string
code:
type: string
nullable: true
param:
type: string
nullable: true
BudgetStatus:
type: object
required:
- scope
- id
- spendLimitUsd
- budgetPeriod
- hardCap
- alertAtPct
- periodStart
- spendUsd
- pctUsed
- state
properties:
scope:
type: string
enum:
- client
- project
- key
id:
type: string
format: uuid
name:
type: string
description: Absent for an unnamed key
spendLimitUsd:
type: number
budgetPeriod:
type: string
enum:
- day
- week
- month
- total
hardCap:
type: boolean
alertAtPct:
type: integer
periodStart:
type: string
format: date-time
spendUsd:
type: number
pctUsed:
type: number
nullable: true
state:
type: string
enum:
- ok
- alerting
- exceeded
ApiKeySettings:
type: object
required:
- spendLimitUsd
- budgetPeriod
- hardCap
- revoked
- disabledAt
- lastUsedAt
properties:
spendLimitUsd:
type: string
description: null = no cap on this key
nullable: true
budgetPeriod:
type: string
enum:
- day
- week
- month
- total
hardCap:
type: boolean
description: 'A PREFERENCE, and on its own it protects nothing: true = refuse at the cap, false = only alert — but either way it does nothing until `spendLimitUsd` is set. Read `capped` for the question "will this key actually be stopped".'
revoked:
type: string
format: date-time
nullable: true
disabledAt:
type: string
format: date-time
nullable: true
description: Paused by its owner — reversible, unlike `revoked`
lastUsedAt:
type: string
format: date-time
nullable: true
McpKeyLabel:
type: object
required:
- app
- person
- personId
- revokedAutomatically
properties:
app:
type: string
description: The assistant app, e.g. Claude
person:
type: string
description: Whose connection it is
personId:
type: string
description: That person’s user id, to tell your own connections from a teammate’s
revokedAutomatically:
type: string
nullable: true
enum:
- unused
- connection_gone
- null
description: 'Why it was revoked automatically, when it was: unused for 90 days, or the connection is gone. Null when it is live or an admin revoked it.'
ApiKeyListItem:
allOf:
- $ref: '#/components/schemas/ApiKey'
- $ref: '#/components/schemas/ApiKeySettings'
- type: object
required:
- requests
- costUsd
- appName
- appId
- capped
properties:
requests:
type: integer
description: Requests in the last 30 days
costUsd:
type: string
description: Spend in the last 30 days
appName:
type: string
nullable: true
description: 'The hosted app this key was created for, or null for a key you made yourself. A key with a name here is the credential its app runs on: it cannot be revoked or deleted while the app exists (pause it instead, or delete the app).'
appId:
type: string
format: uuid
nullable: true
description: The id of that hosted app (as in `/client/apps/{id}`), or null for a key you made yourself. App names are not unique; this is.
capped:
type: boolean
description: 'Whether spend on this key is actually REFUSED at a limit — `spendLimitUsd` set AND `hardCap` true. Neither field answers that alone, so read this one: a key with `hardCap: true` and no limit is uncapped. The same predicate the gateway itself filters budgets through.'
mcp:
$ref: '#/components/schemas/McpKeyLabel'
nullable: true
description: Set on an MCP key — one an assistant connected over MCP spends through, created when the person connected it — and null on every other key. Pause it to stop that assistant making AI calls.
viaSetup:
type: boolean
description: True when a coding agent fetched this key with a one-time setup code — requests on it are labelled "AI assistant · API key" in the request log.
ApiKeyRecord:
allOf:
- $ref: '#/components/schemas/ApiKey'
- $ref: '#/components/schemas/ApiKeySettings'
- type: object
required:
- alertAtPct
- rateLimitPerMin
- mcp
- setupCode
properties:
alertAtPct:
type: integer
description: Percent of the cap at which the budget starts alerting
rateLimitPerMin:
type: integer
nullable: true
mcp:
$ref: '#/components/schemas/McpKeyLabel'
nullable: true
description: Set on an MCP key — which assistant and whose connection it is — and null on every other key
setupCode:
type: string
nullable: true
enum:
- pending
- used
- expired
- null
description: 'For a key delivered by a one-time setup code (`delivery: setup_code`): whether an agent has spent the code yet, or it expired unspent. Null for a key that was revealed instead.'
UpdateKeyRequest:
type: object
properties:
name:
type: string
nullable: true
projectId:
type: string
format: uuid
nullable: true
scopes:
type: array
items:
type: string
enum:
- inference
- keys:read
- keys:write
- usage:read
- requests:read
- apps:read
- apps:deploy
- data:read
- projects:write
- webhooks:read
- webhooks:write
- mcp:read
- mcp:write
expiresAt:
type: string
format: date-time
nullable: true
disabled:
type: boolean
description: Pause or resume the key
spendLimitUsd:
type: number
nullable: true
budgetPeriod:
type: string
enum:
- day
- week
- month
- total
ApiKey:
type: object
required:
- id
- name
- prefix
- projectId
- scopes
- expiresAt
- createdAt
properties:
id:
type: string
format: uuid
name:
type: string
nullable: true
prefix:
type: string
description: The visible head of the key — enough to identify it, never enough to use it
projectId:
type: string
format: uuid
nullable: true
scopes:
type: array
items:
type: string
enum:
- inference
- keys:read
- keys:write
- usage:read
- requests:read
- apps:read
- apps:deploy
- data:read
- projects:write
- webhooks:read
- webhooks:write
- mcp:read
- mcp:write
expiresAt:
type: string
format: date-time
nullable: true
createdAt:
type: string
format: date-time
ApiKeyDetail:
type: object
required:
- key
- usage
- budget
properties:
key:
$ref: '#/components/schemas/ApiKeyRecord'
usage:
$ref: '#/components/schemas/KeySpend'
budget:
$ref: '#/components/schemas/BudgetStatus'
nullable: true
CreatedKey:
allOf:
- $ref: '#/components/schemas/ApiKey'
- type: object
required:
- key
- baseUrl
- warning
properties:
key:
type: string
description: Plaintext — shown once
baseUrl:
type: string
description: The OpenAI-compatible endpoint this key is used against
warning:
type: string
Ack:
type: object
required:
- ok
properties:
ok:
type: boolean
CreateKeyRequest:
type: object
properties:
name:
type: string
projectId:
type: string
format: uuid
nullable: true
scopes:
type: array
items:
type: string
enum:
- inference
- keys:read
- keys:write
- usage:read
- requests:read
- apps:read
- apps:deploy
- data:read
- projects:write
- webhooks:read
- webhooks:write
- mcp:read
- mcp:write
default:
- inference
expiresInDays:
type: integer
spendLimitUsd:
type: number
nullable: true
budgetPeriod:
type: string
enum:
- day
- week
- month
- total
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: roar_live_…
description: A scoped Roar API key.
externalDocs:
description: Guides and the interactive reference
url: https://roar-ai.com/docs