immich/packages/sdk
Ben Beckford a939561e70
feat: workflow asset tag trigger/filter/action (#29043)
* feat: workflow asset tag trigger and filter

* feat(web): show tag names in workflow editor

* fix(web): tag picker in schema config editor

* fix: invalid plugin manifest

* chore: update workflow method wrapper type

* chore: update tag filter method declaration

* feat: workflow action to add tags to assets
2026-08-12 16:26:03 -07:00
..
src feat: workflow asset tag trigger/filter/action (#29043) 2026-08-12 16:26:03 -07:00
.npmignore chore: move sdk to packages (#28350) 2026-05-11 13:37:10 -04:00
package.json chore: version v3.1.0 2026-07-27 18:20:33 +00:00
README.md chore: move sdk to packages (#28350) 2026-05-11 13:37:10 -04:00
tsconfig.json chore: move sdk to packages (#28350) 2026-05-11 13:37:10 -04:00

@immich/sdk

A TypeScript SDK for interfacing with the Immich API.

Install

npm i --save @immich/sdk

Usage

For a more detailed example, check out the @immich/cli.

import { getAllAlbums, getMyUser, init } from "@immich/sdk";

const API_KEY = "<API_KEY>"; // process.env.IMMICH_API_KEY

init({ baseUrl: "https://demo.immich.app/api", apiKey: API_KEY });

const user = await getMyUser();
const albums = await getAllAlbums({});

console.log({ user, albums });