Forge Fleet API

Fleet

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 4

GET /api/headless/v1/organizations/{organizationId}/fleet/devices List fleet devices #
GET /api/headless/v1/organizations/{organizationId}/fleet/devices/{deviceId} Get fleet device #
GET /api/headless/v1/organizations/{organizationId}/fleet/summary Get fleet summary #
POST /api/headless/v1/organizations/{organizationId}/fleet/actions Create fleet action #

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-fleet-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-fleet-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Forge Fleet 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: Fleet
  description: Fleet
paths:
  /api/headless/v1/organizations/{organizationId}/fleet/devices:
    get:
      operationId: listHeadlessFleetDevices
      tags:
      - Fleet
      x-forge-audience: public_headless
      x-forge-capability-id: fleet.read
      x-forge-required-permission: telemetry.read
      x-forge-required-scopes:
      - fleet:read
      x-forge-risk-tier: sensitive_read
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: query
        in: query
        schema:
          type: string
      - name: platform
        in: query
        schema:
          type: string
      - name: sourceSystem
        in: query
        schema:
          type: string
      - name: sourceInstanceKey
        in: query
        schema:
          type: string
      - name: sourceFreshnessState
        in: query
        schema:
          type: string
      - name: sourceImportState
        in: query
        schema:
          type: string
      - name: sourceStatus
        in: query
        schema:
          type: string
      - name: siteRef
        in: query
        schema:
          type: string
      - name: groupRef
        in: query
        schema:
          type: string
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: offset
        in: query
        schema:
          type: integer
          minimum: 0
      responses:
        '200':
          description: Fleet devices.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
      summary: List fleet devices
      description: List devices and fleet posture summaries for headless investigation workflows.
  /api/headless/v1/organizations/{organizationId}/fleet/devices/{deviceId}:
    get:
      operationId: getHeadlessFleetDevice
      tags:
      - Fleet
      x-forge-audience: public_headless
      x-forge-capability-id: fleet.read
      x-forge-required-permission: telemetry.read
      x-forge-required-scopes:
      - fleet:read
      x-forge-risk-tier: sensitive_read
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      - name: deviceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Fleet device 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 fleet device
      description: List devices and fleet posture summaries for headless investigation workflows.
  /api/headless/v1/organizations/{organizationId}/fleet/summary:
    get:
      operationId: getHeadlessFleetSummary
      tags:
      - Fleet
      x-forge-audience: public_headless
      x-forge-capability-id: fleet.read
      x-forge-required-permission: telemetry.read
      x-forge-required-scopes:
      - fleet:read
      x-forge-risk-tier: sensitive_read
      x-forge-stability: beta
      parameters:
      - $ref: '#/components/parameters/OrganizationId'
      responses:
        '200':
          description: Fleet posture summary.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
      summary: Get fleet summary
      description: List devices and fleet posture summaries for headless investigation workflows.
  /api/headless/v1/organizations/{organizationId}/fleet/actions:
    post:
      operationId: createHeadlessFleetAction
      tags:
      - Fleet
      x-forge-audience: public_headless
      x-forge-capability-id: fleet.run_action
      x-forge-required-permission: fleet.manage
      x-forge-required-scopes:
      - fleet: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'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HeadlessFleetActionRequest'
      responses:
        '200':
          description: Fleet action dry-run preview.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessProxyResponse'
        '201':
          description: Fleet action 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 fleet action
      description: Validate, repair, rotate, or otherwise operate endpoint fleet actions with dry-run and action-run records.
components:
  schemas:
    MessageResponse:
      type: object
      required:
      - message
      properties:
        message:
          type: string
    HeadlessFleetActionRequest:
      allOf:
      - $ref: '#/components/schemas/HeadlessSafetyFields'
      - type: object
        required:
        - operationKind
        - targets
        properties:
          operationKind:
            type: string
            enum:
            - deployment.apply
            - deployment.remove
            - deployment.validate
            - deployment.repair
            - credential.rotate
          targets:
            type: array
            minItems: 1
            maxItems: 500
            items:
              $ref: '#/components/schemas/HeadlessFleetEndpointTarget'
          rotateCredential:
            type: boolean
          removeSharedRuntime:
            type: boolean
          reason:
            type: string
          openclawStateDir:
            type: string
          openclawConfigPath:
            type: string
    HeadlessSafetyFields:
      type: object
      required:
      - reason
      - idempotencyKey
      - confirm
      properties:
        reason:
          type: string
        idempotencyKey:
          type: string
        dryRun:
          type: boolean
        confirm:
          type: boolean
    HeadlessFleetEndpointTarget:
      type: object
      required:
      - assetId
      - agentFamilies
      additionalProperties: false
      properties:
        assetId:
          type: string
        agentFamilies:
          type: array
          minItems: 1
          maxItems: 32
          items:
            type: string
            enum:
            - claude_code
            - codex
            - cursor
            - cowork
            - rovo_dev
            - openclaw
    HeadlessProxyResponse:
      type: object
      additionalProperties: true
  parameters:
    OrganizationId:
      name: organizationId
      in: path
      required: true
      schema:
        type: string
  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