Krobar.ai Health API

Health check and system monitoring endpoints

GitHub OpenAPI

Operations 4

GET /health/ Health Check #
GET /health/memory Memory Status #
GET /health/database Database Health #
GET /health/full Full Health Check #

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/krobar-ai:krobar-ai-health-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

krobar-ai-health-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Krobar AI Health API
  description: '# API Krobar AI


    Welcome to the Krobar AI API! A FastAPI-based service that is the backend for Krobar.ai


    ## Authentication

    **IMPORTANT**: This API requires an API key for all endpoints except for /health. The API key must be provided in the `X-API-Key` header.


    ```bash

    curl -H "X-API-Key: your-api-key" https://api.krobar.ai/endpoint

    ```'
  contact:
    name: API Support
    email: tristan@kromatic.com
  version: 1.0.0
tags:
- name: Health
  description: Health check and system monitoring endpoints
paths:
  /health/:
    get:
      tags:
      - Health
      summary: Health Check
      description: Basic health check endpoint.
      operationId: health_check_health__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /health/memory:
    get:
      tags:
      - Health
      summary: Memory Status
      description: Get detailed memory usage information.
      operationId: memory_status_health_memory_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /health/database:
    get:
      tags:
      - Health
      summary: Database Health
      description: 'Check database connectivity.


        The unhealthy branch carries the live pool snapshot (`db_pool`), including

        the checkout-age diagnostics that name which code paths are holding

        connections. Pool exhaustion surfaces here as a bare

        ``QueuePool limit ... connection timed out`` string, and that string alone

        cannot distinguish saturation from retention — which cost two triage passes

        on krobar-back#636 before the distinction was measured from outside.


        `timestamp` is ``psutil.boot_time()`` and is therefore CONSTANT for the life

        of the machine; it is kept for backward compatibility. Use the additive

        `checked_at` for "when was this reading taken" — an unchanging `timestamp`

        across successive probes was once read as a cached health result when it

        only ever meant the machine had not rebooted.'
      operationId: database_health_health_database_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /health/full:
    get:
      tags:
      - Health
      summary: Full Health Check
      description: 'Comprehensive health check including all components.


        The HTTP status code reflects whether this instance can serve requests,

        which is not the same thing as the top-level `status` field:


        - The `database` component unhealthy breaks every request path, so that

        alone drives a 503 ("cannot-serve").

        - Other components can degrade the top-level `status` to "degraded"

        without affecting the HTTP status — the instance can still serve

        requests ("expected-degraded").


        The additive `can_serve` field makes this explicit for callers that want

        it instead of inferring it from the HTTP status code alone.'
      operationId: full_health_check_health_full_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  securitySchemes:
    APIKeyCookie:
      type: apiKey
      in: cookie
      name: access_token
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key