Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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.
openapi: 3.2.0
info:
title: Vitrus Account API
version: '1'
summary: Cookie-free analytics where every number carries the query that produced it.
description: 'Two surfaces: an unauthenticated ingest endpoint the browser script calls, and a session-authenticated read API. Every read response carries evidence records — the SQL, its parameters and the window — so a client can cite a number rather than assert it.
There is also a read-only MCP server at POST /mcp for agents that speak the Model Context Protocol. It is read-only on purpose: a record a model can write to stops being a record.'
license:
name: Apache-2.0 (core)
url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://app.vitrus.dev/app
description: Vitrus Cloud
- url: http://localhost:3000
description: Self-hosted
security:
- session: []
- apiKey: []
tags:
- name: Account
description: Who you are and what you may see.
paths:
/api/me:
get:
tags:
- Account
summary: The signed-in user, their workspaces and the current quota
responses:
'200':
description: User, workspaces, quota.
'401':
description: Not signed in.
operationId: getApiMe
x-operation-id-source: derived
/api/plans:
get:
tags:
- Account
summary: The plan table
description: The same table the product enforces quotas from, so pricing pages cannot drift from the app.
responses:
'200':
description: Plans.
operationId: getApiPlans
x-operation-id-source: derived
components:
securitySchemes:
session:
type: apiKey
in: cookie
name: vitrus_session
description: 'Server-side session, not a JWT: revoking one has to be instant, which a signed token cannot do.'
apiKey:
type: http
scheme: bearer
description: 'Workspace API key (vk_…), created under Workspace → API keys. Read-only: accepted by the read endpoints only. Header only — a key in the URL is refused. 600 requests a minute per key.'
externalDocs:
url: https://vitrus.dev/docs
description: Documentation