# Plugin

First published 29 Oct 2026 (release 0.2.19) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

## Fields

- `disabled_at` (string or null): Time the plugin was disabled, reported while it is disabled.
- `disabled_by` (string or null): User who disabled the plugin, reported while it is disabled.
- `enabled` (boolean)
- `files_present` (boolean): Whether the manifest still exists at its registered path. If the vendor's files are gone, UrbeStack refuses to change the plugin's enabled state, and Forget removes the registration.
- `health` (string): Path where the running daemon returns HTTP 200. GET /plugins checks this path through the socket and reports the result in health_check.
- `health_check` (object or null): Health check returned by GET /plugins, with answering and either status or error. The value of answering is true when the daemon returns HTTP 200 within two seconds.
  - `answering` (boolean)
  - `error` (string)
  - `status` (integer)
- `hook_files` (array of string): Names of the executable <op>.pre and <op>.post files in the hooks directory.
- `hook_timeout` (integer): Maximum time a hook can run, in seconds. The default is 30 unless the manifest specifies a value, up to a maximum of 120.
- `hooks` (boolean): Whether the manifest specifies a hooks directory.
- `hooks_dir` (string or null)
- `key_file` (string): Path where the daemon reads its key, /etc/urbestack/plugins/<name>/key. Only the daemon's system user can access the key file.
- `key_made_at` (string or null): Time the current daemon key was created, at registration, during the most recent rotation, or when the plugin was enabled. This value is null while the plugin is disabled.
- `last_failure` (string or null)
- `last_failure_at` (string or null)
- `last_failure_op` (string or null): Operation whose plugin hook most recently failed. This value returns to null when a hook succeeds.
- `listen` (string): Daemon listen endpoint, either an absolute Unix socket path or 127.0.0.1:PORT.
- `manifest_path` (string)
- `name` (PluginName): A plugin identifier is the name declared in its manifest and consists of 2 to 32 lowercase letters, digits, or hyphens, starting with a letter.
- `packages_on` (integer): Number of packages that show the plugin's customer page to their customers, reported for plugins with a customer page.
- `packages_total` (integer): Total number of packages, reported for plugins with a customer page.
- `pages` (array of PluginPage)
- `panels` (array of string): Panels in which the plugin has a page.
- `registered_at` (string)
- `requires` (string): Oldest UrbeStack release the plugin was written for, or an empty string.
- `scopes` (array of string): Scopes permitted for the daemon's key, excluding all, export, and license. A viewer's ticket is limited to these scopes.
- `scopes_added` (array of string): Scopes that the most recent upgrade added to the daemon's key.
- `title` (object of string): Navigation title for each language code.
- `updated_at` (string): Time UrbeStack last read the manifest, at registration or the most recent upgrade.
- `upgraded_at` (string or null)
- `upgraded_from` (string or null): Plugin version replaced by the most recent upgrade, reported once UrbeStack has read the manifest again after registration.
- `user` (string): System user that runs the daemon and owns its key file.
- `vendor` (string)
- `version` (string): Plugin version declared in the manifest.

## Used by

- [GET /plugins](https://urbestack.com/docs/api/get-plugins.md): List all plugins registered on this server
- [PATCH /plugins/{name}](https://urbestack.com/docs/api/patch-plugins-name.md): Enable or disable a registered plugin
- [POST /plugins/{name}/key](https://urbestack.com/docs/api/post-plugins-name-key.md): Rotate the plugin daemon's API key
