Marlow & Sons
Quickstart
The whole integration
Same request shape as the API you are already calling, so the migration is an import and a base URL.
summarise.tsts
import { Client } from "@your-org/sdk";
const client = new Client({ apiKey: process.env.API_KEY });
const res = await client.messages.create({
model: "reason-1",
temperature: 0, // deterministic: same in, same out
max_tokens: 1024,
tools: [summariseTicket],
messages: [
{ role: "user", content: "Summarise ticket #4821 for the on-call." },
],
});
console.log(res.content[0].text);Streaming is the same call with `stream: true`. Batch runs at half price with a one-hour window.

