a4sx Vault API

The Vault API from a4sx — 10 operation(s) for vault.

GitHub OpenAPI

Operations 11

POST /vault/unseal Vault Unseal #
GET /vault/status Vault Status #
GET /vault/env-secrets Env Secret Sources #
GET /vault/erasure-keyring/flagged-trials Erasure Keyring Flagged Trials #
GET /vault/provider-tripwire Provider Tripwire Counter #
GET /vault/erasure-keyring Erasure Keyring #
GET /vault/grants List Grants #
POST /vault/grants Grant Secret #
DELETE /vault/grants/prefix/{producer_id}/{prefix} Revoke Prefix Grant #
DELETE /vault/grants/{producer_id}/{name} Revoke Secret #
GET /vault/secrets List Secrets #

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/session-exchange-com:session-exchange-com-vault-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

session-exchange-com-vault-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Session Exchange Com Vault API
  version: 0.1.0
  description: 'Operations tagged Vault across 2 of this provider''s published API definitions: openapi.json, session-exchange-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Vault
paths:
  /vault/unseal:
    post:
      summary: Vault Unseal
      description: 'Operator route: present the master key to unwrap THIS tenant''s DEK into

        memory. No auth token required (the master key IS the credential); never echoed

        or logged. Reachable even while sealed.'
      operationId: vault_unseal_vault_unseal_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Vault Unseal Vault Unseal Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
  /vault/status:
    get:
      summary: Vault Status
      description: 'This tenant''s vault posture — NEVER returns any secret value or key material.

        Intentionally unauthenticated (the unseal-recovery flow and liveness need it while sealed).

        NOTE: `secret_count`/`grant_count` are numeric counts only (no values); leaving them public is

        a consciously-accepted LOW (see the 2026-09-15 audit) rather than break the documented status

        shape used by tooling/monitoring.'
      operationId: vault_status_vault_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Vault Status Vault Status Get
      tags:
      - Vault
  /vault/env-secrets:
    get:
      summary: Env Secret Sources
      description: 'Global admin: where each collector secret that used to live raw in the container env is

        served from right now (WP-14, docs/secrets-in-vault.md) — `in_use` vault / env / missing, the

        DEFAULT tenant''s vault name(s) with presence + version, whether the raw env var is still set

        and whether it equals the vault value (`env_removable`). NEVER a value. Reads the vault fresh

        and refreshes the in-process cache, so a just-written secret is in use after this call.'
      operationId: env_secret_sources_vault_env_secrets_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Env Secret Sources Vault Env Secrets Get
      tags:
      - Vault
  /vault/erasure-keyring/flagged-trials:
    get:
      summary: Erasure Keyring Flagged Trials
      description: 'Global admin (S-48): trials granted while an unknown-kid trial fingerprint could not be checked

        (`trial_fingerprint_unverified`), each RE-CHECKED under the current keyring once the key is back.

        User ids, kids and verdicts only. Nothing is revoked automatically.'
      operationId: erasure_keyring_flagged_trials_vault_erasure_keyring_flagged_trials_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Erasure Keyring Flagged Trials Vault Erasure Keyring Flagged Trials Get
      tags:
      - Vault
  /vault/provider-tripwire:
    get:
      summary: Provider Tripwire Counter
      description: 'Global admin: the #1889 tripwire counter (collector/router_secret_tripwire.py) — per trigger, how often it

        tripped and in how many workspaces, all time and in the last 7 days, until the exposure ends (2026-12-31).

        Counts only: no workspace id, actor or secret name.'
      operationId: provider_tripwire_counter_vault_provider_tripwire_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Provider Tripwire Counter Vault Provider Tripwire Get
      tags:
      - Vault
  /vault/erasure-keyring:
    get:
      summary: Erasure Keyring
      description: 'Global admin: per-kid record counts of the erasure keyring (S-48). Counts and key ids only.'
      operationId: erasure_keyring_vault_erasure_keyring_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Erasure Keyring Vault Erasure Keyring Get
      tags:
      - Vault
  /vault/grants:
    get:
      summary: List Grants
      description: 'Admin: list all grants for this tenant (producer_id + name + granted_at). NO values.

        `grants` are read grants (unchanged shape); `write_grants` the per-secret write grants.'
      operationId: list_grants_vault_grants_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response List Grants Vault Grants Get
      tags:
      - Vault
    post:
      summary: Grant Secret
      description: 'Admin: grant a producer read access to a secret (emit secret.granted), or — with

        `access: "write"` — write access to exactly that secret (emit secret.write_granted).'
      operationId: grant_secret_vault_grants_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Grant Secret Vault Grants Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
  /vault/grants/prefix/{producer_id}/{prefix}:
    delete:
      summary: Revoke Prefix Grant
      description: 'Admin: revoke one access level of a producer''s prefix grant (#761) → secret.prefix_revoked.

        Takes effect on the next request (every check reads the projection; nothing is cached).'
      operationId: revoke_prefix_grant_vault_grants_prefix__producer_id___prefix__delete
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      - name: prefix
        in: path
        required: true
        schema:
          type: string
          title: Prefix
      - name: access
        in: query
        required: true
        schema:
          type: string
          title: Access
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Revoke Prefix Grant Vault Grants Prefix  Producer Id   Prefix  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
  /vault/grants/{producer_id}/{name}:
    delete:
      summary: Revoke Secret
      description: 'Admin: revoke a producer''s read grant (emit secret.revoked), or with `?access=write`

        its write grant (emit secret.write_revoked). The two are independent.'
      operationId: revoke_secret_vault_grants__producer_id___name__delete
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: access
        in: query
        required: false
        schema:
          type: string
          default: read
          title: Access
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Revoke Secret Vault Grants  Producer Id   Name  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
  /vault/secrets:
    get:
      summary: List Secrets
      description: 'Admin of THIS tenant (a tenant admin token, or a human owner/admin session at the tenant''s

        host): the names + versions of this tenant''s secrets and whether a router producer of this

        tenant is granted read on each. NEVER a value, NEVER another tenant''s names — the listing is

        scoped to the Host-resolved tenant like every vault route, and the router''s own open `/vault`

        names endpoint (a cross-tenant leak) is deliberately NOT mirrored. An uninitialised vault lists

        as empty (200); an initialised-but-sealed one is 503 like the other data routes.


        `granted_to_router` is true when ANY producer in `router_producers` holds a read grant on the

        secret (#1299): the tenant''s router producer (`router_producer`) and, in the fleet-base tenant,

        the fleet routers'' own producers. Display only — nothing here grants, revokes or authorises.'
      operationId: list_secrets_vault_secrets_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response List Secrets Vault Secrets Get
      tags:
      - Vault
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
x-refined-from:
- openapi.json
- session-exchange-com-openapi.json