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: VITNA API (Phase 1) Public API
version: 1.1.0
description: 'The compliance evidence layer for AI agents. Pre-flight compliance checks agents call before they act (consent, breach reportability, EU AI Act classification, cross-border), and audit-grade, signed records of what they did. Phase 1 surface covers region routing labels (one database region is in use today), DPIA/ROPA generation, Data Subject Rights (scoped: answerable only for events linked to a subject via principal_ref at ingest, from the point linkage begins; earlier events are permanently unattributable and cannot be linked retroactively), consent lifecycle, Sahamati AA integration, breach notification, and INR/Razorpay billing for DPDP-IN owners (switched off pending merchant onboarding). Also includes one-command agent self-provisioning (/api/setup, mints a restricted trial key with no signup), a destructive-action safety pre-flight (/api/preflight/action-check), scoped engagement sessions with signed evidence bundles (/api/engagement/*), and account claim by a person, from the claim link (/claim).'
contact:
name: COSTRINITY
email: dpo@costrinity.xyz
url: https://www.costrinity.xyz/
license:
name: Proprietary
url: https://vitna.costrinity.xyz/terms
servers:
- url: https://vitna.costrinity.xyz
description: Production
- url: https://vigil-staging.vercel.app
description: Staging (preview branch)
tags:
- name: Public
paths:
/api/pricing/local:
get:
summary: Plan prices in local currency
description: 'The US dollar prices with a reference conversion into the local currency, for the country named, the account''s jurisdiction or the connection''s country. Canada is not a conversion (since 2026-11-03): a CAD answer gives the Canadian prices themselves, in Canadian dollars, which PayPal charges in CAD (base_currency CAD, local_is_price true, and no usd amount). Without a country in the query, CAD follows the pages: the vitna_currency switch''s cookie, else a connection from Canada. An answer inferred from the request is sent Cache-Control: private, no-store.'
tags:
- Public
parameters:
- name: country
in: query
schema:
type: string
description: ISO-3166 alpha-2
- name: owner_id
in: query
schema:
type: string
format: uuid
responses:
'200':
description: Localized prices
operationId: getApiPricingLocal
x-operation-id-source: derived
/api/payment-methods/india:
get:
summary: 'Public guide: how Indian customers pay for VITNA (Razorpay UPI / PayPal)'
tags:
- Public
parameters:
- name: format
in: query
schema:
type: string
enum:
- json
- md
responses:
'200':
description: Payment guide
operationId: getApiPaymentMethodsIndia
x-operation-id-source: derived
/api/compliance/india-status:
get:
summary: Public DPDP / India compliance posture (live vs planned per capability)
tags:
- Public
parameters:
- name: format
in: query
schema:
type: string
enum:
- json
- md
responses:
'200':
description: Posture document
operationId: getApiComplianceIndiaStatus
x-operation-id-source: derived
/api/changelog:
get:
summary: Public VITNA changelog (hand-curated operator-facing milestones)
tags:
- Public
parameters:
- name: format
in: query
schema:
type: string
enum:
- md
- json
- name: since
in: query
schema:
type: string
description: Filter to phase ≥ N
responses:
'200':
description: Changelog
operationId: getApiChangelog
x-operation-id-source: derived
/api/.well-known/openapi:
get:
summary: This document, OpenAPI 3.0 spec covering the Phase 1 surface
tags:
- Public
parameters:
- name: format
in: query
schema:
type: string
enum:
- json
- yaml
responses:
'200':
description: OpenAPI document
operationId: getApiWellKnownOpenapi
x-operation-id-source: derived
components:
securitySchemes:
ApiKey:
type: apiKey
in: header
name: x-vigil-key
description: 'Per-agent API key. Format: vitna_<64-char-hex>; legacy vigil_ keys remain valid. Send on /api/ingest.'
Bearer:
type: http
scheme: bearer
bearerFormat: vitna_<key> (legacy vigil_<key> accepted)
description: 'Same key as x-vigil-key, sent as `Authorization: Bearer <key>`.'
Session:
type: apiKey
in: cookie
name: vigil_session
description: 'Operator dashboard session cookie. Set by a sign-in: the second step of a password sign-in (/api/auth/verify-pin), or, for an address whose mail Google handles (Gmail or a Google Workspace domain) while VITNA''s mail cannot reach Gmail, the password alone (/api/owners); GitHub; a passkey; or a claim.'
CronSecret:
type: http
scheme: bearer
description: Bearer ${CRON_SECRET}. Only the Vercel cron infrastructure should hold this.