HashiCorp System API

The System API from HashiCorp — 107 operation(s) for system.

Operations 149

GET /sys/audit HashiCorp List the enabled audit devices. #
POST /sys/audit-hash/{path} HashiCorp The hash of the given string via the given audit backend #
POST /sys/audit/{path} HashiCorp Enable a new audit device at the supplied path. #
DELETE /sys/audit/{path} HashiCorp Disable the audit device at the given path. #
GET /sys/auth HashiCorp List the currently enabled credential backends. #
POST /sys/auth/{path} HashiCorp Enables a new auth method. #
DELETE /sys/auth/{path} HashiCorp Disable the auth method at the given auth path #
GET /sys/auth/{path}/tune HashiCorp Reads the given auth path's configuration. #
POST /sys/auth/{path}/tune HashiCorp Tune configuration parameters for a given auth path. #
POST /sys/capabilities HashiCorp Fetches the capabilities of the given token on the given path. #
POST /sys/capabilities-accessor HashiCorp Fetches the capabilities of the token associated with the given token, on the given path. #
POST /sys/capabilities-self HashiCorp Fetches the capabilities of the given token on the given path. #
GET /sys/config/auditing/request-headers HashiCorp List the request headers that are configured to be audited. #
GET /sys/config/auditing/request-headers/{header} HashiCorp List the information for the given request header. #
POST /sys/config/auditing/request-headers/{header} HashiCorp Enable auditing of a header. #
DELETE /sys/config/auditing/request-headers/{header} HashiCorp Disable auditing of the given request header. #
GET /sys/config/cors HashiCorp Return the current CORS settings. #
POST /sys/config/cors HashiCorp Configure the CORS settings. #
DELETE /sys/config/cors HashiCorp Remove any CORS settings. #
POST /sys/config/reload/{subsystem} HashiCorp Reload the given subsystem #
GET /sys/config/state/sanitized HashiCorp Return a sanitized version of the Vault server configuration. #
GET /sys/config/ui/headers/ HashiCorp Return a list of configured UI headers. #
GET /sys/config/ui/headers/{header} HashiCorp Return the given UI header's configuration #
POST /sys/config/ui/headers/{header} HashiCorp Configure the values to be returned for the UI header. #
DELETE /sys/config/ui/headers/{header} HashiCorp Remove a UI header. #
GET /sys/generate-root HashiCorp Read the configuration and progress of the current root generation attempt. #
POST /sys/generate-root HashiCorp Initializes a new root generation attempt. #
DELETE /sys/generate-root HashiCorp Cancels any in-progress root generation attempt. #
GET /sys/generate-root/attempt HashiCorp Read the configuration and progress of the current root generation attempt. #
POST /sys/generate-root/attempt HashiCorp Initializes a new root generation attempt. #
DELETE /sys/generate-root/attempt HashiCorp Cancels any in-progress root generation attempt. #
POST /sys/generate-root/update HashiCorp Enter a single master key share to progress the root generation attempt. #
GET /sys/health HashiCorp Returns the health status of Vault. #
GET /sys/host-info HashiCorp Information about the host instance that this Vault server is running on. #
GET /sys/init HashiCorp Returns the initialization status of Vault. #
POST /sys/init HashiCorp Initialize a new Vault. #
GET /sys/internal/counters/activity HashiCorp Report the client count metrics, for this namespace and all child namespaces. #
GET /sys/internal/counters/activity/monthly HashiCorp Report the number of clients for this month, for this namespace and all child namespaces. #
GET /sys/internal/counters/config HashiCorp Read the client count tracking configuration. #
POST /sys/internal/counters/config HashiCorp Enable or disable collection of client count, set retention period, or set default reporting period. #
GET /sys/internal/counters/entities HashiCorp Backwards compatibility is not guaranteed for this API #
GET /sys/internal/counters/requests HashiCorp Backwards compatibility is not guaranteed for this API #
GET /sys/internal/counters/tokens HashiCorp Backwards compatibility is not guaranteed for this API #
GET /sys/internal/specs/openapi HashiCorp Generate an OpenAPI 3 document of all mounted paths. #
GET /sys/internal/ui/feature-flags HashiCorp Lists enabled feature flags. #
GET /sys/internal/ui/mounts HashiCorp Lists all enabled and visible auth and secrets mounts. #
GET /sys/internal/ui/mounts/{path} HashiCorp Return information about the given mount. #
GET /sys/internal/ui/namespaces HashiCorp Backwards compatibility is not guaranteed for this API #
GET /sys/internal/ui/resultant-acl HashiCorp Backwards compatibility is not guaranteed for this API #
GET /sys/key-status HashiCorp Provides information about the backend encryption key. #
GET /sys/leader HashiCorp Returns the high availability status and current leader instance of Vault. #
GET /sys/leases HashiCorp List leases associated with this Vault cluster #
GET /sys/leases/count HashiCorp Count of leases associated with this Vault cluster #
POST /sys/leases/lookup HashiCorp Retrieve lease metadata. #
GET /sys/leases/lookup/ HashiCorp Returns a list of lease ids. #
GET /sys/leases/lookup/{prefix} HashiCorp Returns a list of lease ids. #
POST /sys/leases/renew HashiCorp Renews a lease, requesting to extend the lease. #
POST /sys/leases/renew/{url_lease_id} HashiCorp Renews a lease, requesting to extend the lease. #
POST /sys/leases/revoke HashiCorp Revokes a lease immediately. #
POST /sys/leases/revoke-force/{prefix} HashiCorp Revokes all secrets or tokens generated under a given prefix immediately #
POST /sys/leases/revoke-prefix/{prefix} HashiCorp Revokes all secrets (via a lease ID prefix) or tokens (via the tokens' path property) generated under a given prefix immediately. #
POST /sys/leases/revoke/{url_lease_id} HashiCorp Revokes a lease immediately. #
POST /sys/leases/tidy HashiCorp This endpoint performs cleanup tasks that can be run if certain error conditions have occurred. #
GET /sys/metrics HashiCorp Export the metrics aggregated for telemetry purpose. #
GET /sys/monitor #
GET /sys/mounts HashiCorp List the currently mounted backends. #
POST /sys/mounts/{path} HashiCorp Enable a new secrets engine at the given path. #
DELETE /sys/mounts/{path} HashiCorp Disable the mount point specified at the given path. #
GET /sys/mounts/{path}/tune HashiCorp Tune backend configuration parameters for this mount. #
POST /sys/mounts/{path}/tune HashiCorp Tune backend configuration parameters for this mount. #
GET /sys/plugins/catalog HashiCorp Lists all the plugins known to Vault #
GET /sys/plugins/catalog/{name} HashiCorp Return the configuration data for the plugin with the given name. #
POST /sys/plugins/catalog/{name} HashiCorp Register a new plugin, or updates an existing one with the supplied name. #
DELETE /sys/plugins/catalog/{name} HashiCorp Remove the plugin with the given name. #
GET /sys/plugins/catalog/{type} HashiCorp List the plugins in the catalog. #
GET /sys/plugins/catalog/{type}/{name} HashiCorp Return the configuration data for the plugin with the given name. #
POST /sys/plugins/catalog/{type}/{name} HashiCorp Register a new plugin, or updates an existing one with the supplied name. #
DELETE /sys/plugins/catalog/{type}/{name} HashiCorp Remove the plugin with the given name. #
POST /sys/plugins/reload/backend HashiCorp Reload mounted plugin backends. #
GET /sys/policies/acl HashiCorp List the configured access control policies. #
GET /sys/policies/acl/{name} HashiCorp Retrieve information about the named ACL policy. #
POST /sys/policies/acl/{name} HashiCorp Add a new or update an existing ACL policy. #
DELETE /sys/policies/acl/{name} HashiCorp Delete the ACL policy with the given name. #
GET /sys/policies/password/{name} HashiCorp Retrieve an existing password policy. #
POST /sys/policies/password/{name} HashiCorp Add a new or update an existing password policy. #
DELETE /sys/policies/password/{name} HashiCorp Delete a password policy. #
GET /sys/policies/password/{name}/generate HashiCorp Generate a password from an existing password policy. #
GET /sys/policy HashiCorp List the configured access control policies. #
GET /sys/policy/{name} HashiCorp Retrieve the policy body for the named policy. #
POST /sys/policy/{name} HashiCorp Add a new or update an existing policy. #
DELETE /sys/policy/{name} HashiCorp Delete the policy with the given name. #
GET /sys/pprof/ HashiCorp Returns an HTML page listing the available profiles. #
GET /sys/pprof/allocs HashiCorp Returns a sampling of all past memory allocations. #
GET /sys/pprof/block HashiCorp Returns stack traces that led to blocking on synchronization primitives #
GET /sys/pprof/cmdline HashiCorp Returns the running program's command line. #
GET /sys/pprof/goroutine HashiCorp Returns stack traces of all current goroutines. #
GET /sys/pprof/heap HashiCorp Returns a sampling of memory allocations of live object. #
GET /sys/pprof/mutex HashiCorp Returns stack traces of holders of contended mutexes #
GET /sys/pprof/profile HashiCorp Returns a pprof-formatted cpu profile payload. #
GET /sys/pprof/symbol HashiCorp Returns the program counters listed in the request. #
GET /sys/pprof/threadcreate HashiCorp Returns stack traces that led to the creation of new OS threads #
GET /sys/pprof/trace HashiCorp Returns the execution trace in binary form. #
GET /sys/quotas/config #
POST /sys/quotas/config #
GET /sys/quotas/rate-limit #
GET /sys/quotas/rate-limit/{name} #
POST /sys/quotas/rate-limit/{name} #
DELETE /sys/quotas/rate-limit/{name} #
GET /sys/raw HashiCorp Read the value of the key at the given path. #
POST /sys/raw HashiCorp Update the value of the key at the given path. #
DELETE /sys/raw HashiCorp Delete the key with given path. #
GET /sys/raw/{path} HashiCorp Read the value of the key at the given path. #
POST /sys/raw/{path} HashiCorp Update the value of the key at the given path. #
DELETE /sys/raw/{path} HashiCorp Delete the key with given path. #
GET /sys/rekey/backup HashiCorp Return the backup copy of PGP-encrypted unseal keys. #
DELETE /sys/rekey/backup HashiCorp Delete the backup copy of PGP-encrypted unseal keys. #
GET /sys/rekey/init HashiCorp Reads the configuration and progress of the current rekey attempt. #
POST /sys/rekey/init HashiCorp Initializes a new rekey attempt. #
DELETE /sys/rekey/init HashiCorp Cancels any in-progress rekey. #
GET /sys/rekey/recovery-key-backup HashiCorp Allows fetching or deleting the backup of the rotated unseal keys. #
DELETE /sys/rekey/recovery-key-backup HashiCorp Allows fetching or deleting the backup of the rotated unseal keys. #
POST /sys/rekey/update HashiCorp Enter a single master key share to progress the rekey of the Vault. #
GET /sys/rekey/verify HashiCorp Read the configuration and progress of the current rekey verification attempt. #
POST /sys/rekey/verify HashiCorp Enter a single new key share to progress the rekey verification operation. #
DELETE /sys/rekey/verify HashiCorp Cancel any in-progress rekey verification operation. #
POST /sys/remount HashiCorp Move the mount point of an already-mounted backend. #
POST /sys/renew HashiCorp Renews a lease, requesting to extend the lease. #
POST /sys/renew/{url_lease_id} HashiCorp Renews a lease, requesting to extend the lease. #
GET /sys/replication/status #
POST /sys/revoke HashiCorp Revokes a lease immediately. #
POST /sys/revoke-force/{prefix} HashiCorp Revokes all secrets or tokens generated under a given prefix immediately #
POST /sys/revoke-prefix/{prefix} HashiCorp Revokes all secrets (via a lease ID prefix) or tokens (via the tokens' path property) generated under a given prefix immediately. #
POST /sys/revoke/{url_lease_id} HashiCorp Revokes a lease immediately. #
POST /sys/rotate HashiCorp Rotates the backend encryption key used to persist data. #
GET /sys/rotate/config #
POST /sys/rotate/config #
POST /sys/seal HashiCorp Seal the Vault. #
GET /sys/seal-status HashiCorp Check the seal status of a Vault. #
POST /sys/step-down HashiCorp Cause the node to give up active status. #
POST /sys/tools/hash HashiCorp Generate a hash sum for input data #
POST /sys/tools/hash/{urlalgorithm} HashiCorp Generate a hash sum for input data #
POST /sys/tools/random HashiCorp Generate random bytes #
POST /sys/tools/random/{urlbytes} HashiCorp Generate random bytes #
POST /sys/unseal HashiCorp Unseal the Vault. #
GET /sys/wrapping/lookup HashiCorp Look up wrapping properties for the requester's token. #
POST /sys/wrapping/lookup HashiCorp Look up wrapping properties for the given token. #
POST /sys/wrapping/rewrap HashiCorp Rotates a response-wrapped token. #
POST /sys/wrapping/unwrap HashiCorp Unwraps a response-wrapped token. #
POST /sys/wrapping/wrap HashiCorp Response-wraps an arbitrary JSON object. #

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/hashicorp-system-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hashicorp-system-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HashiCorp Vault Auth System API
  description: HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.
  version: 1.9.3
  license:
    name: Mozilla Public License 2.0
    url: https://www.mozilla.org/en-US/MPL/2.0
tags:
- name: System
paths:
  /sys/audit:
    description: List the currently enabled audit backends.
    x-vault-sudo: true
    get:
      summary: HashiCorp List the enabled audit devices.
      operationId: getSysAudit
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/audit-hash/{path}:
    description: The hash of the given string via the given audit backend
    parameters:
    - name: path
      description: 'The name of the backend. Cannot be delimited. Example: "mysql"'
      in: path
      schema:
        type: string
      required: true
    post:
      summary: HashiCorp The hash of the given string via the given audit backend
      operationId: postSysAuditHashPath
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                input:
                  type: string
      responses:
        '200':
          description: OK
  /sys/audit/{path}:
    description: Enable or disable audit backends.
    parameters:
    - name: path
      description: 'The name of the backend. Cannot be delimited. Example: "mysql"'
      in: path
      schema:
        type: string
      required: true
    x-vault-sudo: true
    post:
      summary: HashiCorp Enable a new audit device at the supplied path.
      operationId: postSysAuditPath
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                description:
                  type: string
                  description: User-friendly description for this audit backend.
                local:
                  type: boolean
                  description: Mark the mount as a local mount, which is not replicated and is unaffected by replication.
                  default: false
                options:
                  type: object
                  description: Configuration options for the audit backend.
                  format: kvpairs
                type:
                  type: string
                  description: 'The type of the backend. Example: "mysql"'
      responses:
        '200':
          description: OK
    delete:
      summary: HashiCorp Disable the audit device at the given path.
      operationId: deleteSysAuditPath
      tags:
      - System
      responses:
        '204':
          description: empty body
  /sys/auth:
    description: List the currently enabled credential backends.
    get:
      summary: HashiCorp List the currently enabled credential backends.
      operationId: getSysAuth
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/auth/{path}:
    description: Enable a new credential backend with a name.
    parameters:
    - name: path
      description: 'The path to mount to. Cannot be delimited. Example: "user"'
      in: path
      schema:
        type: string
      required: true
    x-vault-sudo: true
    post:
      summary: HashiCorp Enables a new auth method.
      description: 'After enabling, the auth method can be accessed and configured via the auth path specified as part of the URL. This auth path will be nested under the auth prefix.


        For example, enable the "foo" auth method will make it accessible at /auth/foo.'
      operationId: postSysAuthPath
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                config:
                  type: object
                  description: Configuration for this mount, such as plugin_name.
                  format: map
                description:
                  type: string
                  description: User-friendly description for this credential backend.
                external_entropy_access:
                  type: boolean
                  description: Whether to give the mount access to Vault's external entropy.
                  default: false
                local:
                  type: boolean
                  description: Mark the mount as a local mount, which is not replicated and is unaffected by replication.
                  default: false
                options:
                  type: object
                  description: The options to pass into the backend. Should be a json object with string keys and values.
                  format: kvpairs
                plugin_name:
                  type: string
                  description: Name of the auth plugin to use based from the name in the plugin catalog.
                seal_wrap:
                  type: boolean
                  description: Whether to turn on seal wrapping for the mount.
                  default: false
                type:
                  type: string
                  description: 'The type of the backend. Example: "userpass"'
      responses:
        '200':
          description: OK
    delete:
      summary: HashiCorp Disable the auth method at the given auth path
      operationId: deleteSysAuthPath
      tags:
      - System
      responses:
        '204':
          description: empty body
  /sys/auth/{path}/tune:
    description: Tune the configuration parameters for an auth path.
    parameters:
    - name: path
      description: Tune the configuration parameters for an auth path.
      in: path
      schema:
        type: string
      required: true
    x-vault-sudo: true
    get:
      summary: HashiCorp Reads the given auth path's configuration.
      description: This endpoint requires sudo capability on the final path, but the same functionality can be achieved without sudo via `sys/mounts/auth/[auth-path]/tune`.
      operationId: getSysAuthPathTune
      tags:
      - System
      responses:
        '200':
          description: OK
    post:
      summary: HashiCorp Tune configuration parameters for a given auth path.
      description: This endpoint requires sudo capability on the final path, but the same functionality can be achieved without sudo via `sys/mounts/auth/[auth-path]/tune`.
      operationId: postSysAuthPathTune
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                allowed_response_headers:
                  type: array
                  description: A list of headers to whitelist and allow a plugin to set on responses.
                  items:
                    type: string
                audit_non_hmac_request_keys:
                  type: array
                  description: The list of keys in the request data object that will not be HMAC'ed by audit devices.
                  items:
                    type: string
                audit_non_hmac_response_keys:
                  type: array
                  description: The list of keys in the response data object that will not be HMAC'ed by audit devices.
                  items:
                    type: string
                default_lease_ttl:
                  type: string
                  description: The default lease TTL for this mount.
                description:
                  type: string
                  description: User-friendly description for this credential backend.
                listing_visibility:
                  type: string
                  description: Determines the visibility of the mount in the UI-specific listing endpoint. Accepted value are 'unauth' and ''.
                max_lease_ttl:
                  type: string
                  description: The max lease TTL for this mount.
                options:
                  type: object
                  description: The options to pass into the backend. Should be a json object with string keys and values.
                  format: kvpairs
                passthrough_request_headers:
                  type: array
                  description: A list of headers to whitelist and pass from the request to the plugin.
                  items:
                    type: string
                token_type:
                  type: string
                  description: The type of token to issue (service or batch).
      responses:
        '200':
          description: OK
  /sys/capabilities:
    description: Fetches the capabilities of the given token on the given path.
    post:
      summary: HashiCorp Fetches the capabilities of the given token on the given path.
      operationId: postSysCapabilities
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                path:
                  type: array
                  description: Use 'paths' instead.
                  items:
                    type: string
                  deprecated: true
                paths:
                  type: array
                  description: Paths on which capabilities are being queried.
                  items:
                    type: string
                token:
                  type: string
                  description: Token for which capabilities are being queried.
      responses:
        '200':
          description: OK
  /sys/capabilities-accessor:
    description: Fetches the capabilities of the token associated with the given token, on the given path.
    post:
      summary: HashiCorp Fetches the capabilities of the token associated with the given token, on the given path.
      operationId: postSysCapabilitiesAccessor
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                accessor:
                  type: string
                  description: Accessor of the token for which capabilities are being queried.
                path:
                  type: array
                  description: Use 'paths' instead.
                  items:
                    type: string
                  deprecated: true
                paths:
                  type: array
                  description: Paths on which capabilities are being queried.
                  items:
                    type: string
      responses:
        '200':
          description: OK
  /sys/capabilities-self:
    description: Fetches the capabilities of the given token on the given path.
    post:
      summary: HashiCorp Fetches the capabilities of the given token on the given path.
      operationId: postSysCapabilitiesSelf
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                path:
                  type: array
                  description: Use 'paths' instead.
                  items:
                    type: string
                  deprecated: true
                paths:
                  type: array
                  description: Paths on which capabilities are being queried.
                  items:
                    type: string
                token:
                  type: string
                  description: Token for which capabilities are being queried.
      responses:
        '200':
          description: OK
  /sys/config/auditing/request-headers:
    description: Lists the headers configured to be audited.
    x-vault-sudo: true
    get:
      summary: HashiCorp List the request headers that are configured to be audited.
      operationId: getSysConfigAuditingRequestHeaders
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/config/auditing/request-headers/{header}:
    description: Configures the headers sent to the audit logs.
    parameters:
    - name: header
      in: path
      schema:
        type: string
      required: true
    x-vault-sudo: true
    get:
      summary: HashiCorp List the information for the given request header.
      operationId: getSysConfigAuditingRequestHeadersHeader
      tags:
      - System
      responses:
        '200':
          description: OK
    post:
      summary: HashiCorp Enable auditing of a header.
      operationId: postSysConfigAuditingRequestHeadersHeader
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                hmac:
                  type: boolean
      responses:
        '200':
          description: OK
    delete:
      summary: HashiCorp Disable auditing of the given request header.
      operationId: deleteSysConfigAuditingRequestHeadersHeader
      tags:
      - System
      responses:
        '204':
          description: empty body
  /sys/config/cors:
    description: This path responds to the following HTTP methods. GET / Returns the configuration of the CORS setting. POST / Sets the comma-separated list of origins that can make cross-origin requests. DELETE / Clears the CORS configuration and disables acceptance of CORS requests.
    x-vault-sudo: true
    get:
      summary: HashiCorp Return the current CORS settings.
      operationId: getSysConfigCors
      tags:
      - System
      responses:
        '200':
          description: OK
    post:
      summary: HashiCorp Configure the CORS settings.
      operationId: postSysConfigCors
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                allowed_headers:
                  type: array
                  description: A comma-separated string or array of strings indicating headers that are allowed on cross-origin requests.
                  items:
                    type: string
                allowed_origins:
                  type: array
                  description: A comma-separated string or array of strings indicating origins that may make cross-origin requests.
                  items:
                    type: string
                enable:
                  type: boolean
                  description: Enables or disables CORS headers on requests.
      responses:
        '200':
          description: OK
    delete:
      summary: HashiCorp Remove any CORS settings.
      operationId: deleteSysConfigCors
      tags:
      - System
      responses:
        '204':
          description: empty body
  /sys/config/reload/{subsystem}:
    parameters:
    - name: subsystem
      in: path
      schema:
        type: string
      required: true
    post:
      summary: HashiCorp Reload the given subsystem
      operationId: postSysConfigReloadSubsystem
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/config/state/sanitized:
    get:
      summary: HashiCorp Return a sanitized version of the Vault server configuration.
      description: The sanitized output strips configuration values in the storage, HA storage, and seals stanzas, which may contain sensitive values such as API tokens. It also removes any token or secret fields in other stanzas, such as the circonus_api_token from telemetry.
      operationId: getSysConfigStateSanitized
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/config/ui/headers/:
    description: This path responds to the following HTTP methods. GET /<header> Returns the header value. POST /<header> Sets the header value for the UI. DELETE /<header> Clears the header value for UI. LIST / List the headers configured for the UI.
    x-vault-sudo: true
    get:
      summary: HashiCorp Return a list of configured UI headers.
      operationId: getSysConfigUiHeaders
      tags:
      - System
      parameters:
      - name: list
        description: Return a list if `true`
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
  /sys/config/ui/headers/{header}:
    description: This path responds to the following HTTP methods. GET /<header> Returns the header value. POST /<header> Sets the header value for the UI. DELETE /<header> Clears the header value for UI. LIST / List the headers configured for the UI.
    parameters:
    - name: header
      description: The name of the header.
      in: path
      schema:
        type: string
      required: true
    x-vault-sudo: true
    get:
      summary: HashiCorp Return the given UI header's configuration
      operationId: getSysConfigUiHeadersHeader
      tags:
      - System
      responses:
        '200':
          description: OK
    post:
      summary: HashiCorp Configure the values to be returned for the UI header.
      operationId: postSysConfigUiHeadersHeader
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                multivalue:
                  type: boolean
                  description: Returns multiple values if true
                values:
                  type: array
                  description: The values to set the header.
                  items:
                    type: string
      responses:
        '200':
          description: OK
    delete:
      summary: HashiCorp Remove a UI header.
      operationId: deleteSysConfigUiHeadersHeader
      tags:
      - System
      responses:
        '204':
          description: empty body
  /sys/generate-root:
    description: Reads, generates, or deletes a root token regeneration process.
    get:
      summary: HashiCorp Read the configuration and progress of the current root generation attempt.
      operationId: getSysGenerateRoot
      tags:
      - System
      responses:
        '200':
          description: OK
    post:
      summary: HashiCorp Initializes a new root generation attempt.
      description: Only a single root generation attempt can take place at a time. One (and only one) of otp or pgp_key are required.
      operationId: postSysGenerateRoot
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                pgp_key:
                  type: string
                  description: Specifies a base64-encoded PGP public key.
      responses:
        '200':
          description: OK
    delete:
      summary: HashiCorp Cancels any in-progress root generation attempt.
      operationId: deleteSysGenerateRoot
      tags:
      - System
      responses:
        '204':
          description: empty body
  /sys/generate-root/attempt:
    description: Reads, generates, or deletes a root token regeneration process.
    x-vault-unauthenticated: true
    get:
      summary: HashiCorp Read the configuration and progress of the current root generation attempt.
      operationId: getSysGenerateRootAttempt
      tags:
      - System
      responses:
        '200':
          description: OK
    post:
      summary: HashiCorp Initializes a new root generation attempt.
      description: Only a single root generation attempt can take place at a time. One (and only one) of otp or pgp_key are required.
      operationId: postSysGenerateRootAttempt
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                pgp_key:
                  type: string
                  description: Specifies a base64-encoded PGP public key.
      responses:
        '200':
          description: OK
    delete:
      summary: HashiCorp Cancels any in-progress root generation attempt.
      operationId: deleteSysGenerateRootAttempt
      tags:
      - System
      responses:
        '204':
          description: empty body
  /sys/generate-root/update:
    description: Reads, generates, or deletes a root token regeneration process.
    x-vault-unauthenticated: true
    post:
      summary: HashiCorp Enter a single master key share to progress the root generation attempt.
      description: If the threshold number of master key shares is reached, Vault will complete the root generation and issue the new token. Otherwise, this API must be called multiple times until that threshold is met. The attempt nonce must be provided with each call.
      operationId: postSysGenerateRootUpdate
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                key:
                  type: string
                  description: Specifies a single master key share.
                nonce:
                  type: string
                  description: Specifies the nonce of the attempt.
      responses:
        '200':
          description: OK
  /sys/health:
    description: Checks the health status of the Vault.
    x-vault-unauthenticated: true
    get:
      summary: HashiCorp Returns the health status of Vault.
      operationId: getSysHealth
      tags:
      - System
      responses:
        '200':
          description: initialized, unsealed, and active
        '429':
          description: unsealed and standby
        '472':
          description: data recovery mode replication secondary and active
        '501':
          description: not initialized
        '503':
          description: sealed
  /sys/host-info:
    description: Information about the host instance that this Vault server is running on.
    get:
      summary: HashiCorp Information about the host instance that this Vault server is running on.
      description: "Information about the host instance that this Vault server is running on.\n\t\tThe information that gets collected includes host hardware information, and CPU,\n\t\tdisk, and memory utilization"
      operationId: getSysHostInfo
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/init:
    description: Initializes or returns the initialization status of the Vault.
    x-vault-unauthenticated: true
    get:
      summary: HashiCorp Returns the initialization status of Vault.
      operationId: getSysInit
      tags:
      - System
      responses:
        '200':
          description: OK
    post:
      summary: HashiCorp Initialize a new Vault.
      description: The Vault must not have been previously initialized. The recovery options, as well as the stored shares option, are only available when using Vault HSM.
      operationId: postSysInit
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                pgp_keys:
                  type: array
                  description: Specifies an array of PGP public keys used to encrypt the output unseal keys. Ordering is preserved. The keys must be base64-encoded from their original binary representation. The size of this array must be the same as `secret_shares`.
                  items:
                    type: string
                recovery_pgp_keys:
                  type: array
                  description: Specifies an array of PGP public keys used to encrypt the output recovery keys. Ordering is preserved. The keys must be base64-encoded from their original binary representation. The size of this array must be the same as `recovery_shares`.
                  items:
                    type: string
                recovery_shares:
                  type: integer
                  description: Specifies the number of shares to split the recovery key into.
                recovery_threshold:
                  type: integer
                  description: Specifies the number of shares required to reconstruct the recovery key. This must be less than or equal to `recovery_shares`.
                root_token_pgp_key:
                  type: string
                  description: Specifies a PGP public key used to encrypt the initial root token. The key must be base64-encoded from its original binary representation.
                secret_shares:
                  type: integer
                  description: Specifies the number of shares to split the master key into.
                secret_threshold:
                  type: integer
                  description: Specifies the number of shares required to reconstruct the master key. This must be less than or equal secret_shares. If using Vault HSM with auto-unsealing, this value must be the same as `secret_shares`.
                stored_shares:
                  type: integer
                  description: Specifies the number of shares that should be encrypted by the HSM and stored for auto-unsealing. Currently must be the same as `secret_shares`.
      responses:
        '200':
          description: OK
  /sys/internal/counters/activity:
    description: Query the historical count of clients.
    get:
      summary: HashiCorp Report the client count metrics, for this namespace and all child namespaces.
      operationId: getSysInternalCountersActivity
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/internal/counters/activity/monthly:
    description: Count of active clients so far this month.
    get:
      summary: HashiCorp Report the number of clients for this month, for this namespace and all child namespaces.
      operationId: getSysInternalCountersActivityMonthly
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/internal/counters/config:
    description: Control the collection and reporting of client counts.
    get:
      summary: HashiCorp Read the client count tracking configuration.
      operationId: getSysInternalCountersConfig
      tags:
      - System
      responses:
        '200':
          description: OK
    post:
      summary: HashiCorp Enable or disable collection of client count, set retention period, or set default reporting period.
      operationId: postSysInternalCountersConfig
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                default_report_months:
                  type: integer
                  description: Number of months to report if no start date specified.
                  default: 12
                enabled:
                  type: string
                  description: 'Enable or disable collection of client count: enable, disable, or default.'
                  default: default
                retention_months:
                  type: integer
                  description: Number of months of client data to retain. Setting to 0 will clear all existing data.
                  default: 24
      responses:
        '200':
          description: OK
  /sys/internal/counters/entities:
    description: Count of active entities in this Vault cluster.
    get:
      summary: HashiCorp Backwards compatibility is not guaranteed for this API
      operationId: getSysInternalCountersEntities
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/internal/counters/requests:
    description: Currently unsupported. Previously, count of requests seen by this Vault cluster over time.
    get:
      summary: HashiCorp Backwards compatibility is not guaranteed for this API
      operationId: getSysInternalCountersRequests
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/internal/counters/tokens:
    description: Count of active tokens in this Vault cluster.
    get:
      summary: HashiCorp Backwards compatibility is not guaranteed for this API
      operationId: getSysInternalCountersTokens
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/internal/specs/openapi:
    x-vault-unauthenticated: true
    get:
      summary: HashiCorp Generate an OpenAPI 3 document of all mounted paths.
      operationId: getSysInternalSpecsOpenapi
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/internal/ui/feature-flags:
    description: Enabled feature flags. Internal API; its location, inputs, and outputs may change.
    get:
      summary: HashiCorp Lists enabled feature flags.
      operationId: getSysInternalUiFeatureFlags
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/internal/ui/mounts:
    description: Information about mounts returned according to their tuned visibility. Internal API; its location, inputs, and outputs may change.
    x-vault-unauthenticated: true
    get:
      summary: HashiCorp Lists all enabled and visible auth and secrets mounts.
      operationId: getSysInternalUiMounts
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/internal/ui/mounts/{path}:
    description: Information about mounts returned according to their tuned visibility. Internal API; its location, inputs, and outputs may change.
    parameters:
    - name: path
      description: The path of the mount.
      in: path
      schema:
        type: string
      required: true
    x-vault-unauthenticated: true
    get:
      summary: HashiCorp Return information about the given mount.
      operationId: getSysInternalUiMountsPath
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/internal/ui/namespaces:
    description: Information about visible child namespaces. Internal API; its location, inputs, and outputs may change.
    x-vault-unauthenticated: true
    get:
      summary: HashiCorp Backwards compatibility is not guaranteed for this API
      operationId: getSysInternalUiNamespaces
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/internal/ui/resultant-acl:
    description: Information about a token's resultant ACL. Internal API; its location, inputs, and outputs may change.
    get:
      summary: HashiCorp Backwards compatibility is not guaranteed for this API
      operationId: getSysInternalUiResultantAcl
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/key-status:
    description: Provides information about the backend encryption key.
    get:
      summary: HashiCorp Provides information about the backend encryption key.
      operationId: getSysKeyStatus
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/leader:
    description: Check the high availability status and current leader of Vault
    x-vault-unauthenticated: true
    get:
      summary: HashiCorp Returns the high availability status and current leader instance of Vault.
      operationId: getSysLeader
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/leases:
    description: List leases associated with this Vault cluster
    x-vault-sudo: true
    get:
      summary: HashiCorp List leases associated with this Vault cluster
      operationId: getSysLeases
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/leases/count:
    description: Count of leases associated with this Vault cluster
    get:
      summary: HashiCorp Count of leases associated with this Vault cluster
      operationId: getSysLeasesCount
      tags:
      - System
      responses:
        '200':
          description: OK
  /sys/leases/lookup:
    description: View or list lease metadata.
    post:
      summary: HashiCorp Retrieve lease metadata.
      operationId: postSysLeasesLookup
      tags:
      - System
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                lease_id:
                  type: string
                  description: The lease identifier to renew. This is included with a lease.
      responses:
        '200':
          description: OK
  /sys/leases/lookup/:
    description: View or list lease metadata.
    x-vault-sudo: true
    get:
      summary: HashiCorp Returns a list of lease ids.
      operationId: getSysLeasesLookup
      tags:
      - System
      paramet

# --- truncated at 32 KB (85 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/hashicorp/refs/heads/main/openapi/hashicorp-system-api-openapi.yml