Skip to main content
POST
/
api
/
inventory
/
refresh
Refresh Route
curl --request POST \
  --url https://api.example.com/api/inventory/refresh \
  --header 'Content-Type: application/json' \
  --data '
{
  "target": "*",
  "target_type": "glob"
}
'
{
  "minions_refreshed": 123,
  "package_counts": {}
}

Documentation Index

Fetch the complete documentation index at: https://www.halite-app.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Body for POST /api/inventory/refresh.

target='*' + target_type='glob' means "every connected minion". Pin the target down if you want to refresh just one host.

target
string
default:*
Required string length: 1 - 1024
target_type
enum<string>
default:glob
Available options:
glob,
list,
pcre,
grain,
nodegroup,
compound

Response

Successful Response

minions_refreshed
integer
required
package_counts
Package Counts · object
required