MVFM

anthropic/retrieve_message_batch

Retrieve the status of a message batch by ID

const app = mvfm(prelude, console_, anthropic_);
const prog = app({}, ($) => {
  const batch = $.anthropic.messages.batches.retrieve("msgbatch-abc123");
  return $.console.log(batch);
});
await fold(defaults(app, { anthropic: crystalBallAnthropicInterpreter }), prog);
Ctrl+Enter