Insforge Configuration API

Manage realtime retention settings.

Operations 2

GET /api/realtime/config Get Realtime Config
PATCH /api/realtime/config Update Realtime Config

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/insforge-configuration-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 email required.

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

OpenAPI Specification

insforge-configuration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Insforge AI Admin Configuration API
  version: 1.0.0
  description: Model Gateway helper APIs for OpenRouter key provisioning, model discovery, and deprecated compatibility proxy routes
servers:
- url: https://api.insforge.dev
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Configuration
  description: Manage realtime retention settings.
paths:
  /api/realtime/config:
    get:
      summary: Get Realtime Config
      description: Retrieve realtime message retention configuration
      tags:
      - Configuration
      security:
      - bearerAuth: []
      - apiKey: []
      responses:
        '200':
          description: Realtime configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RealtimeConfig'
              example:
                retentionDays: null
    patch:
      summary: Update Realtime Config
      description: Update realtime message retention configuration
      tags:
      - Configuration
      security:
      - bearerAuth: []
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateRealtimeConfigRequest'
            examples:
              retainFor90Days:
                value:
                  retentionDays: 90
              keepForever:
                value:
                  retentionDays: null
      responses:
        '200':
          description: Realtime configuration updated
          content:
            application/json:
              schema:
                type: object
                required:
                - message
                properties:
                  message:
                    type: string
              example:
                message: Retention config updated successfully
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: INVALID_INPUT
                message: 'retentionDays: Number must be greater than 0'
                statusCode: 400
components:
  schemas:
    UpdateRealtimeConfigRequest:
      type: object
      required:
      - retentionDays
      properties:
        retentionDays:
          type:
          - integer
          - 'null'
          minimum: 1
          description: Number of days messages are retained. Null means messages are kept indefinitely.
          example: 90
    RealtimeConfig:
      type: object
      required:
      - retentionDays
      properties:
        retentionDays:
          type:
          - integer
          - 'null'
          minimum: 1
          description: Number of days messages are retained. Null means messages are kept indefinitely.
          example: null
    ErrorResponse:
      type: object
      required:
      - error
      - message
      - statusCode
      properties:
        error:
          type: string
          description: Error code for programmatic handling
          example: INVALID_INPUT
        message:
          type: string
          description: Human-readable error message
          example: Invalid request
        statusCode:
          type: integer
          description: HTTP status code
          example: 400
        nextActions:
          type: string
          description: Suggested action to resolve the error
          example: Check your request parameters
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT