PuppetDB 1.4 » API » Facts Wire Format

This version of PuppetDB is not included in Puppet Enterprise. The latest version of PE includes PuppetDB 4.0. A newer version is available; see the version menu above for details.


Facts are represented as JSON. Unless otherwise noted, null is not allowed anywhere in the set of facts.

{"name": <string>,
 "values": {
     <string>: <string>,

The "name" key is the certname the facts are associated with.

The "values" key points to a JSON Object that represents the set of facts. Each key is the fact name, and the value is the fact value.

Fact names and values MUST be strings.


The entire fact set is expected to be valid JSON, which mandates UTF-8 encoding.

↑ Back to top