@axiombase/core-client
v0.1.0
Published
Shared AxiomBase Render API contracts and HTTP client
Readme
AxiomBase Core Client
Shared TypeScript contracts and HTTP client for AxiomBase Render API callers.
import { AxiomBaseClient } from "@axiombase/core-client"
const client = new AxiomBaseClient({
apiKey: process.env.AXIOMBASE_API_KEY,
baseUrl: process.env.AXIOMBASE_API_BASE,
source: "sdk",
})
await client.documents.render({
input: { kind: "markdown", content: "# Report" },
outputs: ["pdf"],
})AXIOMBASE_API_BASE can point at local or staging Render API deployments. AXIOMBASE_API_KEY is sent as Authorization: Bearer <key>.
Allowed sources are api, cli, ci, sdk, mcp, and web. Use ci for automated batch jobs so usage dashboards can separate human CLI activity from release pipelines.
