sealgate-ai Config API

The Config API from sealgate-ai — 3 operation(s) for config.

Operations 4

GET /api/v1/config Get Full Config #
PUT /api/v1/config/settings Update App Settings #
GET /api/v1/config/siem Get Siem Config #
PUT /api/v1/config/siem Update Siem 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/sealgate-ai:sealgate-ai-config-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 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 Specification

sealgate-ai-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SealGate Config API
  description: Open-source MCP security, aggregation, and monitoring. Self-hosted MCP proxy.
  version: 0.19.0
tags:
- name: Config
paths:
  /api/v1/config:
    get:
      summary: Get Full Config
      description: Full configuration dump (admin/owner/user scoped). Super-Owners only.
      operationId: get_full_config_api_v1_config_get
      security:
      - HTTPBearer: []
      parameters:
      - name: scope
        in: query
        required: false
        schema:
          type: string
          default: global
          title: Scope
      - name: domain
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Org to view (Super-Owner only, read-only)
          title: Domain
        description: Org to view (Super-Owner only, read-only)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FullConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Config
  /api/v1/config/settings:
    put:
      summary: Update App Settings
      description: Update app-level settings (server, logging). Super-Owners only.
      operationId: update_app_settings_api_v1_config_settings_put
      security:
      - HTTPBearer: []
      parameters:
      - name: domain
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Org to view (Super-Owner only, read-only)
          title: Domain
        description: Org to view (Super-Owner only, read-only)
      - name: Idempotency-Key
        in: header
        required: false
        description: Optional client-generated key that makes this write operation safe to retry. Reusing the same key returns the original response instead of performing the operation a second time. Keys are scoped to the caller and expire after 24 hours.
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAppSettingsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateAppSettingsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Config
  /api/v1/config/siem:
    get:
      summary: Get Siem Config
      description: Get the SIEM configuration of the caller's org.
      operationId: get_siem_config_api_v1_config_siem_get
      security:
      - HTTPBearer: []
      parameters:
      - name: domain
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Org to view (Super-Owner only, read-only)
          title: Domain
        description: Org to view (Super-Owner only, read-only)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSiemConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Config
    put:
      summary: Update Siem Config
      description: Update the SIEM configuration of the caller's org.
      operationId: update_siem_config_api_v1_config_siem_put
      security:
      - HTTPBearer: []
      parameters:
      - name: domain
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Org to view (Super-Owner only, read-only)
          title: Domain
        description: Org to view (Super-Owner only, read-only)
      - name: Idempotency-Key
        in: header
        required: false
        description: Optional client-generated key that makes this write operation safe to retry. Reusing the same key returns the original response instead of performing the operation a second time. Keys are scoped to the caller and expire after 24 hours.
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSiemConfigRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSiemConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Config
components:
  schemas:
    UpdateSiemConfigRequest:
      properties:
        siem:
          $ref: '#/components/schemas/SiemConfigResponse'
          description: SIEM settings to apply
      type: object
      required:
      - siem
      title: UpdateSiemConfigRequest
      description: Request body for PUT /api/v1/config/siem.
    SplunkConfig:
      properties:
        hec_token:
          type: string
          title: Hec Token
          description: Splunk HEC authentication token
          default: ''
        hec_url:
          type: string
          title: Hec Url
          description: Splunk HEC endpoint URL
          default: ''
        index:
          type: string
          title: Index
          description: Splunk index name
          default: main
        source:
          type: string
          title: Source
          description: Splunk source identifier
          default: edison-watch
        sourcetype:
          type: string
          title: Sourcetype
          description: Splunk sourcetype
          default: cef
        channel_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Channel Id
          description: Splunk channel ID for HEC
        timeout:
          type: number
          title: Timeout
          description: Connection timeout in seconds
          default: 10.0
        verify_ssl:
          type: boolean
          title: Verify Ssl
          description: Verify SSL certificates
          default: true
      type: object
      title: SplunkConfig
      description: Splunk HEC settings.
    UpdateAppSettingsResponse:
      properties:
        status:
          type: string
          title: Status
          description: Operation result
          default: ok
        updated:
          additionalProperties: true
          type: object
          title: Updated
          description: Updated settings
      type: object
      title: UpdateAppSettingsResponse
      description: Response for PUT /config/settings.
    SiemConfigResponse:
      properties:
        enabled:
          type: boolean
          title: Enabled
          description: Whether SIEM streaming is enabled
          default: false
        type:
          type: string
          title: Type
          description: 'SIEM type: ''splunk'' or ''custom'''
          default: splunk
        stream_mode:
          type: string
          title: Stream Mode
          description: 'Stream mode: ''all'' or ''security'' (security events only)'
          default: security
        splunk:
          $ref: '#/components/schemas/SplunkConfig'
          description: Splunk HEC configuration
        custom:
          $ref: '#/components/schemas/CustomHttpConfig'
          description: Custom HTTP endpoint configuration
      type: object
      title: SiemConfigResponse
      description: Full SIEM configuration for a domain.
    GetSiemConfigResponse:
      properties:
        domain:
          type: string
          title: Domain
          description: Email domain this config applies to
        siem:
          $ref: '#/components/schemas/SiemConfigResponse'
          description: SIEM configuration
      type: object
      required:
      - domain
      - siem
      title: GetSiemConfigResponse
      description: Response for GET /api/v1/config/siem.
    FullConfigResponse:
      properties:
        config:
          additionalProperties: true
          type: object
          title: Config
          description: Configuration data
      type: object
      required:
      - config
      title: FullConfigResponse
      description: Full configuration dump (structure varies by role/scope).
    CustomHttpConfig:
      properties:
        url:
          type: string
          title: Url
          description: Custom HTTP endpoint URL
          default: ''
        method:
          type: string
          title: Method
          description: HTTP method (POST, PUT)
          default: POST
        headers:
          additionalProperties:
            type: string
          type: object
          title: Headers
          description: Custom HTTP headers
        timeout:
          type: number
          title: Timeout
          description: Connection timeout in seconds
          default: 10.0
        verify_ssl:
          type: boolean
          title: Verify Ssl
          description: Verify SSL certificates
          default: true
        include_metadata:
          type: boolean
          title: Include Metadata
          description: Include event metadata in request
          default: true
      type: object
      title: CustomHttpConfig
      description: Custom HTTP endpoint settings.
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UpdateAppSettingsRequest:
      properties:
        settings:
          additionalProperties: true
          type: object
          title: Settings
          description: Settings sections to update (server, logging, autoconfig)
      type: object
      required:
      - settings
      title: UpdateAppSettingsRequest
      description: Request body for updating app-level settings.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    ClientBearer:
      type: http
      description: Opaque ewc_ client installation credential
      scheme: bearer
    ServiceToken:
      type: http
      description: 'A SealGate service token: `sgt_acct_...` (account token) or `sgt_org_...` (org token). Mint an account token in the dashboard.'
      scheme: bearer
    MCPGatewayOAuth:
      type: oauth2
      description: OAuth 2.1 authorization-code flow (PKCE required) against the SealGate MCP gateway's authorization server. Request only the scopes an agent needs; unrequested scopes are not granted.
      flows:
        authorizationCode:
          authorizationUrl: /oauth/authorize
          tokenUrl: /oauth/token
          refreshUrl: /oauth/token
          scopes:
            mcp: Connect to the MCP gateway and call the tools exposed by your enabled servers. Every call is still evaluated by the policy engine.
            offline_access: Issue a refresh token so the client can renew access without a new browser sign-in.