Forge Compliance API

Compliance

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 3

GET /api/headless/v1/organizations/{organizationId}/compliance/snapshot Get compliance snapshot #
GET /api/headless/v1/organizations/{organizationId}/compliance/controls Search compliance controls #
GET /api/headless/v1/organizations/{organizationId}/compliance/exports/{format} Export compliance snapshot #

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-compliance-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-compliance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Forge Compliance 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: Compliance
  description: Compliance
paths:
  /api/headless/v1/organizations/{organizationId}/compliance/snapshot:
    get:
      operationId: getHeadlessComplianceSnapshot
      tags:
      - Compliance
      x-forge-audience: public_headless
      x-forge-capability-id: compliance.read_posture
      x-forge-required-permission: compliance.read
      x-forge-required-scopes:
      - compliance:read
      x-forge-risk-tier: sensitive_read
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: frameworkId
        in: query
        schema:
          type: string
      - name: compact
        in: query
        description: Return posture and counts without evidence detail.
        schema:
          type: boolean
      responses:
        '200':
          description: Compliance snapshot.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
      summary: Get compliance snapshot
      description: Read current compliance framework and control posture without invoking an export workflow.
  /api/headless/v1/organizations/{organizationId}/compliance/controls:
    get:
      operationId: searchHeadlessComplianceControls
      tags:
      - Compliance
      x-forge-audience: public_headless
      x-forge-capability-id: compliance.read_posture
      x-forge-required-permission: compliance.read
      x-forge-required-scopes:
      - compliance:read
      x-forge-risk-tier: sensitive_read
      x-forge-stability: beta
      x-forge-pagination: bounded_query
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: frameworkId
        in: query
        schema:
          type: string
      - name: status
        in: query
        schema:
          type: string
          enum:
          - all
          - pass
          - partial
          - fail
          - unknown
          - accepted
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 50
      - name: offset
        in: query
        schema:
          type: integer
          minimum: 0
      responses:
        '200':
          description: Bounded item-level compliance controls and evidence gaps.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
      summary: Search compliance controls
      description: Read current compliance framework and control posture without invoking an export workflow.
  /api/headless/v1/organizations/{organizationId}/compliance/exports/{format}:
    get:
      operationId: exportHeadlessComplianceSnapshot
      tags:
      - Compliance
      x-forge-audience: public_headless
      x-forge-capability-id: compliance.export_snapshot
      x-forge-required-permission: compliance.read
      x-forge-required-scopes:
      - compliance:read
      x-forge-risk-tier: sensitive_read
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: format
        in: path
        required: true
        schema:
          type: string
          enum:
          - json
          - csv
      responses:
        '200':
          description: Compliance snapshot export.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
            text/csv:
              schema:
                type: string
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
      summary: Export compliance snapshot
      description: Export current compliance posture, links, and evidence packets in bounded machine-readable formats.
components:
  schemas:
    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'
  parameters:
    OrganizationId:
      name: organizationId
      in: path
      required: true
      schema:
        type: string
  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