PayWithLocus Tenants API

Tenant profile, keys, and settings (dashboard session or secret key)

GitHub OpenAPI

Operations 19

GET /credits/tenants/me/spend-controls Read account spend and balance controls #
PUT /credits/tenants/me/spend-controls Set or clear account spend and balance controls #
GET /credits/tenants/me/approvals List what is waiting for a person's approval #
PUT /credits/tenants/me/approvals/settings Set or clear "ask before any call over $X" #
DELETE /credits/tenants/me/keys/{keyId} Revoke an API key #
PATCH /credits/tenants/me/keys/{keyId} Rename an API key or change its tool set #
POST /credits/tenants/me/keys/{keyId}/rotate Rotate ONE key; sibling keys of the same kind keep working #
GET /credits/tenants/me/credentials/audit Credential lifecycle audit #
GET /credits/tenants/me/security/audit Sensitive-mutation security audit #
POST /credits/tenants/self-serve Resume interrupted self-serve workspace provisioning #
POST /credits/evaluation-invitations/validate Validate an evaluation invitation #
POST /credits/evaluation-invitations/accept Create an evaluation account from a private invitation #
POST /credits/evaluation-invitations/accept-existing Accept an invitation as the matching signed-in identity #
GET /credits/tenants/me Get tenant profile #
PATCH /credits/tenants/me Update tenant profile #
PUT /credits/tenants/me Update tenant settings #
GET /credits/tenants/me/keys List API-key metadata and immutable execution policies #
POST /credits/tenants/me/keys Issue an independently scoped API key #
POST /credits/tenants/me/keys/rotate Rotate every active key of a kind (cutover) #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paywithlocus-com:paywithlocus-com-tenants-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

paywithlocus-com-tenants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Locus Pro Tenants API
  description: Production is live at https://api.paywithlocus.com/api. Stage remains available for evaluation and integration testing at https://api.stage.paywithlocus.com/api; credentials, balances, and tenant data are isolated by environment. Embedded prepaid credits over the Locus pay-per-use catalog. Money and top-up amounts use exact decimal strings (up to 6dp). Every burn requires an Idempotency-Key header. Management routes accept a tenant secret key or authorized dashboard session as shown per operation. High-risk operations protected by workspace-administrator step-up require an owner or admin dashboard session, the applicable scope, and MFA/passkey authentication completed in the last ten minutes; developer, billing, viewer, and secret-key principals remain ineligible even when a matching scope is present. Scoped secret keys retain only the explicitly documented Agent Connection lifecycle exception. Widget routes accept an end-user JWT alone; when a publishable key is present it must belong to the JWT's tenant. MCP uses OAuth 2.1 Authorization Code with PKCE by default and also accepts the explicitly documented tenant secret key, end-user JWT, or scoped agent connection compatibility credentials. Burns accept the execution credentials shown per operation. Publishable keys never authorize management or burns by themselves.
  version: 0.7.0
servers:
- url: https://api.paywithlocus.com/api
  description: Production
- url: https://api.stage.paywithlocus.com/api
  description: Stage — evaluation and integration testing
security:
- secretKey: []
tags:


# --- truncated at 32 KB (53 KB total) ---
# Full source: https://artifacts.apis.io/paywithlocus-com/openapi/paywithlocus-com-tenants-api-openapi.yml