Chief Tools Logo
Server Chief API v1

Endpoints for what happened on the servers: inventory changes, vulnerabilities, agent updates and commands, newest first.


List the history

GET
https://server.chief.app/api/v1
/history
OpenID Connect
or
Bearer (ctp_*)
or
Bearer (ctt_*)

List what happened on the servers the team can see, newest first, like the History page: changes between inventory reports (packages, addresses, sites, certificates, repositories, the operating system and hardware), vulnerabilities found and resolved, agent updates, and the commands sent to the agents. Changes go back as far as the change history of each server's team's plan. A dataset leaves out the commands and a command kind the changes.

List the history › query Parameters

type
​string | null · enum

Only return changes or only commands, both when omitted.

Enum values:
change
command
server
​string | null

Only return the history of this server.

dataset
​string | null · enum

Only return changes of a dataset, which leaves out the commands.

Enum values:
system
hardware
network
resolvers
cloud
packages
vhosts
certificates
command_kind
​string | null · enum

Only return commands of a kind, which leaves out the changes.

Enum values:
refresh_inventory
resync
refresh_config
update_agent
reboot
upgrade_packages
disable_capability
per_page
​integer · min: 1 · max: 100
page
​integer · min: 1

List the history › Responses

Paginated set of HistoryEntry

​HistoryEntry[] · required
​object · required
​object · required