Q-EaaS Admin API

Admin-token operational endpoints.

GitHub OpenAPI

Operations 4

POST /admin/ingest Refill the entropy pool from an uploaded bits file #
POST /admin/purge Purge all entropy pool rows #
POST /admin/keys Mint an API key #
POST /admin/keys/revoke Revoke an API key #

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/qeaas-eu:qeaas-eu-admin-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

qeaas-eu-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Quantum Entropy-as-a-Service Admin API
  description: Q-EaaS supplies high-quality entropy from a quantum random number generator (QRNG) that seeds a standards HMAC-DRBG (SP 800-90A). Only DRBG-derived bytes, seeds, and ML-KEM key material are served -- raw QRNG bits are never exposed. The quantum part is the entropy source; post-quantum resistance comes from ML-KEM (FIPS 203), not from the randomness itself.
  version: 1.0.0
servers:
- url: https://api.qeaas.eu
  description: Q-EaaS API
tags:
- name: Admin
  description: Admin-token operational endpoints.
paths:
  /admin/ingest:
    post:
      tags:
      - Admin
      summary: Refill the entropy pool from an uploaded bits file
      description: 'AC-7, Q5: multipart `.txt` upload (`0`/`1` only), <= 10 MB, refills the pool.'
      operationId: admin_ingest_admin_ingest_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_admin_ingest_admin_ingest_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminIngestResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - AdminTokenAuth: []
  /admin/purge:
    post:
      tags:
      - Admin
      summary: Purge all entropy pool rows
      description: Delete all entropy_pool rows so the pool can be reseeded from scratch.
      operationId: admin_purge_admin_purge_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminPurgeResponse'
      security:
      - AdminTokenAuth: []
  /admin/keys:
    post:
      tags:
      - Admin
      summary: Mint an API key
      description: 'AC-9: HTTP mint route (EPIC 2 Q4 carry-over); same logic as `scripts/mint_key.py`.'
      operationId: admin_mint_key_admin_keys_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminKeyRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminKeyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - AdminTokenAuth: []
  /admin/keys/revoke:
    post:
      tags:
      - Admin
      summary: Revoke an API key
      description: 'AC-8: instant revocation -- `require_api_key` reads the row fresh every request.'
      operationId: admin_revoke_key_admin_keys_revoke_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminRevokeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminRevokeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - AdminTokenAuth: []
components:
  schemas:
    Body_admin_ingest_admin_ingest_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
      type: object
      required:
      - file
      title: Body_admin_ingest_admin_ingest_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AdminRevokeRequest:
      properties:
        key_hash:
          type: string
          title: Key Hash
      type: object
      required:
      - key_hash
      title: AdminRevokeRequest
    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
    AdminKeyRequest:
      properties:
        owner:
          type: string
          title: Owner
        tier:
          type: string
          title: Tier
          default: default
        daily_quota_bytes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Daily Quota Bytes
      type: object
      required:
      - owner
      title: AdminKeyRequest
    AdminPurgeResponse:
      properties:
        purged:
          type: boolean
          title: Purged
        chunks_removed:
          type: integer
          title: Chunks Removed
        pool_bytes_remaining:
          type: integer
          title: Pool Bytes Remaining
      type: object
      required:
      - purged
      - chunks_removed
      - pool_bytes_remaining
      title: AdminPurgeResponse
    AdminKeyResponse:
      properties:
        api_key:
          type: string
          title: Api Key
        owner:
          type: string
          title: Owner
        tier:
          type: string
          title: Tier
        daily_quota_bytes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Daily Quota Bytes
      type: object
      required:
      - api_key
      - owner
      - tier
      - daily_quota_bytes
      title: AdminKeyResponse
    AdminRevokeResponse:
      properties:
        key_hash:
          type: string
          title: Key Hash
        revoked:
          type: boolean
          title: Revoked
      type: object
      required:
      - key_hash
      - revoked
      title: AdminRevokeResponse
    AdminIngestResponse:
      properties:
        ingested:
          type: boolean
          title: Ingested
        bytes_added:
          type: integer
          title: Bytes Added
        pool_bytes_remaining:
          type: integer
          title: Pool Bytes Remaining
      type: object
      required:
      - ingested
      - bytes_added
      - pool_bytes_remaining
      title: AdminIngestResponse
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    AdminTokenAuth:
      type: apiKey
      in: header
      name: X-Admin-Token