Puppet HTTP API: Node

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


The node endpoint is used by the puppet agent to get basic information about a node. The returned information includes the node name and environment, and optionally any classes set by an External Node Classifier and a hash of parameters which may include the node’s facts. The returned node may have a different environment from the one given in the request if Puppet is configured with an ENC.


Retrieve data for a node

GET /puppet/v3/node/:certname?environment=:environment

Supported HTTP Methods


Supported Response Formats



> GET /puppet/v3/node/mycertname?environment=production HTTP/1.1
> Accept: pson, b64_zlib_yaml, yaml, raw

< HTTP/1.1 200 OK
< Content-Type: text/pson
< Content-Length: 4630



Returned node objects conform to the json schema at api/schemas/node.json.

↑ Back to top