grafomem-com Governance Gateway API

The Governance Gateway API from grafomem-com — 7 operation(s) for governance gateway.

Operations 10

GET /v1/governance/stats Governance Stats #
GET /v1/governance/policy-types List Policy Types #
POST /v1/governance/policies Create Policy #
GET /v1/governance/policies List Policies #
GET /v1/governance/policies/{policy_id} Get Policy #
PUT /v1/governance/policies/{policy_id} Update Policy #
DELETE /v1/governance/policies/{policy_id} Delete Policy #
POST /v1/governance/evaluate Evaluate Policies #
POST /v1/governance/seed-defaults Seed Defaults #
GET /v1/governance/logs Get Evaluation Logs #

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/grafomem-com:grafomem-com-governance-gateway-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

grafomem-com-governance-gateway-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GRAFOMEM Cloud Governance Gateway API
  description: GMP-conformant governed agent memory platform. Provides vector-backed memory stores, multi-agent orchestration, decision trail audit logging, erasure proof certificates, governance policy evaluation, regulatory reports, webhook alerts, SSO/OIDC, and real-time SSE streaming.
  version: 1.9.0
tags:
- name: Governance Gateway
paths:
  /v1/governance/stats:
    get:
      tags:
      - Governance Gateway
      summary: Governance Stats
      description: Summary statistics for governance policies and evaluations.
      operationId: governance_stats_v1_governance_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GovernanceStatsResponse'
  /v1/governance/policy-types:
    get:
      tags:
      - Governance Gateway
      summary: List Policy Types
      description: List available policy types and their expected config schemas.
      operationId: list_policy_types_v1_governance_policy_types_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/governance/policies:
    post:
      tags:
      - Governance Gateway
      summary: Create Policy
      description: Create a new governance policy.
      operationId: create_policy_v1_governance_policies_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePolicyRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Governance Gateway
      summary: List Policies
      description: List all governance policies for the tenant.
      operationId: list_policies_v1_governance_policies_get
      parameters:
      - name: enabled_only
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Enabled Only
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/governance/policies/{policy_id}:
    get:
      tags:
      - Governance Gateway
      summary: Get Policy
      description: Get a single governance policy by ID.
      operationId: get_policy_v1_governance_policies__policy_id__get
      parameters:
      - name: policy_id
        in: path
        required: true
        schema:
          type: string
          title: Policy Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Governance Gateway
      summary: Update Policy
      description: Update an existing governance policy.
      operationId: update_policy_v1_governance_policies__policy_id__put
      parameters:
      - name: policy_id
        in: path
        required: true
        schema:
          type: string
          title: Policy Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePolicyRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Governance Gateway
      summary: Delete Policy
      description: Delete a governance policy.
      operationId: delete_policy_v1_governance_policies__policy_id__delete
      parameters:
      - name: policy_id
        in: path
        required: true
        schema:
          type: string
          title: Policy Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/governance/evaluate:
    post:
      tags:
      - Governance Gateway
      summary: Evaluate Policies
      description: 'Evaluate all active policies against a request context.


        Returns the evaluation result for each policy and whether

        the request is allowed overall.'
      operationId: evaluate_policies_v1_governance_evaluate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EvaluateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/governance/seed-defaults:
    post:
      tags:
      - Governance Gateway
      summary: Seed Defaults
      description: Create default governance policies for the tenant.
      operationId: seed_defaults_v1_governance_seed_defaults_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/governance/logs:
    get:
      tags:
      - Governance Gateway
      summary: Get Evaluation Logs
      description: List policy evaluation logs.
      operationId: get_evaluation_logs_v1_governance_logs_get
      parameters:
      - name: policy_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Policy Id
      - name: result
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Result
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 50
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GovernanceLogResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EvaluateRequest:
      properties:
        operation:
          type: string
          title: Operation
        context:
          additionalProperties: true
          type: object
          title: Context
      type: object
      required:
      - operation
      title: EvaluateRequest
      description: Request body for POST /v1/governance/evaluate.
    CreatePolicyRequest:
      properties:
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
          default: ''
        policy_type:
          type: string
          title: Policy Type
        action:
          type: string
          title: Action
          default: deny
        config:
          additionalProperties: true
          type: object
          title: Config
        enabled:
          type: boolean
          title: Enabled
          default: true
        priority:
          type: integer
          title: Priority
          default: 100
      type: object
      required:
      - name
      - policy_type
      title: CreatePolicyRequest
    PolicyListResponse:
      properties:
        policies:
          items:
            $ref: '#/components/schemas/PolicyResponse'
          type: array
          title: Policies
          default: []
        count:
          type: integer
          title: Count
          default: 0
      type: object
      title: PolicyListResponse
    GovernanceStatsResponse:
      properties:
        policies_total:
          type: integer
          title: Policies Total
          default: 0
        policies_active:
          type: integer
          title: Policies Active
          default: 0
        evaluations_total:
          type: integer
          title: Evaluations Total
          default: 0
        denials_total:
          type: integer
          title: Denials Total
          default: 0
        escalations_total:
          type: integer
          title: Escalations Total
          default: 0
        evaluations_by_type:
          additionalProperties:
            type: integer
          type: object
          title: Evaluations By Type
          default: {}
      type: object
      title: GovernanceStatsResponse
    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
    UpdatePolicyRequest:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        action:
          anyOf:
          - type: string
          - type: 'null'
          title: Action
        config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Config
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Enabled
        priority:
          anyOf:
          - type: integer
          - type: 'null'
          title: Priority
      type: object
      title: UpdatePolicyRequest
    GovernanceLogResponse:
      properties:
        logs:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Logs
          default: []
        count:
          type: integer
          title: Count
          default: 0
      type: object
      title: GovernanceLogResponse
    PolicyResponse:
      properties:
        policy_id:
          type: string
          title: Policy Id
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
          default: ''
        policy_type:
          type: string
          title: Policy Type
        action:
          type: string
          title: Action
        config:
          additionalProperties: true
          type: object
          title: Config
          default: {}
        priority:
          type: integer
          title: Priority
          default: 0
        enabled:
          type: boolean
          title: Enabled
          default: true
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
      type: object
      required:
      - policy_id
      - name
      - policy_type
      - action
      title: PolicyResponse