TypeScript API client and canonical type definitions for Embeddr.
| File | Purpose |
|---|---|
embeddr-api-client.ts |
High-level API client with typed methods |
embeddr-api-types.ts |
Canonical domain types (Artifact, Execution, etc.) |
embeddr-client.ts |
Low-level HTTP client |
config.ts |
Environment-agnostic URL resolution |
fetch.ts |
Authenticated fetch wrapper |
security.ts |
Auth types and helpers |
websocket.ts |
WebSocket client |
oauth.ts |
OAuth2 flow helpers |
import { createEmbeddrApi } from "@embeddr/client-typescript";
import type { Artifact } from "@embeddr/client-typescript";
const api = createEmbeddrApi({ baseUrl: "http://localhost:8003/api/v1" });
const artifacts: Artifact[] = await api.artifacts.list();Copyright 2026 Embeddr Labs and Contributors
Licensed under the Apache License, Version 2.0.