Skip to content
VeilVeil
Esc
↑↓navigate↵open⌘Jpreview
On this page

TypeScript SDK

Generated from the OpenAPI contract. Use injects. Never GetSecret.

TypeScript SDK

pnpm add @vortex-api/veil
import { createClient, listItems, useItem } from "@vortex-api/veil";

const client = createClient({
  baseUrl: "https://veil.nyc",
  headers: { Authorization: `Bearer ${process.env.VEIL_OIDC_TOKEN}` },
});

const { data } = await listItems({ client });
await useItem({
  client,
  body: {
    item: "stripe",
    url: "https://api.stripe.com/v1/customers",
    method: "POST",
  },
});

listItems is metadata. useItem injects. The vault secret is not in the response.

Local source

  • Generated package: sdks/typescript — name @vortex-api/veil
  • Generator: @hey-api/openapi-ts

Regenerate with pnpm run sdk:generate.

Last updated on September 18, 2026

Was this page helpful?