SDK

The Humanloop platform can be accessed through the API or through our Python and TypeScript SDKs.

Usage Examples

Installation
npm install humanloop
Example usage
import { HumanloopClient } from "humanloop";
const humanloop = new HumanloopClient({ apiKey: "YOUR_API_KEY" });
// Check that the authentication was successful
console.log(await humanloop.prompts.list());