Inforcer Assessments API

Endpoints for managing assessments

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 2

GET /beta/assessments Get assessments #
POST /beta/tenants/{tenantId}/assessments/{assessmentId}/runs Run an assessment #

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/inforcer:inforcer-assessments-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

inforcer-assessments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: inforcer | Public Assessments API
  description: The inforcer Public API built for developers
  contact:
    email: engineering@inforcer.com
    name: Engineering
    url: https://inforcer.com
servers:
- url: http://localhost:7072/api
security:
- apiKeyAuth: []
tags:
- name: Assessments
  description: Endpoints for managing assessments
paths:
  /beta/assessments:
    get:
      summary: Get assessments
      description: Retrieves a list of available assessments
      tags:
      - Assessments
      operationId: getAssessments
      responses:
        '200':
          description: A list of assessments
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/assessmentsResponse'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/forbidden'
        '500':
          $ref: '#/components/responses/internalServerError'
  /beta/tenants/{tenantId}/assessments/{assessmentId}/runs:
    post:
      summary: Run an assessment
      description: Runs an assessment against a specific tenant and returns compliance results
      tags:
      - Assessments
      operationId: runAssessment
      parameters:
      - name: tenantId
        in: path
        required: true
        description: The unique identifier for the tenant
        schema:
          type: integer
      - name: assessmentId
        in: path
        required: true
        description: The unique identifier for the assessment
        schema:
          type: string
      responses:
        '200':
          description: Assessment run completed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/assessmentRunResponse'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/forbidden'
        '500':
          $ref: '#/components/responses/internalServerError'
components:
  schemas:
    assessmentRunData:
      type: object
      description: The results of an assessment run
      additionalProperties: false
      properties:
        assessment:
          type: string
          description: The ID of the assessment that was run
        name:
          type:
          - string
          - 'null'
          description: The name of the assessment that was run
        results:
          type: array
          description: The compliance check results
          items:
            $ref: '#/components/schemas/complianceCheckResult'
    complianceCheckFinding:
      type: object
      description: The evaluation outcome for a compliance check against the tenant
      additionalProperties: false
      properties:
        compliant:
          type: boolean
          description: Whether the tenant fully passes this check. True means all evaluated objects meet the required configuration. False for a check whose data could not be read; see status
        status:
          type:
          - string
          - 'null'
          description: The outcome of the check. insufficientPermissions and error mean the check was not assessed. May be absent, in which case compliant is the outcome
          enum:
          - pass
          - fail
          - insufficientPermissions
          - error
          - null
        message:
          type:
          - string
          - 'null'
          description: A human-readable summary of the finding (e.g. "3 out of 5 objects are fully-compliant with this check")
        scores:
          type:
          - array
          - 'null'
          description: Individual scores for each policy or setting evaluated by this check
          items:
            $ref: '#/components/schemas/complianceCheckScore'
    assessmentRunResponse:
      type: object
      additionalProperties: false
      allOf:
      - $ref: '#/components/schemas/baseResponseEnvelope'
      - type: object
        properties:
          data:
            $ref: '#/components/schemas/assessmentRunData'
    baseResponseEnvelope:
      type: object
      description: The common properties of responses
      additionalProperties: false
      properties:
        success:
          type: boolean
          description: Whether the request was successful
        message:
          type:
          - string
          - 'null'
          description: An optional message
        errors:
          type: array
          description: Any errors that occurred during the request
          default: []
          items:
            type: string
      required:
      - success
      - message
      - errors
    assessment:
      type: object
      description: An assessment available for evaluation
      additionalProperties: false
      properties:
        id:
          type: string
          description: The unique identifier for the assessment
        name:
          type: string
          description: The name of the assessment
        description:
          type:
          - string
          - 'null'
          description: A description of the assessment
        tags:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Tags associated with the assessment
        assessmentType:
          type:
          - string
          - 'null'
          description: The type of assessment (e.g. platform, custom, community)
        lastUpdated:
          type:
          - string
          - 'null'
          format: date-time
          description: When the assessment was last updated
        created:
          type:
          - string
          - 'null'
          format: date-time
          description: When the assessment was created
      required:
      - id
      - name
    errorResponse:
      type: object
      description: The response to a request that failed
      additionalProperties: false
      allOf:
      - $ref: '#/components/schemas/baseResponseEnvelope'
      - type: object
        additionalProperties: false
        properties:
          data:
            type: object
            default: {}
          errorCode:
            type: string
            description: The error code for the failure
    complianceCheckScore:
      type: object
      description: The evaluation score for a single policy or setting against a compliance check
      additionalProperties: false
      properties:
        objectId:
          type: string
          description: The identifier of the evaluated policy or setting
        score:
          type: number
          description: Compliance score from 0 to 100, where 100 means fully compliant and 0 means fully non-compliant
        objectName:
          type:
          - string
          - 'null'
          description: The display name of the evaluated policy or setting
        passes:
          type: array
          description: List of conditions that the object met successfully
          items:
            type: string
        violations:
          type: array
          description: List of conditions that the object failed to meet
          items:
            type: string
        warnings:
          type: array
          description: List of conditions that may need attention but are not strict failures
          items:
            type: string
    complianceFramework:
      type: object
      description: An industry framework or standard that a compliance check is mapped to
      additionalProperties: false
      properties:
        name:
          type: string
          description: The name of the framework (e.g. CIS Microsoft 365 Foundations Benchmark v6.0.0)
        metadata:
          type: object
          additionalProperties:
            type: string
          description: Framework-specific fields such as control number and compliance level (e.g. control, level)
    assessmentsResponse:
      type: object
      additionalProperties: false
      allOf:
      - $ref: '#/components/schemas/baseResponseEnvelope'
      - type: object
        properties:
          data:
            type: array
            items:
              $ref: '#/components/schemas/assessment'
    complianceCheckResult:
      type: object
      description: A single compliance check that was evaluated against the tenant's configuration
      additionalProperties: false
      properties:
        id:
          type: string
          description: The unique identifier for this check
        key:
          type: string
          description: A unique machine-readable identifier for this check (e.g. ensure_mfa_enabled_for_all_users)
        name:
          type: string
          description: A human-readable name describing what this check evaluates
        category:
          type: string
          description: The product area this check applies to (e.g. Entra, Sharepoint, Exchange)
        subCategory:
          type: string
          description: A more specific grouping within the category (e.g. Policies, Authentication)
        description:
          type: string
          description: A detailed explanation of what this check evaluates and why it matters, including recommended configuration
        importance:
          type: string
          description: The severity level of this check — high, medium, or low
        impact:
          type:
          - string
          - 'null'
          description: A description of the operational impact of enabling the recommended configuration
        rationale:
          type:
          - string
          - 'null'
          description: The security or compliance rationale for why this check is recommended
        remediation:
          type:
          - string
          - 'null'
          description: Step-by-step instructions (in markdown) for how to fix a non-compliant result, including UI and PowerShell methods
        findings:
          $ref: '#/components/schemas/complianceCheckFinding'
        frameworks:
          type: array
          description: Industry frameworks or standards that reference this check (e.g. CIS Benchmark)
          items:
            $ref: '#/components/schemas/complianceFramework'
        tags:
          type: array
          description: Labels for filtering and grouping checks (e.g. security, compliance, copilot readiness)
          items:
            type: string
        version:
          type: integer
          description: The version number of this check definition
        created:
          type: string
          format: date-time
          description: When this check definition was created
        lastUpdated:
          type: string
          format: date-time
          description: When this check definition was last updated
  responses:
    forbidden:
      description: You are not permitted to carry out this operation
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorResponse'
          examples:
            forbidden:
              value:
                success: false
                message: Client tenant verification failed
                errors:
                - First years are not permitted to access the Forbidden Forest
    internalServerError:
      description: An unexpected error occurred
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorResponse'
          examples:
            Internal Server Error:
              value:
                success: false
                message: Something went pop
                errors:
                - It was the weasel
    unauthorized:
      description: You are not authorized to access this endpoint
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorResponse'
          examples:
            unauthorized:
              value:
                success: false
                message: Your credentials are invalid or you are not logged in
                errors:
                - Please verify your credentials
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Inf-Api-Key
      description: The API key for authentication.