Open Concept Lab (OCL) Capacity API

The capacity API from Open Concept Lab (OCL) — 3 operation(s) for capacity.

GitHub OpenAPI

Operations 5

GET /capacity/config/ The capacity-limit config in force (staff) #
PUT /capacity/config/ Replace the capacity-limit config (staff) #
PATCH /capacity/config/ Change the capacity-limit config (staff) #
GET /capacity/config/history/ Changes to the capacity-limit config (staff) #
GET /capacity/status/ Heavy calls in flight now (staff) #

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/openconceptlab:openconceptlab-capacity-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

openconceptlab-capacity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OCL Capacity API
  description: 'OCL API (2.3.250-d17a48ac)


    FHIR terminology Swagger.'
  version: 2.3.250-d17a48ac
servers:
- url: https://api.openconceptlab.org/
security:
- Basic: []
- Token: []
tags:
- name: Capacity
paths:
  /capacity/config/:
    parameters: []
    get:
      operationId: capacity_config_list
      summary: The capacity-limit config in force (staff)
      description: 'The capacity limit on heavy calls (semantic $match, $rerank), for staff. GET returns the config in force, PATCH

        merges changes into it, and PUT replaces it (anything left out takes its default). A change applies across the

        API within CAPACITY_CONFIG_CACHE_SECONDS, with no deploy or restart, and is kept in the history.'
      responses:
        '200':
          description: ''
      tags:
      - Capacity
    put:
      operationId: capacity_config_update
      summary: Replace the capacity-limit config (staff)
      description: 'The capacity limit on heavy calls (semantic $match, $rerank), for staff. GET returns the config in force, PATCH

        merges changes into it, and PUT replaces it (anything left out takes its default). A change applies across the

        API within CAPACITY_CONFIG_CACHE_SECONDS, with no deploy or restart, and is kept in the history.'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                description: 'Capacity-limit settings, e.g. {"mode": "shadow", "tiers": {"preview": 1}}, plus an optional "note" recorded with the change.'
                type: object
            application/zip:
              schema:
                description: 'Capacity-limit settings, e.g. {"mode": "shadow", "tiers": {"preview": 1}}, plus an optional "note" recorded with the change.'
                type: object
            application/fhir+json:
              schema:
                description: 'Capacity-limit settings, e.g. {"mode": "shadow", "tiers": {"preview": 1}}, plus an optional "note" recorded with the change.'
                type: object
      tags:
      - Capacity
      requestBody:
        content:
          application/json:
            schema:
              description: 'Capacity-limit settings, e.g. {"mode": "shadow", "tiers": {"preview": 1}}, plus an optional "note" recorded with the change.'
              type: object
        required: true
    patch:
      operationId: capacity_config_partial_update
      summary: Change the capacity-limit config (staff)
      description: 'The capacity limit on heavy calls (semantic $match, $rerank), for staff. GET returns the config in force, PATCH

        merges changes into it, and PUT replaces it (anything left out takes its default). A change applies across the

        API within CAPACITY_CONFIG_CACHE_SECONDS, with no deploy or restart, and is kept in the history.'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                description: 'Capacity-limit settings, e.g. {"mode": "shadow", "tiers": {"preview": 1}}, plus an optional "note" recorded with the change.'
                type: object
            application/zip:
              schema:
                description: 'Capacity-limit settings, e.g. {"mode": "shadow", "tiers": {"preview": 1}}, plus an optional "note" recorded with the change.'
                type: object
            application/fhir+json:
              schema:
                description: 'Capacity-limit settings, e.g. {"mode": "shadow", "tiers": {"preview": 1}}, plus an optional "note" recorded with the change.'
                type: object
      tags:
      - Capacity
      requestBody:
        content:
          application/json:
            schema:
              description: 'Capacity-limit settings, e.g. {"mode": "shadow", "tiers": {"preview": 1}}, plus an optional "note" recorded with the change.'
              type: object
        required: true
  /capacity/config/history/:
    parameters: []
    get:
      operationId: capacity_config_history_list
      summary: Changes to the capacity-limit config (staff)
      description: 'Every change to the capacity-limit config, newest first: who, when, and each value''s old and new setting.'
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          default: 50
      responses:
        '200':
          description: ''
      tags:
      - Capacity
  /capacity/status/:
    parameters: []
    get:
      operationId: capacity_status_list
      summary: Heavy calls in flight now (staff)
      description: Heavy calls in flight now, in each lane, against its limit (staff).
      responses:
        '200':
          description: ''
      tags:
      - Capacity
components:
  securitySchemes:
    Basic:
      type: http
      scheme: basic
    Token:
      type: apiKey
      name: Authorization
      in: header