docsmint-com Admin API

Operator maintenance endpoints (reindex, embedding stats, provider health) — API key protected

Operations 10

POST /api/admin/reindex/{docId} Post api admin reindex by doc id #
GET /api/admin/embedding-stats Get api admin embedding stats #
GET /api/admin/health/embeddings Get api admin health embeddings #
POST /api/admin/reindex/model Post api admin reindex model #
GET /api/admin/graph/stats Get api admin graph stats #
POST /api/admin/reindex/folder/{folderId} Post api admin reindex folder by folder id #
POST /api/admin/reindex/tag/{tagId} Post api admin reindex tag by tag id #
GET /api/admin/audit Get api admin audit #
GET /api/admin/audit/{resourceType}/{resourceId} Get api admin audit by resource type by resource id #
GET /api/admin/metrics Process-local embedding metrics snapshot #

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/docsmint-com:docsmint-com-admin-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

docsmint-com-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DocsMint Admin API
  description: Self-hosted AI-native knowledge workspace and installable PWA with hybrid search, GraphRAG, REST, SDK, CLI, and MCP access for people and AI agents.
  version: 2.0.4
  contact:
    name: HiAi-gg
    url: https://github.com/HiAi-gg/docsmint
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
tags:
- name: Admin
  description: Operator maintenance endpoints (reindex, embedding stats, provider health) — API key protected
paths:
  /api/admin/reindex/{docId}:
    post:
      operationId: postApiAdminReindexByDocId
      parameters:
      - schema:
          type: string
        in: path
        name: docId
        required: true
      responses:
        '200': {}
      security:
      - OperatorApiKey: []
      - BearerAuth: []
      tags:
      - Admin
      summary: Post api admin reindex by doc id
      x-summary-source: derived
  /api/admin/embedding-stats:
    get:
      operationId: getApiAdminEmbedding-stats
      responses:
        '200': {}
      security:
      - OperatorApiKey: []
      - BearerAuth: []
      tags:
      - Admin
      summary: Get api admin embedding stats
      x-summary-source: derived
  /api/admin/health/embeddings:
    get:
      operationId: getApiAdminHealthEmbeddings
      responses:
        '200': {}
      security:
      - OperatorApiKey: []
      - BearerAuth: []
      tags:
      - Admin
      summary: Get api admin health embeddings
      x-summary-source: derived
  /api/admin/reindex/model:
    post:
      operationId: postApiAdminReindexModel
      responses:
        '200': {}
      security:
      - OperatorApiKey: []
      - BearerAuth: []
      tags:
      - Admin
      summary: Post api admin reindex model
      x-summary-source: derived
  /api/admin/graph/stats:
    get:
      operationId: getApiAdminGraphStats
      responses:
        '200': {}
      security:
      - OperatorApiKey: []
      - BearerAuth: []
      tags:
      - Admin
      summary: Get api admin graph stats
      x-summary-source: derived
  /api/admin/reindex/folder/{folderId}:
    post:
      operationId: postApiAdminReindexFolderByFolderId
      parameters:
      - schema:
          type: string
        in: path
        name: folderId
        required: true
      responses:
        '200': {}
      security:
      - OperatorApiKey: []
      - BearerAuth: []
      tags:
      - Admin
      summary: Post api admin reindex folder by folder id
      x-summary-source: derived
  /api/admin/reindex/tag/{tagId}:
    post:
      operationId: postApiAdminReindexTagByTagId
      parameters:
      - schema:
          type: string
        in: path
        name: tagId
        required: true
      responses:
        '200': {}
      security:
      - OperatorApiKey: []
      - BearerAuth: []
      tags:
      - Admin
      summary: Post api admin reindex tag by tag id
      x-summary-source: derived
  /api/admin/audit:
    get:
      operationId: getApiAdminAudit
      responses:
        '200': {}
      tags:
      - Admin
      summary: Get api admin audit
      x-summary-source: derived
  /api/admin/audit/{resourceType}/{resourceId}:
    get:
      operationId: getApiAdminAuditByResourceTypeByResourceId
      parameters:
      - schema:
          type: string
        in: path
        name: resourceType
        required: true
      - schema:
          type: string
        in: path
        name: resourceId
        required: true
      responses:
        '200': {}
      tags:
      - Admin
      summary: Get api admin audit by resource type by resource id
      x-summary-source: derived
  /api/admin/metrics:
    get:
      operationId: getApiAdminMetrics
      tags:
      - Admin
      summary: Process-local embedding metrics snapshot
      description: 'Returns the current counter values and the raw duration histogram samples from the in-process metrics registry. Authenticated via `x-api-key` or `Authorization: Bearer `.'
      responses:
        '200': {}
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: hiai_docs_*
      description: Global or category-scoped DocsMint API key. The operator key is also accepted as a bearer token on operator-capable routes.
    SessionAuth:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: Better Auth browser session. Secure deployments may use the __Secure- prefixed cookie name.
    OperatorApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Static HIAI_DOCS_API_KEY for /api/admin operator endpoints.