For the complete documentation index, see llms.txt. This page is also available as Markdown.

/manage

Management API for installed plugins. Every operation requires the system right system.root or system.plugin; a request lacking both (including an unauthenticated request) is rejected with code: SystemRightRequired (403).

GET /plugin/manage — List all installed plugins.

List all installed plugins.

get

Returns every installed plugin — enabled and disabled — with its stored row and parsed manifest.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Responses
200

The list of installed plugins.

application/json

Response of GET /plugin/manage — the full list of installed plugins (enabled and disabled) as seen by the management API.

{
  "plugins": [
    {
      "type": "zip",
      "enabled": false
    }
  ],
  "marketplace": {
    "enabled": true
  }
}

PUT /plugin/manage — Create (install) a plugin.

Create (install) a plugin.

put

Installs a new plugin from a url, or registers a disk plugin. The body must NOT carry an id; type is required and must be one of disk, zip, url. The plugin's enabled state is taken from the request enabled field, so a plugin can be created already enabled.

A zip plugin is installed through PUT /plugin/manage/upload instead — its ZIP is the raw request body.

Fails with code: PluginDuplicateName (400) if a plugin with the same name already exists, with code: ReadOnlyMode when the instance is in read-only mode, and with code: ServerGeneric (400) when the body carries an id or the payload cannot be parsed.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Body

A single plugin as seen by the management API (/plugin/manage). Carries the stored plugin row (id, name, enabled flag, source) plus the parsed manifest. Used both as the request body of PUT/POST /plugin/manage and as their response.

On create (PUT) the body must NOT carry an id; on update (POST /plugin/manage/{id}) the body id must match the path {id}.

idinteger · int64Optional

Numeric id of the stored plugin. Assigned by fylr on create; must be absent (or 0) in a PUT create body, and must match the path {id} in a POST update body.

namestring · nullableOptional

Unique plugin name (matches the manifest name:). Read-only in responses; derived from the uploaded plugin on create.

enabledboolean · nullableOptional

Whether the plugin is enabled. A freshly uploaded plugin is created disabled (false); enable it with an update. If the license mentions the plugin without granting it (see license), enabling it is rejected with PluginNotLicensed and the plugin is kept disabled at runtime.

encryptedbooleanOptional

true when the plugin arrived as a sealed (encrypted) package and was decrypted at install. Read-only: derived from the delivered artifact, values sent in requests are ignored.

licensedbooleanOptional

true when the marketplace catalog marks the plugin as paid: it can be installed freely, but the instance license must grant it by name ("enabled": true in the license's plugins block) before it can be enabled. Read-only: stamped from the catalog at install, values sent in requests are ignored.

auto_addedboolean · nullableOptional

true when the plugin was discovered and registered automatically (e.g. from the plugins directory) rather than uploaded via the API.

pathstring · nullableOptional

Filesystem path the plugin is loaded from, if any.

urlstring · nullableOptional

Source URL the plugin is fetched from when type is url. For a plugin the marketplace catalog marks as private, the manage API responses withhold it (null, url_hidden: true) — private release URLs never reach the client. A null url in a save keeps the stored one.

url_hiddenbooleanOptional

The stored url was withheld from this response: the marketplace catalog marks the plugin's repository as private. Response only, absent otherwise.

typestring · nullableOptional

Source type of the plugin. zip for a plugin whose ZIP was uploaded through /plugin/manage/upload, url for one fetched from a remote url.

The ZIP itself is never part of this schema: it is uploaded as a raw request body through PUT /plugin/manage/upload and read back from GET /plugin/manage/{id}/zip.

The stored type never changes on update, with one exception: uploading a ZIP onto a url plugin with POST /plugin/manage/{id}/upload converts the row to zip (the install-as-zip rescue for a source that cannot be fetched), keeping name, enabled flag and configuration. The stored url is dropped (a zip plugin has no source url) and update_policy is forced to never.

update_policystring · nullableOptional

Update policy stored for the plugin (controls how/when fylr refreshes the plugin from its source).

statestringOptional

not_installed for a url plugin whose zip has never arrived — such a plugin is force-disabled at runtime (like an unlicensed one; the stored enabled keeps the user's intent) and the frontend offers the install-as-zip rescue. Response only, absent otherwise.

last_checked_atstring · date-timeOptional

When fylr last completed a check of the plugin source for updates. A failed update attempt does not move it.

created_atstring · date-timeOptional

When the plugin was installed.

updated_atstring · date-timeOptional

When the stored plugin content (the zip and its manifest) last changed: set at install and whenever a new version is stored. A settings-only save (enable/disable, update_policy) does not touch it.

Responses
200

The created plugin.

application/json

A single plugin as seen by the management API (/plugin/manage). Carries the stored plugin row (id, name, enabled flag, source) plus the parsed manifest. Used both as the request body of PUT/POST /plugin/manage and as their response.

On create (PUT) the body must NOT carry an id; on update (POST /plugin/manage/{id}) the body id must match the path {id}.

idinteger · int64Optional

Numeric id of the stored plugin. Assigned by fylr on create; must be absent (or 0) in a PUT create body, and must match the path {id} in a POST update body.

namestring · nullableOptional

Unique plugin name (matches the manifest name:). Read-only in responses; derived from the uploaded plugin on create.

enabledboolean · nullableOptional

Whether the plugin is enabled. A freshly uploaded plugin is created disabled (false); enable it with an update. If the license mentions the plugin without granting it (see license), enabling it is rejected with PluginNotLicensed and the plugin is kept disabled at runtime.

encryptedbooleanOptional

true when the plugin arrived as a sealed (encrypted) package and was decrypted at install. Read-only: derived from the delivered artifact, values sent in requests are ignored.

licensedbooleanOptional

true when the marketplace catalog marks the plugin as paid: it can be installed freely, but the instance license must grant it by name ("enabled": true in the license's plugins block) before it can be enabled. Read-only: stamped from the catalog at install, values sent in requests are ignored.

auto_addedboolean · nullableOptional

true when the plugin was discovered and registered automatically (e.g. from the plugins directory) rather than uploaded via the API.

pathstring · nullableOptional

Filesystem path the plugin is loaded from, if any.

urlstring · nullableOptional

Source URL the plugin is fetched from when type is url. For a plugin the marketplace catalog marks as private, the manage API responses withhold it (null, url_hidden: true) — private release URLs never reach the client. A null url in a save keeps the stored one.

url_hiddenbooleanOptional

The stored url was withheld from this response: the marketplace catalog marks the plugin's repository as private. Response only, absent otherwise.

typestring · nullableOptional

Source type of the plugin. zip for a plugin whose ZIP was uploaded through /plugin/manage/upload, url for one fetched from a remote url.

The ZIP itself is never part of this schema: it is uploaded as a raw request body through PUT /plugin/manage/upload and read back from GET /plugin/manage/{id}/zip.

The stored type never changes on update, with one exception: uploading a ZIP onto a url plugin with POST /plugin/manage/{id}/upload converts the row to zip (the install-as-zip rescue for a source that cannot be fetched), keeping name, enabled flag and configuration. The stored url is dropped (a zip plugin has no source url) and update_policy is forced to never.

update_policystring · nullableOptional

Update policy stored for the plugin (controls how/when fylr refreshes the plugin from its source).

statestringOptional

not_installed for a url plugin whose zip has never arrived — such a plugin is force-disabled at runtime (like an unlicensed one; the stored enabled keeps the user's intent) and the frontend offers the install-as-zip rescue. Response only, absent otherwise.

last_checked_atstring · date-timeOptional

When fylr last completed a check of the plugin source for updates. A failed update attempt does not move it.

created_atstring · date-timeOptional

When the plugin was installed.

updated_atstring · date-timeOptional

When the stored plugin content (the zip and its manifest) last changed: set at install and whenever a new version is stored. A settings-only save (enable/disable, update_policy) does not touch it.

{
  "type": "zip",
  "enabled": false
}

GET /plugin/manage/{id} — Read one installed plugin.

Read one installed plugin.

get
Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
idinteger · int64Required

Numeric id of the plugin.

Responses
200

The plugin.

application/json

A single plugin as seen by the management API (/plugin/manage). Carries the stored plugin row (id, name, enabled flag, source) plus the parsed manifest. Used both as the request body of PUT/POST /plugin/manage and as their response.

On create (PUT) the body must NOT carry an id; on update (POST /plugin/manage/{id}) the body id must match the path {id}.

idinteger · int64Optional

Numeric id of the stored plugin. Assigned by fylr on create; must be absent (or 0) in a PUT create body, and must match the path {id} in a POST update body.

namestring · nullableOptional

Unique plugin name (matches the manifest name:). Read-only in responses; derived from the uploaded plugin on create.

enabledboolean · nullableOptional

Whether the plugin is enabled. A freshly uploaded plugin is created disabled (false); enable it with an update. If the license mentions the plugin without granting it (see license), enabling it is rejected with PluginNotLicensed and the plugin is kept disabled at runtime.

encryptedbooleanOptional

true when the plugin arrived as a sealed (encrypted) package and was decrypted at install. Read-only: derived from the delivered artifact, values sent in requests are ignored.

licensedbooleanOptional

true when the marketplace catalog marks the plugin as paid: it can be installed freely, but the instance license must grant it by name ("enabled": true in the license's plugins block) before it can be enabled. Read-only: stamped from the catalog at install, values sent in requests are ignored.

auto_addedboolean · nullableOptional

true when the plugin was discovered and registered automatically (e.g. from the plugins directory) rather than uploaded via the API.

pathstring · nullableOptional

Filesystem path the plugin is loaded from, if any.

urlstring · nullableOptional

Source URL the plugin is fetched from when type is url. For a plugin the marketplace catalog marks as private, the manage API responses withhold it (null, url_hidden: true) — private release URLs never reach the client. A null url in a save keeps the stored one.

url_hiddenbooleanOptional

The stored url was withheld from this response: the marketplace catalog marks the plugin's repository as private. Response only, absent otherwise.

typestring · nullableOptional

Source type of the plugin. zip for a plugin whose ZIP was uploaded through /plugin/manage/upload, url for one fetched from a remote url.

The ZIP itself is never part of this schema: it is uploaded as a raw request body through PUT /plugin/manage/upload and read back from GET /plugin/manage/{id}/zip.

The stored type never changes on update, with one exception: uploading a ZIP onto a url plugin with POST /plugin/manage/{id}/upload converts the row to zip (the install-as-zip rescue for a source that cannot be fetched), keeping name, enabled flag and configuration. The stored url is dropped (a zip plugin has no source url) and update_policy is forced to never.

update_policystring · nullableOptional

Update policy stored for the plugin (controls how/when fylr refreshes the plugin from its source).

statestringOptional

not_installed for a url plugin whose zip has never arrived — such a plugin is force-disabled at runtime (like an unlicensed one; the stored enabled keeps the user's intent) and the frontend offers the install-as-zip rescue. Response only, absent otherwise.

last_checked_atstring · date-timeOptional

When fylr last completed a check of the plugin source for updates. A failed update attempt does not move it.

created_atstring · date-timeOptional

When the plugin was installed.

updated_atstring · date-timeOptional

When the stored plugin content (the zip and its manifest) last changed: set at install and whenever a new version is stored. A settings-only save (enable/disable, update_policy) does not touch it.

{
  "type": "zip",
  "enabled": false
}

POST /plugin/manage/{id} — Update an installed plugin.

Update an installed plugin.

post

Updates the plugin identified by {id}. The body id must match the path {id}. Use this to enable/disable a plugin or refresh it from its source. Fails with code: ReadOnlyMode when the instance is read-only.

A settings-only save (the url unchanged) never contacts the source, so the settings of a plugin whose source is currently unreachable can still be changed. Sending a new url fetches the payload as usual.

type is ignored here: a JSON save carries no content, so it could only relabel the row. The type of an installed plugin follows its content and changes only when a ZIP is uploaded onto it (POST /plugin/manage/{id}/upload).

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
idinteger · int64Required

Numeric id of the plugin.

Body

A single plugin as seen by the management API (/plugin/manage). Carries the stored plugin row (id, name, enabled flag, source) plus the parsed manifest. Used both as the request body of PUT/POST /plugin/manage and as their response.

On create (PUT) the body must NOT carry an id; on update (POST /plugin/manage/{id}) the body id must match the path {id}.

idinteger · int64Optional

Numeric id of the stored plugin. Assigned by fylr on create; must be absent (or 0) in a PUT create body, and must match the path {id} in a POST update body.

namestring · nullableOptional

Unique plugin name (matches the manifest name:). Read-only in responses; derived from the uploaded plugin on create.

enabledboolean · nullableOptional

Whether the plugin is enabled. A freshly uploaded plugin is created disabled (false); enable it with an update. If the license mentions the plugin without granting it (see license), enabling it is rejected with PluginNotLicensed and the plugin is kept disabled at runtime.

encryptedbooleanOptional

true when the plugin arrived as a sealed (encrypted) package and was decrypted at install. Read-only: derived from the delivered artifact, values sent in requests are ignored.

licensedbooleanOptional

true when the marketplace catalog marks the plugin as paid: it can be installed freely, but the instance license must grant it by name ("enabled": true in the license's plugins block) before it can be enabled. Read-only: stamped from the catalog at install, values sent in requests are ignored.

auto_addedboolean · nullableOptional

true when the plugin was discovered and registered automatically (e.g. from the plugins directory) rather than uploaded via the API.

pathstring · nullableOptional

Filesystem path the plugin is loaded from, if any.

urlstring · nullableOptional

Source URL the plugin is fetched from when type is url. For a plugin the marketplace catalog marks as private, the manage API responses withhold it (null, url_hidden: true) — private release URLs never reach the client. A null url in a save keeps the stored one.

url_hiddenbooleanOptional

The stored url was withheld from this response: the marketplace catalog marks the plugin's repository as private. Response only, absent otherwise.

typestring · nullableOptional

Source type of the plugin. zip for a plugin whose ZIP was uploaded through /plugin/manage/upload, url for one fetched from a remote url.

The ZIP itself is never part of this schema: it is uploaded as a raw request body through PUT /plugin/manage/upload and read back from GET /plugin/manage/{id}/zip.

The stored type never changes on update, with one exception: uploading a ZIP onto a url plugin with POST /plugin/manage/{id}/upload converts the row to zip (the install-as-zip rescue for a source that cannot be fetched), keeping name, enabled flag and configuration. The stored url is dropped (a zip plugin has no source url) and update_policy is forced to never.

update_policystring · nullableOptional

Update policy stored for the plugin (controls how/when fylr refreshes the plugin from its source).

statestringOptional

not_installed for a url plugin whose zip has never arrived — such a plugin is force-disabled at runtime (like an unlicensed one; the stored enabled keeps the user's intent) and the frontend offers the install-as-zip rescue. Response only, absent otherwise.

last_checked_atstring · date-timeOptional

When fylr last completed a check of the plugin source for updates. A failed update attempt does not move it.

created_atstring · date-timeOptional

When the plugin was installed.

updated_atstring · date-timeOptional

When the stored plugin content (the zip and its manifest) last changed: set at install and whenever a new version is stored. A settings-only save (enable/disable, update_policy) does not touch it.

Responses
200

The updated plugin.

application/json

A single plugin as seen by the management API (/plugin/manage). Carries the stored plugin row (id, name, enabled flag, source) plus the parsed manifest. Used both as the request body of PUT/POST /plugin/manage and as their response.

On create (PUT) the body must NOT carry an id; on update (POST /plugin/manage/{id}) the body id must match the path {id}.

idinteger · int64Optional

Numeric id of the stored plugin. Assigned by fylr on create; must be absent (or 0) in a PUT create body, and must match the path {id} in a POST update body.

namestring · nullableOptional

Unique plugin name (matches the manifest name:). Read-only in responses; derived from the uploaded plugin on create.

enabledboolean · nullableOptional

Whether the plugin is enabled. A freshly uploaded plugin is created disabled (false); enable it with an update. If the license mentions the plugin without granting it (see license), enabling it is rejected with PluginNotLicensed and the plugin is kept disabled at runtime.

encryptedbooleanOptional

true when the plugin arrived as a sealed (encrypted) package and was decrypted at install. Read-only: derived from the delivered artifact, values sent in requests are ignored.

licensedbooleanOptional

true when the marketplace catalog marks the plugin as paid: it can be installed freely, but the instance license must grant it by name ("enabled": true in the license's plugins block) before it can be enabled. Read-only: stamped from the catalog at install, values sent in requests are ignored.

auto_addedboolean · nullableOptional

true when the plugin was discovered and registered automatically (e.g. from the plugins directory) rather than uploaded via the API.

pathstring · nullableOptional

Filesystem path the plugin is loaded from, if any.

urlstring · nullableOptional

Source URL the plugin is fetched from when type is url. For a plugin the marketplace catalog marks as private, the manage API responses withhold it (null, url_hidden: true) — private release URLs never reach the client. A null url in a save keeps the stored one.

url_hiddenbooleanOptional

The stored url was withheld from this response: the marketplace catalog marks the plugin's repository as private. Response only, absent otherwise.

typestring · nullableOptional

Source type of the plugin. zip for a plugin whose ZIP was uploaded through /plugin/manage/upload, url for one fetched from a remote url.

The ZIP itself is never part of this schema: it is uploaded as a raw request body through PUT /plugin/manage/upload and read back from GET /plugin/manage/{id}/zip.

The stored type never changes on update, with one exception: uploading a ZIP onto a url plugin with POST /plugin/manage/{id}/upload converts the row to zip (the install-as-zip rescue for a source that cannot be fetched), keeping name, enabled flag and configuration. The stored url is dropped (a zip plugin has no source url) and update_policy is forced to never.

update_policystring · nullableOptional

Update policy stored for the plugin (controls how/when fylr refreshes the plugin from its source).

statestringOptional

not_installed for a url plugin whose zip has never arrived — such a plugin is force-disabled at runtime (like an unlicensed one; the stored enabled keeps the user's intent) and the frontend offers the install-as-zip rescue. Response only, absent otherwise.

last_checked_atstring · date-timeOptional

When fylr last completed a check of the plugin source for updates. A failed update attempt does not move it.

created_atstring · date-timeOptional

When the plugin was installed.

updated_atstring · date-timeOptional

When the stored plugin content (the zip and its manifest) last changed: set at install and whenever a new version is stored. A settings-only save (enable/disable, update_policy) does not touch it.

{
  "type": "zip",
  "enabled": false
}

DELETE /plugin/manage/{id} — Delete (uninstall) a plugin.

Delete (uninstall) a plugin.

delete

Removes the plugin identified by {id}. Fails with code: ReadOnlyMode when the instance is read-only.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
idinteger · int64Required

Numeric id of the plugin.

Responses
200

The plugin was deleted.

application/json

Response of DELETE /plugin/manage/{id} — confirms the plugin was removed.

acknowledgedboolean · enumRequired

Always true when the plugin was deleted.

Possible values:
{
  "acknowledged": true
}

GET /plugin/manage/{id}/readme — Read an installed plugin's README.

Read an installed plugin's README.

get

Returns the README.md bundled next to the plugin's manifest.yml, read on demand from the plugin source (plugin directory, stored ZIP, or install URL via HTTP range requests) — the potentially large README never rides along in the plugin listing. Whether a plugin ships one is exposed as manifest.has_readme in the listing. An empty readme means the plugin ships no README or its source is temporarily unreachable.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
idinteger · int64Required

Numeric id of the plugin.

Responses
200

The plugin's README.

application/json
idinteger · int64Required

Numeric id of the plugin.

namestringRequired

The plugin's internal name.

readmestringRequired

The README as Markdown (images inlined as data URIs by the plugin build), or an empty string if the plugin ships no README.

{
  "id": 1,
  "name": "text",
  "readme": "text"
}

PUT /plugin/manage/upload — Install a plugin from an uploaded ZIP.

Install a plugin from an uploaded ZIP.

put

The request body is the plugin ZIP itself — no JSON envelope, no base64 — so plugins of any size can be installed.

The ZIP must carry exactly one <name>/manifest.yml naming the plugin; anything else is rejected with code: PluginInvalid and nothing is stored. The upload is exempt from the produce config's filetype and size limits — a plugin ZIP is an internal artifact, not user media. A sealed (encrypted) plugin ZIP is accepted and decrypted when the build carries the matching key.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Query parameters
enabledbooleanOptional

Enable the plugin right away. Default false.

update_policystringOptional

Update policy to store. A zip plugin only supports never (its default).

filenamestringOptional

File name recorded for the stored ZIP. Default plugin.zip.

Body
string · binaryOptional
Responses
200

The installed plugin.

application/json

A single plugin as seen by the management API (/plugin/manage). Carries the stored plugin row (id, name, enabled flag, source) plus the parsed manifest. Used both as the request body of PUT/POST /plugin/manage and as their response.

On create (PUT) the body must NOT carry an id; on update (POST /plugin/manage/{id}) the body id must match the path {id}.

idinteger · int64Optional

Numeric id of the stored plugin. Assigned by fylr on create; must be absent (or 0) in a PUT create body, and must match the path {id} in a POST update body.

namestring · nullableOptional

Unique plugin name (matches the manifest name:). Read-only in responses; derived from the uploaded plugin on create.

enabledboolean · nullableOptional

Whether the plugin is enabled. A freshly uploaded plugin is created disabled (false); enable it with an update. If the license mentions the plugin without granting it (see license), enabling it is rejected with PluginNotLicensed and the plugin is kept disabled at runtime.

encryptedbooleanOptional

true when the plugin arrived as a sealed (encrypted) package and was decrypted at install. Read-only: derived from the delivered artifact, values sent in requests are ignored.

licensedbooleanOptional

true when the marketplace catalog marks the plugin as paid: it can be installed freely, but the instance license must grant it by name ("enabled": true in the license's plugins block) before it can be enabled. Read-only: stamped from the catalog at install, values sent in requests are ignored.

auto_addedboolean · nullableOptional

true when the plugin was discovered and registered automatically (e.g. from the plugins directory) rather than uploaded via the API.

pathstring · nullableOptional

Filesystem path the plugin is loaded from, if any.

urlstring · nullableOptional

Source URL the plugin is fetched from when type is url. For a plugin the marketplace catalog marks as private, the manage API responses withhold it (null, url_hidden: true) — private release URLs never reach the client. A null url in a save keeps the stored one.

url_hiddenbooleanOptional

The stored url was withheld from this response: the marketplace catalog marks the plugin's repository as private. Response only, absent otherwise.

typestring · nullableOptional

Source type of the plugin. zip for a plugin whose ZIP was uploaded through /plugin/manage/upload, url for one fetched from a remote url.

The ZIP itself is never part of this schema: it is uploaded as a raw request body through PUT /plugin/manage/upload and read back from GET /plugin/manage/{id}/zip.

The stored type never changes on update, with one exception: uploading a ZIP onto a url plugin with POST /plugin/manage/{id}/upload converts the row to zip (the install-as-zip rescue for a source that cannot be fetched), keeping name, enabled flag and configuration. The stored url is dropped (a zip plugin has no source url) and update_policy is forced to never.

update_policystring · nullableOptional

Update policy stored for the plugin (controls how/when fylr refreshes the plugin from its source).

statestringOptional

not_installed for a url plugin whose zip has never arrived — such a plugin is force-disabled at runtime (like an unlicensed one; the stored enabled keeps the user's intent) and the frontend offers the install-as-zip rescue. Response only, absent otherwise.

last_checked_atstring · date-timeOptional

When fylr last completed a check of the plugin source for updates. A failed update attempt does not move it.

created_atstring · date-timeOptional

When the plugin was installed.

updated_atstring · date-timeOptional

When the stored plugin content (the zip and its manifest) last changed: set at install and whenever a new version is stored. A settings-only save (enable/disable, update_policy) does not touch it.

{
  "type": "zip",
  "enabled": false
}

POST /plugin/manage/{id}/upload — Replace a plugin's ZIP.

Replace a plugin's ZIP.

post

Same body and checks as PUT /plugin/manage/upload, but the ZIP replaces the content of the plugin {id} instead of creating a new one. The new ZIP's manifest must not name a DIFFERENT installed plugin (code: PluginDuplicateName).

Type zip is implicit here, so uploading onto a url plugin converts it: the row keeps its name, configuration and enabled state, its update_policy is forced to never and its url is cleared. A disk plugin is served from a path, has no stored ZIP and is refused (400).

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
idinteger · int64Required

Numeric id of the plugin.

Body
string · binaryOptional
Responses
200

The updated plugin.

application/json

A single plugin as seen by the management API (/plugin/manage). Carries the stored plugin row (id, name, enabled flag, source) plus the parsed manifest. Used both as the request body of PUT/POST /plugin/manage and as their response.

On create (PUT) the body must NOT carry an id; on update (POST /plugin/manage/{id}) the body id must match the path {id}.

idinteger · int64Optional

Numeric id of the stored plugin. Assigned by fylr on create; must be absent (or 0) in a PUT create body, and must match the path {id} in a POST update body.

namestring · nullableOptional

Unique plugin name (matches the manifest name:). Read-only in responses; derived from the uploaded plugin on create.

enabledboolean · nullableOptional

Whether the plugin is enabled. A freshly uploaded plugin is created disabled (false); enable it with an update. If the license mentions the plugin without granting it (see license), enabling it is rejected with PluginNotLicensed and the plugin is kept disabled at runtime.

encryptedbooleanOptional

true when the plugin arrived as a sealed (encrypted) package and was decrypted at install. Read-only: derived from the delivered artifact, values sent in requests are ignored.

licensedbooleanOptional

true when the marketplace catalog marks the plugin as paid: it can be installed freely, but the instance license must grant it by name ("enabled": true in the license's plugins block) before it can be enabled. Read-only: stamped from the catalog at install, values sent in requests are ignored.

auto_addedboolean · nullableOptional

true when the plugin was discovered and registered automatically (e.g. from the plugins directory) rather than uploaded via the API.

pathstring · nullableOptional

Filesystem path the plugin is loaded from, if any.

urlstring · nullableOptional

Source URL the plugin is fetched from when type is url. For a plugin the marketplace catalog marks as private, the manage API responses withhold it (null, url_hidden: true) — private release URLs never reach the client. A null url in a save keeps the stored one.

url_hiddenbooleanOptional

The stored url was withheld from this response: the marketplace catalog marks the plugin's repository as private. Response only, absent otherwise.

typestring · nullableOptional

Source type of the plugin. zip for a plugin whose ZIP was uploaded through /plugin/manage/upload, url for one fetched from a remote url.

The ZIP itself is never part of this schema: it is uploaded as a raw request body through PUT /plugin/manage/upload and read back from GET /plugin/manage/{id}/zip.

The stored type never changes on update, with one exception: uploading a ZIP onto a url plugin with POST /plugin/manage/{id}/upload converts the row to zip (the install-as-zip rescue for a source that cannot be fetched), keeping name, enabled flag and configuration. The stored url is dropped (a zip plugin has no source url) and update_policy is forced to never.

update_policystring · nullableOptional

Update policy stored for the plugin (controls how/when fylr refreshes the plugin from its source).

statestringOptional

not_installed for a url plugin whose zip has never arrived — such a plugin is force-disabled at runtime (like an unlicensed one; the stored enabled keeps the user's intent) and the frontend offers the install-as-zip rescue. Response only, absent otherwise.

last_checked_atstring · date-timeOptional

When fylr last completed a check of the plugin source for updates. A failed update attempt does not move it.

created_atstring · date-timeOptional

When the plugin was installed.

updated_atstring · date-timeOptional

When the stored plugin content (the zip and its manifest) last changed: set at install and whenever a new version is stored. A settings-only save (enable/disable, update_policy) does not touch it.

{
  "type": "zip",
  "enabled": false
}

GET /plugin/manage/{id}/zip — Download a plugin's stored ZIP.

Download a plugin's stored ZIP.

get

Streams the stored plugin ZIP as the response body. A plugin with no stored ZIP (a disk plugin, or a url plugin whose download is still pending) answers 400.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
idinteger · int64Required

Numeric id of the plugin.

Responses
200

The stored plugin ZIP.

application/zip
string · binaryOptional
binary

POST /plugin/manage/{id}/check — Check a plugin's source now, skipping the update-policy interval.

Check a plugin's source now, skipping the update-policy interval.

post

Probes the plugin's source right away instead of waiting for the update policy's next window. A reachable source heals the stored warning (and, for policies other than never, installs a changed version like a regular update); an unreachable one stamps the warning with the fresh failure. Update policy never only probes — it never installs. The check runs under the same lock as the plugin updater and is bounded by the configured fetch timeouts, so it returns even for a black-holed source.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
idinteger · int64Required

Numeric id of the plugin.

Responses
200

The freshly checked plugin. A still-broken source is NOT an error: it shows in the returned warning.

application/json

A single plugin as seen by the management API (/plugin/manage). Carries the stored plugin row (id, name, enabled flag, source) plus the parsed manifest. Used both as the request body of PUT/POST /plugin/manage and as their response.

On create (PUT) the body must NOT carry an id; on update (POST /plugin/manage/{id}) the body id must match the path {id}.

idinteger · int64Optional

Numeric id of the stored plugin. Assigned by fylr on create; must be absent (or 0) in a PUT create body, and must match the path {id} in a POST update body.

namestring · nullableOptional

Unique plugin name (matches the manifest name:). Read-only in responses; derived from the uploaded plugin on create.

enabledboolean · nullableOptional

Whether the plugin is enabled. A freshly uploaded plugin is created disabled (false); enable it with an update. If the license mentions the plugin without granting it (see license), enabling it is rejected with PluginNotLicensed and the plugin is kept disabled at runtime.

encryptedbooleanOptional

true when the plugin arrived as a sealed (encrypted) package and was decrypted at install. Read-only: derived from the delivered artifact, values sent in requests are ignored.

licensedbooleanOptional

true when the marketplace catalog marks the plugin as paid: it can be installed freely, but the instance license must grant it by name ("enabled": true in the license's plugins block) before it can be enabled. Read-only: stamped from the catalog at install, values sent in requests are ignored.

auto_addedboolean · nullableOptional

true when the plugin was discovered and registered automatically (e.g. from the plugins directory) rather than uploaded via the API.

pathstring · nullableOptional

Filesystem path the plugin is loaded from, if any.

urlstring · nullableOptional

Source URL the plugin is fetched from when type is url. For a plugin the marketplace catalog marks as private, the manage API responses withhold it (null, url_hidden: true) — private release URLs never reach the client. A null url in a save keeps the stored one.

url_hiddenbooleanOptional

The stored url was withheld from this response: the marketplace catalog marks the plugin's repository as private. Response only, absent otherwise.

typestring · nullableOptional

Source type of the plugin. zip for a plugin whose ZIP was uploaded through /plugin/manage/upload, url for one fetched from a remote url.

The ZIP itself is never part of this schema: it is uploaded as a raw request body through PUT /plugin/manage/upload and read back from GET /plugin/manage/{id}/zip.

The stored type never changes on update, with one exception: uploading a ZIP onto a url plugin with POST /plugin/manage/{id}/upload converts the row to zip (the install-as-zip rescue for a source that cannot be fetched), keeping name, enabled flag and configuration. The stored url is dropped (a zip plugin has no source url) and update_policy is forced to never.

update_policystring · nullableOptional

Update policy stored for the plugin (controls how/when fylr refreshes the plugin from its source).

statestringOptional

not_installed for a url plugin whose zip has never arrived — such a plugin is force-disabled at runtime (like an unlicensed one; the stored enabled keeps the user's intent) and the frontend offers the install-as-zip rescue. Response only, absent otherwise.

last_checked_atstring · date-timeOptional

When fylr last completed a check of the plugin source for updates. A failed update attempt does not move it.

created_atstring · date-timeOptional

When the plugin was installed.

updated_atstring · date-timeOptional

When the stored plugin content (the zip and its manifest) last changed: set at install and whenever a new version is stored. A settings-only save (enable/disable, update_policy) does not touch it.

{
  "type": "zip",
  "enabled": false
}

README, ZIP and source check

From 6.35.0:

  • GET /plugin/manage/{id}/readme — the plugin's README.md, the file next to its manifest.yml. The manage listing marks a plugin that ships one with manifest.has_readme; the retired plugin.webfrontend.readme manifest key is no longer read.

  • PUT /plugin/manage/upload — install a plugin from a ZIP sent as the raw request body; POST /plugin/manage/{id}/upload replaces the ZIP of an installed plugin (a url plugin becomes a zip plugin, keeping its name, configuration and enabled state); GET /plugin/manage/{id}/zip returns the stored ZIP. A plugin ZIP is exempt from the file-production settings (allowed file types, maximum upload size) and no longer travels as an asset; zip_file is gone from the API.

  • POST /plugin/manage/{id}/check — force a source check right away instead of waiting for the update policy's window.

A plugin row reports enabled as the flag the administrator stored, and state as the reason it cannot run: not_installed while a url plugin's ZIP has not arrived, not_licensed while the license does not grant it. A plugin whose source cannot be fetched carries a warning (url_unreachable, url_http_error, zip_invalid) with the time it was first seen, cleared by the next successful fetch. The stored URL of a plugin installed from a catalog-private entry is withheld (url_hidden); a null URL in a save keeps the stored one.

Last updated