Pushary Keys API
Per-end-user API keys for multi-tenant agent runtimes.
Per-end-user API keys for multi-tenant agent runtimes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pushary-com:pushary-com-keys-api"
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.
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: 3.2.0
info:
title: Pushary Com Keys API
version: 1.0.0
contact:
name: Pushary
url: https://pushary.com/docs
email: business@pushary.com
termsOfService: https://pushary.com/terms
description: 'Operations tagged Keys across 2 of this provider''s published API definitions: pushary-com-openapi.json, pushary-com.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://pushary.com
description: Production
security:
- bearerAuth: []
tags:
- name: Keys
description: Per-end-user API keys for multi-tenant agent runtimes.
paths:
/api/v1/server/keys:
get:
operationId: listBoundKeys
summary: List per-end-user API keys
description: Returns the bound keys issued from this account, including revoked ones.
tags:
- Keys
responses:
'200':
description: The bound keys.
content:
application/json:
schema:
type: object
required:
- keys
properties:
keys:
type: array
items:
$ref: '#/components/schemas/BoundKeySummary'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
post:
operationId: issueBoundKey
summary: Issue a per-end-user API key
description: Mints a key bound to one end-user for one session. A bound key can only evaluate policy, check reachability, and create, read and cancel that user’s decisions. It cannot enroll devices, answer a decision, reach your audience or mint further keys. The full key is returned once and cannot be retrieved again.
tags:
- Keys
requestBody:
required: true
description: The end-user to bind the key to.
content:
application/json:
schema:
$ref: '#/components/schemas/IssueBoundKey'
responses:
'201':
description: The issued key, shown once.
content:
application/json:
schema:
$ref: '#/components/schemas/BoundKeyResult'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
servers:
- url: https://pushary.com
description: Production
/api/v1/server/keys/{keyPrefix}:
delete:
operationId: revokeBoundKey
summary: Revoke a per-end-user API key
description: Revokes a bound key immediately. In-flight requests holding it stop being authorized.
tags:
- Keys
parameters:
- name: keyPrefix
in: path
required: true
description: The public half of the key to revoke.
schema:
type: string
responses:
'200':
description: The key was revoked.
content:
application/json:
schema:
$ref: '#/components/schemas/RevokeKeyResult'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
servers:
- url: https://pushary.com
description: Production
/api/v1/server/keys/self/revoke:
post:
operationId: revokeCallingKey
summary: Revoke the calling key
description: Revokes the key that made this request. Lets an agent runtime destroy its own session credential when the session ends, without holding a second key that could revoke it.
tags:
- Keys
responses:
'200':
description: The calling key was revoked.
content:
application/json:
schema:
$ref: '#/components/schemas/RevokeKeyResult'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
servers:
- url: https://pushary.com
description: Production
components:
schemas:
BoundKeySummary:
type: object
required:
- keyPrefix
- name
- boundExternalId
- isActive
- lastUsedAt
- expiresAt
- createdAt
properties:
keyPrefix:
type: string
description: The public half of the key.
name:
type: string
description: The label given at issue time.
boundExternalId:
type:
- string
- 'null'
description: The end-user this key is bound to.
isActive:
type: boolean
description: False once revoked or expired.
lastUsedAt:
type:
- string
- 'null'
format: date-time
description: Last use.
expiresAt:
type:
- string
- 'null'
format: date-time
description: When it expires.
createdAt:
type: string
description: When it was issued.
format: date-time
IssueBoundKey:
type: object
required:
- externalId
properties:
externalId:
type: string
description: The end-user this key is bound to.
name:
type: string
description: A label for the key.
expiresInSeconds:
type: integer
description: How long the key stays valid.
RevokeKeyResult:
type: object
required:
- keyPrefix
- revoked
properties:
keyPrefix:
type: string
description: The key that was revoked.
revoked:
type: boolean
description: True when this call revoked it.
BoundKeyResult:
type: object
required:
- apiKey
- keyPrefix
- scope
- boundExternalId
- expiresAt
properties:
apiKey:
type: string
description: The full key, shown once. It cannot be retrieved again.
keyPrefix:
type: string
description: The public half, used to revoke the key later.
scope:
type: string
description: Always `bound`.
enum:
- bound
boundExternalId:
type: string
description: The end-user this key is bound to.
expiresAt:
type:
- string
- 'null'
format: date-time
description: When it expires.
Error:
type: object
description: JSON error response. Shared authentication and validation errors include code and diagnostics; some endpoint errors return only error. Branch on HTTP status and code when present, not message text.
required:
- error
properties:
error:
type: string
description: Human-readable summary.
code:
type: string
description: Machine-readable classification, when available. Common values include unauthorized, forbidden, invalid_request, not_found, method_not_allowed and rate_limited.
status:
type: integer
description: The HTTP status code, repeated in the body for transports that hide it.
message:
type: string
description: What went wrong, in one sentence.
hint:
type: string
description: What to do about it.
documentation:
type: string
description: URL of the documentation page for this rule.
format: uri
responses:
RateLimited:
description: Too many requests. `X-RateLimit-Remaining` and `X-RateLimit-Reset` are on every response.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: 'The key is valid but not allowed to do this: wrong scope, wrong plan, or a locked workspace.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: The request body or parameters were rejected.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: No such resource, or no such endpoint.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: The API key is missing, malformed or revoked.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'A Pushary API key, sent as `Authorization: Bearer pk_xxx.xxx`. Create one with `npx -y pushary@latest setup` or in Dashboard > Agent > Settings. The MCP endpoint additionally accepts OAuth 2.0; see /.well-known/oauth-protected-resource.'
externalDocs:
description: Pushary documentation
url: https://pushary.com/docs
x-refined-from:
- pushary-com-openapi.json
- pushary-com.json