Cfengine Inventory API

The Inventory API from Cfengine — 2 operation(s) for inventory.

Operations 2

GET /api/inventory/attributes-dictionary GET /api/inventory/attributes-dictionary #
PATCH /api/inventory/attributes-dictionary/{attributesdictionaryid} PATCH /api/inventory/attributes-dictionary/{attributesDictionaryId} #

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-inventory-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cfengine-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cfengine Inventory 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:
- url: https://hub.cfengine.com
security:
- api_token: []
- Basic: []
- Bearer: []
tags:
- name: Inventory
paths:
  /api/inventory/attributes-dictionary:
    get:
      operationId: get_api_inventory_attributes_dictionary
      tags:
      - Inventory
      summary: GET /api/inventory/attributes-dictionary
      x-source: https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/inventory
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiInventoryAttributesDictionaryResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -k --user admin:admin -X GET https://hub.cfengine.com/api/inventory/attributes-dictionary \n Example response: \n [\n {\n \"id\": 2,\n \"attribute_name\": \"BIOS vendor\",\n \"category\": \"Hardware\",\n \"readonly\": 1,\n \"type\": \"string\",\n \"convert_function\": null,\n \"keyname\": \"default.cfe_autorun_inventory_dmidecode.dmi[bios-vendor]\"\n },\n {\n \"id\": 3,\n \"attribute_name\": \"BIOS version\",\n \"category\": \"Hardware\","
  /api/inventory/attributes-dictionary/{attributesdictionaryid}:
    patch:
      operationId: patch_api_inventory_attributes_dictionary_attributesdictionaryid
      tags:
      - Inventory
      summary: PATCH /api/inventory/attributes-dictionary/{attributesDictionaryId}
      x-source: https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/inventory
      parameters:
      - name: attributesdictionaryid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchApiInventoryAttributesDictionaryAttributesdictionaryidR'
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchApiInventoryAttributesDictionaryAttributesdictionaryidR2'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -k --user admin:admin -X PATCH https://hub.cfengine.com/api/inventory/attributes-dictionary/260 -H 'content-type: application/json' -d '{\n \"category\":\"Hardware\",\n \"type\": \"int\"\n }' \n Example Request Body: \n {\n \"category\":\"Hardware\",\n \"type\": \"int\"\n} \n Example response: \n {\n \"id\": 1,\n \"attribute_name\": \"Architecture\",\n \"category\": \"Hardware\",\n \"readonly\": 0,\n \"type\": \"slist\",\n \"convert_functio"
components:
  schemas:
    PatchApiInventoryAttributesDictionaryAttributesdictionaryidR2:
      type: object
      properties:
        id:
          type: integer
        attribute_name:
          type: string
        category:
          type: string
        readonly:
          type: integer
        type:
          type: string
        convert_function:
          type: string
    GetApiInventoryAttributesDictionaryResponse:
      type: object
      properties:
        id:
          type: integer
        attribute_name:
          type: string
        category:
          type: string
        readonly:
          type: integer
        type:
          type: string
        convert_function:
          type:
          - string
          - 'null'
        keyname:
          type: string
    PatchApiInventoryAttributesDictionaryAttributesdictionaryidR:
      type: object
      properties:
        category:
          type: string
        type:
          type: string
  securitySchemes:
    api_token:
      type: apiKey
      in: header
      name: Authorization
      x-source: https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/ldap-api/
    Basic:
      type: http
      scheme: basic
      x-source: https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/ldap-api/
    Bearer:
      type: http
      scheme: bearer
      x-source: https://docs.cfengine.com/docs/lts/api/enterprise-api-ref/ldap-api/