Forge Governance API

Governance

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

GET /api/headless/v1/organizations/{organizationId}/governance Search governance #
GET /api/headless/v1/organizations/{organizationId}/governance/items/{itemId} Get governance item #
POST /api/headless/v1/organizations/{organizationId}/governance/requests/{requestId}/resolve Resolve governance request #
POST /api/headless/v1/organizations/{organizationId}/governance/requests/{requestId}/complete-scope Complete governance request scope #
POST /api/headless/v1/organizations/{organizationId}/governance/requests/{requestId}/policy-edit-escalation Escalate governance request policy edit #
POST /api/headless/v1/organizations/{organizationId}/governance/grants/{grantId}/revoke Revoke governance grant #
GET /api/headless/v1/organizations/{organizationId}/governance/interventions List governance interventions #
POST /api/headless/v1/organizations/{organizationId}/governance/interventions Create governance intervention #
POST /api/headless/v1/organizations/{organizationId}/governance/interventions/{interventionId}/clear Clear governance intervention #

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/forge:forge-governance-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

forge-governance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Forge Governance API
  version: 0.1.0
  description: Automate Forge inventory, investigations, findings, governance, fleet, policy, configuration, compliance, MCP, service-account, and audit workflows.
servers:
- url: https://api.forge.ai
  description: Forge production API
security:
- serviceAccountBearer: []
tags:
- name: Governance
  description: Governance
paths:
  /api/headless/v1/organizations/{organizationId}/governance:
    get:
      operationId: searchHeadlessGovernance
      tags:
      - Governance
      x-forge-audience: public_headless
      x-forge-capability-id: governance.read
      x-forge-required-permission: telemetry.read
      x-forge-required-scopes:
      - governance:read
      x-forge-risk-tier: sensitive_read
      x-forge-stability: beta
      x-forge-pagination: bounded_query
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: query
        in: query
        schema:
          type: string
      - name: kind
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - request
            - grant
            - intervention
            - evaluation
      - name: status
        in: query
        schema:
          type: array
          items:
            type: string
      - name: action
        in: query
        description: Filter policy evaluations by governance action. Workflow items do not have an action and are omitted when this filter is present.
        schema:
          type: array
          items:
            type: string
            enum:
            - allow
            - block
            - require_approval
            - redact
            - nudge
            - filter
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: offset
        in: query
        schema:
          type: integer
          minimum: 0
      responses:
        '200':
          description: Bounded governance workflow and policy-evaluation search results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
      summary: Search governance
      description: List governance requests, grants, and interventions with bounded result windows.
  /api/headless/v1/organizations/{organizationId}/governance/items/{itemId}:
    get:
      operationId: getHeadlessGovernanceItem
      tags:
      - Governance
      x-forge-audience: public_headless
      x-forge-capability-id: governance.read
      x-forge-required-permission: telemetry.read
      x-forge-required-scopes:
      - governance:read
      x-forge-risk-tier: sensitive_read
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: itemId
        in: path
        required: true
        schema:
          type: string
      - name: kind
        in: query
        required: true
        schema:
          type: string
          enum:
          - request
          - grant
          - intervention
          - evaluation
      responses:
        '200':
          description: Exact governance workflow or policy-evaluation detail.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
      summary: Get governance item
      description: List governance requests, grants, and interventions with bounded result windows.
  /api/headless/v1/organizations/{organizationId}/governance/requests/{requestId}/resolve:
    post:
      operationId: resolveHeadlessGovernanceRequest
      tags:
      - Governance
      x-forge-audience: public_headless
      x-forge-capability-id: governance.resolve_request
      x-forge-required-permission: policy.manage
      x-forge-required-scopes:
      - governance:write
      x-forge-risk-tier: sensitive_write
      x-forge-idempotency-required: true
      x-forge-reason-required: true
      x-forge-confirmation-required: true
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: requestId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Governance request resolved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
      summary: Resolve governance request
      description: Approve, deny, or self-serve governance requests with reason and audit trail.
  /api/headless/v1/organizations/{organizationId}/governance/requests/{requestId}/complete-scope:
    post:
      operationId: completeHeadlessGovernanceRequestScope
      tags:
      - Governance
      x-forge-audience: public_headless
      x-forge-capability-id: governance.resolve_request
      x-forge-required-permission: policy.manage
      x-forge-required-scopes:
      - governance:write
      x-forge-risk-tier: sensitive_write
      x-forge-idempotency-required: true
      x-forge-reason-required: true
      x-forge-confirmation-required: true
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: requestId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Governance request scope completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
      summary: Complete governance request scope
      description: Approve, deny, or self-serve governance requests with reason and audit trail.
  /api/headless/v1/organizations/{organizationId}/governance/requests/{requestId}/policy-edit-escalation:
    post:
      operationId: escalateHeadlessGovernanceRequestPolicyEdit
      tags:
      - Governance
      x-forge-audience: public_headless
      x-forge-capability-id: governance.resolve_request
      x-forge-required-permission: policy.manage
      x-forge-required-scopes:
      - governance:write
      x-forge-risk-tier: sensitive_write
      x-forge-idempotency-required: true
      x-forge-reason-required: true
      x-forge-confirmation-required: true
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: requestId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Governance request escalated to policy edit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
      summary: Escalate governance request policy edit
      description: Approve, deny, or self-serve governance requests with reason and audit trail.
  /api/headless/v1/organizations/{organizationId}/governance/grants/{grantId}/revoke:
    post:
      operationId: revokeHeadlessGovernanceGrant
      tags:
      - Governance
      x-forge-audience: public_headless
      x-forge-capability-id: governance.revoke_grant
      x-forge-required-permission: policy.manage
      x-forge-required-scopes:
      - governance:write
      x-forge-risk-tier: destructive
      x-forge-idempotency-required: true
      x-forge-dry-run-required: true
      x-forge-reason-required: true
      x-forge-confirmation-required: true
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: grantId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HeadlessSafetyFields'
      responses:
        '200':
          description: Governance grant revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
      summary: Revoke governance grant
      description: Revoke active grants with idempotency, reason, and high-risk audit metadata.
  /api/headless/v1/organizations/{organizationId}/governance/interventions:
    get:
      operationId: listHeadlessGovernanceInterventions
      tags:
      - Governance
      x-forge-audience: public_headless
      x-forge-capability-id: governance.read
      x-forge-required-permission: telemetry.read
      x-forge-required-scopes:
      - governance:read
      x-forge-risk-tier: sensitive_read
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      responses:
        '200':
          description: Governance interventions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
      summary: List governance interventions
      description: List governance requests, grants, and interventions with bounded result windows.
    post:
      operationId: createHeadlessGovernanceIntervention
      tags:
      - Governance
      x-forge-audience: public_headless
      x-forge-capability-id: governance.resolve_request
      x-forge-required-permission: policy.manage
      x-forge-required-scopes:
      - governance:write
      x-forge-risk-tier: sensitive_write
      x-forge-idempotency-required: true
      x-forge-reason-required: true
      x-forge-confirmation-required: true
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      responses:
        '200':
          description: Governance intervention created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
      summary: Create governance intervention
      description: Approve, deny, or self-serve governance requests with reason and audit trail.
  /api/headless/v1/organizations/{organizationId}/governance/interventions/{interventionId}/clear:
    post:
      operationId: clearHeadlessGovernanceIntervention
      tags:
      - Governance
      x-forge-audience: public_headless
      x-forge-capability-id: governance.resolve_request
      x-forge-required-permission: policy.manage
      x-forge-required-scopes:
      - governance:write
      x-forge-risk-tier: sensitive_write
      x-forge-idempotency-required: true
      x-forge-reason-required: true
      x-forge-confirmation-required: true
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: interventionId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Governance intervention cleared.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
      summary: Clear governance intervention
      description: Approve, deny, or self-serve governance requests with reason and audit trail.
components:
  parameters:
    OrganizationId:
      name: organizationId
      in: path
      required: true
      schema:
        type: string
  schemas:
    HeadlessSafetyFields:
      type: object
      required:
      - reason
      - idempotencyKey
      - confirm
      properties:
        reason:
          type: string
        idempotencyKey:
          type: string
        dryRun:
          type: boolean
        confirm:
          type: boolean
    MessageResponse:
      type: object
      required:
      - message
      properties:
        message:
          type: string
    HeadlessProxyResponse:
      type: object
      additionalProperties: true
  responses:
    Error:
      description: Stable Forge error envelope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MessageResponse'
  securitySchemes:
    serviceAccountBearer:
      type: http
      scheme: bearer
      bearerFormat: Forge service-account or delegated OAuth access token
      description: Enter a Forge service-account token or delegated OAuth access token. Mintlify adds the Bearer prefix.
x-forge-audience: public_headless
x-forge-stability: beta