Insforge Configuration API
Manage realtime retention settings.
Manage realtime retention settings.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/insforge:insforge-configuration-api"
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.
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: 3.2.0
info:
title: Insforge Realtime Configuration API
version: 1.0.0
description: Realtime channel management, message history, permissions, and retention API. Live pub/sub uses Socket.IO.
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
operationId: getApiRealtimeConfig
x-operation-id-source: derived
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
operationId: patchApiRealtimeConfig
x-operation-id-source: derived
components:
schemas:
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
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
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
apiKey:
type: apiKey
in: header
name: X-API-Key
x-provenance:
method: harvested
publisher: Insforge
source: https://raw.githubusercontent.com/InsForge/InsForge/main/openapi/realtime.yaml
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)