@embeddr/client-typescript
v0.2.0-alpha.3
Published
TypeScript API client for Embeddr
Readme
@embeddr/client-typescript
TypeScript API client and canonical type definitions for Embeddr.
What's in here
| 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 |
Usage
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();License
Copyright 2026 Embeddr Labs and Contributors
Licensed under the Apache License, Version 2.0.
