Cfengine API

Cfengine API as documented publicly: 44 operations. Contract generated from the documentation by API Evangelist (2026-10-08); not the provider's own document.

Operations 44

POST /api/ai/text-to-sql POST /api/ai/text-to-sql #
GET /api/build/modules/autorun GET /api/build/modules/autorun #
GET /api/build/modules/autorun/1.0.0 GET /api/build/modules/autorun/1.0.0 #
DELETE /api/build/projects/1/modules/autorun DELETE /api/build/projects/1/modules/autorun #
PATCH /api/build/projects/1/modules/autorun PATCH /api/build/projects/1/modules/autorun #
POST /api/build/projects/1/modules/autorun POST /api/build/projects/1/modules/autorun #
GET /api/build/projects/1/modules/delete-files/input GET /api/build/projects/1/modules/delete-files/input #
POST /api/build/projects/1/modules/delete-files/input POST /api/build/projects/1/modules/delete-files/input #
DELETE /api/build/projects/2 DELETE /api/build/projects/2 #
GET /api/build/projects/2 GET /api/build/projects/2 #
PATCH /api/build/projects/2 PATCH /api/build/projects/2 #
POST /api/build/projects/2/refresh POST /api/build/projects/2/refresh #
GET /api/build/projects/5/modules GET /api/build/projects/5/modules #
POST /api/build/projects/{projectid} POST /api/build/projects/2 #
GET /api/build/{buildid} GET /api/build/{buildid} #
POST /api/build/{buildid} POST /api/build/{buildid} #
GET /api/cmdb/v2/{hostkey} Get all configuration entries for a specific host. #
POST /api/cmdb/v2/{hostkey} Create a new configuration entry for a host. #
GET /api/cmdb/v2/{hostkey}/{hostkeyid} Get the rendered JSON configuration file for a host. #
GET /api/cmdb/v2/subentry/{hostkey}/{type}/{name} Get a specific sub-entry by type and name. #
DELETE /api/hosts/delete-permanently/SHA Host REST API #
DELETE /api/hosts/delete-permanently/SHA=2123f85b38189008ae12be159fb961584dda1249c94efed43fec2c70f233975d DELETE /api/hosts/delete-permanently/SHA=2123f85b38189008ae12be159fb961584dda1249c94efed43fec2c70f233975d #
POST /api/hosts/restore-deleted/SHA Host REST API #
POST /api/hosts/restore-deleted/SHA=2123f85b38189008ae12be159fb961584dda1249c94efed43fec2c70f233975d POST /api/hosts/restore-deleted/SHA=2123f85b38189008ae12be159fb961584dda1249c94efed43fec2c70f233975d #
GET /api/hosts/{hostid} GET /api/hosts/{hostid} #
GET /api/hosts/{hostid}/SHA=2123f85b38189008ae12be159fb961584dda1249c94efed43fec2c70f233975d Host REST API #
GET /api/inventory/attributes-dictionary GET /api/inventory/attributes-dictionary #
PATCH /api/inventory/attributes-dictionary/{attributesdictionaryid} PATCH /api/inventory/attributes-dictionary/{attributesDictionaryId} #
GET /api/rbac/user-permissions GET /api/rbac/user-permissions #
DELETE /api/role/{roleId} Remove role definition. #
GET /api/role/{roleId} Get role definition. #
POST /api/role/{roleId} Update role definition. #
PUT /api/role/{roleId} Create a new role definition. #
DELETE /api/role/{roleName}/permissions Revoke permissions from role #
GET /api/role/{roleName}/permissions Get role permissions #
POST /api/role/{roleName}/permissions Add permissions to role #
PUT /api/role/{roleName}/permissions Rewrite role’s permissions #
DELETE /api/user/{username} Remove internal user. #
GET /api/user/{username} Get info for a specified user. #
POST /api/user/{username} Update user information. #
PUT /api/user/{username} Create a new user. #
POST /api/user/{username}/unlock Unlock a user locked out due to two‑factor authentication setup. #
GET /api/{apiid} GET /api/rbac #
POST /api/{apiid} POST /api/host-count #

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/cfengine:cfengine-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

cfengine-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Cfengine API
  version: '2026-10-08'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-08: 44 operation(s) read from 8 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Cfengine has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 42
    documentation: 2
    pages-with-code: 8
    pages-read: 8
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-08'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.cfengine.com/docs/lts/api/enterprise-api-ref
  - https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/host
  - https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/ai-chat
  - https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/cmdb-api
  - https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/web-rbac
  - https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/build-api
  - https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/inventory
  - https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/users-rbac
servers:


# --- truncated at 32 KB (66 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cfengine/refs/heads/main/openapi/_ae-authored/cfengine-openapi-generated.yml