get_action | Get the status of an asynchronous action by id (integer: the action.id returned by power_on_server, shutdown_server or reboot_server): command, status (“running”, “success” or “error”), progress (0-100), started / finished times, affected resources and error { code, message }. |
get_server | Get one server by id (integer, see list_servers): status, public and private network, server type, location, image, volumes, protection and labels. |
list_certificates | List the TLS certificates (name, type uploaded or managed, domain names, fingerprint, validity dates, issuance / renewal status, load balancers using them; the public PEM chain, never a private key). Optional: type (array of uploaded, managed), name (exact certificate name), label_selector, sort (array of id, name, created, each optionally suffixed :asc or :desc). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |
list_firewalls | List the firewalls with their rules and the resources they apply to. Optional: name (exact firewall name), label_selector, sort (array of id, name, created, each optionally suffixed :asc or :desc). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |
list_images | List the images available to the project (system, app, snapshot, backup). Optional: type (array of system, app, snapshot, backup), status (array of available, creating, unavailable), bound_to (array of server ids as strings — backup images only), include_deprecated (boolean), name (exact image name, e.g. “ubuntu-24.04”), label_selector, architecture (“x86” or “arm”), sort (array of id, name, created, each optionally suffixed :asc or :desc). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |
list_load_balancers | List the load balancers (public IPs, services, targets and their health status, algorithm, location). Optional: name (exact load balancer name), label_selector, sort (array of id, name, created, each optionally suffixed :asc or :desc). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |
list_locations | List the locations (name such as “fsn1”, city, country, network zone). Optional: name (exact location name), sort (array of id, name, each optionally suffixed :asc or :desc). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |
list_networks | List the private networks (IP range, subnets, routes, attached servers and load balancers). Optional: name (exact network name), label_selector, sort (array of id, name, created, each optionally suffixed :asc or :desc). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |
list_primary_ips | List the primary IPs (IPv4 / IPv6 address, assigned server, reverse DNS, auto-delete). Optional: name (exact primary IP name), label_selector, ip (exact IP address), sort (array of id, created, each optionally suffixed :asc or :desc). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |
list_server_types | List the server types (name such as “cpx22”, cores, memory, disk, CPU type, architecture, availability per location). Optional: name (exact server type name). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |
list_servers | List the servers of the project (id, name, status, public IPs, server type, location, image). No argument required. Optional: name (exact server name), label_selector (e.g. “env=prod”), status (array of running, initializing, starting, stopping, off, deleting, migrating, rebuilding, unknown), sort (array of id, name, created, each optionally suffixed :asc or :desc). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |
list_ssh_keys | List the SSH keys registered in the project (name, fingerprint, public key, labels — Hetzner never stores a private key). Optional: name (exact key name), fingerprint (exact fingerprint, e.g. “03:c7:55:…”), label_selector, sort (array of id, name, each optionally suffixed :asc or :desc). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |
list_volumes | List the volumes (size, location, attached server id, Linux device, status). Optional: status (array of available, creating), name (exact volume name), label_selector, sort (array of id, name, created, each optionally suffixed :asc or :desc). Pagination: page (integer ≥ 1), per_page (integer 1-50, default 25). |