Skip to main content
Last updated on Dec 15, 2025 This feature is only available in Incredibuild’s Enterprise Plan. API method: buildCache Version = 1.5.0 The Build Cache API has the same capabilities as does the Build Cache Manager UI, returns appropriate status codes and enables API users to perform build cache actions automatically. The Build Cache API abilities include Cluster level actions and Specific Node actions. However, requests can be sent to multiple nodes simultaneously. This requires an API Key and an Enterprise license.

Requirements - API Key and Syntax

Header Every API call must include a header with a key called client-api-key and its value (case sensitive).
  • Coordinator IP Address/Hostname - The IP address or hostname of the Coordinator.
  • Coordinator UI Port - The port number you defined during installation. By default, this is 8000.
  • Coordinator ID - The ID assigned by Incredibuild to your Coordinator. You can view this in the Coordinator Manager > Settings > API Access area.
Request Endpoint
Where version is the version of the Incredibuild API. If you do not specify a version in the API call, the lowest supported version will be used. The Request Format Header: The header must include a key called client-api-key and the value of your API key as a string. All APIs are case sensitive. The request URL can contain any of the following fields.

Perform Actions

HTTP Method - POST

Single node
POST /api/buildcache/nodes /{nodeName}/action} Response: {status code}
Multiple nodes
POST /api/buildcache/nodes/{action} Response: {status code}
Cluster level
POST /api/buildcache/clusters/{clusterName}/{action} Response: {status code}

HTTP Method - GET

Request: Lists
GET /api/buildcache/clusters Response: à retrieves a list of clusters. GET /api /buildcache/clusters/clusterName/nodes Response: à retrieves a list of clusters’ nodes.
Request: Log level
GET /api/buildcache/clusters/{clustername}/logLevel Response: {logLevel}

HTTP Method - PUT

Request: Log level
PUT /api/buildcache /clusters/{clustername}/logLevel Response: {status code}

Response Status Codes