Frigate NVR REST API: events, review items, recordings, clips and snapshots, exports, camera switches, config and stats
frigatenvrcctvcameraobject-detection
[decks]
"@deckyard/frigate" = "^0.5.0"| Version | Status | Kind | Pin | Requires | Engines | Capabilities |
|---|---|---|---|---|---|---|
| 0.5.0 | live | git | a0a26ab9a871 | - | jennifer >=0.27.0 | net |
| 0.4.0 | live | git | 1ee53bbac571 | - | jennifer >=0.26.0 | net |
| 0.3.0 | live | git | f11f98661f89 | - | jennifer >=0.26.0 | net |
| 0.2.0 | live | git | 2ca1121f4403 | - | jennifer >=0.26.0 | net |
| 0.1.0 | live | git | d6bb8f254f35 | - | jennifer >=0.26.0 | net |
LGPL-3.0-only
0.5.0Times a client asked this registry where to find this deck. Not downloads: the registry only stores metadata, and the code is fetched from its repository directly, so we never see an install and cannot count one. Repeated builds inflate these numbers; installs from an existing lockfile do not appear at all. Counted in UTC.
A client for the HTTP API of Frigate, the self-hosted network video recorder with object detection, for Jennifer programs: sign in, list and filter events and review items, fetch snapshots and clips, create events by hand, read recordings and cut clips and frames from them, export and download stretches of recording, and look after the cameras (configuration, live stats, the latest frame, features switched on and off).
jvc add @deckyard/frigateThis vendors the deck to vendor/<scope>/frigate/. Without jvc, unpack the src/ subtree of a release archive (<scope>-frigate-<version>.tar.gz) there.
import "@deckyard/frigate/" as frigate;
import "http.j" as http;
def c as frigate.Client init frigate.withTls(
frigate.client("https://nvr.example.org:8971"),
http.TlsOptions{caCert: fs.readBytes("ca.pem")});
$c = frigate.login($c, "admin", os.getEnv("FRIGATE_PASSWORD"));
for (def e in frigate.events($c, ["labels=person", "has_snapshot=1", "limit=5"])) {
fs.writeBytes($e.id + ".jpg", frigate.eventSnapshot($c, $e.id));
}ca.pem is the CA that signed the certificate installed on port 8971. Frigate's own default certificate there (CN=*, no subject alternative names) names no host, so no CA verifies it: it only works with http.TlsOptions{skipVerify: true}, which turns the check off.
examples/ has three programs: events.j (open alerts and the last events), export.j (export and download the last minutes of a camera) and status.j (frame rates and disk use per camera, over the unauthenticated port 5000; FRIGATE_PLAIN=1 allows plain http to a LAN host). events.j and export.j take FRIGATE_CA=ca.pem or FRIGATE_INSECURE=1.
Jennifer 0.27.0 or newer, with the net capability: the deck talks HTTP(S) to a Frigate server. Checked against Frigate 0.18.2.
tools/check-all.sh # the full gate, as CI runs it
jennifer test src/frigate_test.j # the test overlay
tools/check-docs.sh # docs against the code
tools/pack.sh dist # build the release archiveLGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.
tools/check-headers.sh checks every source file's SPDX header against deck.toml.