For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inBook a demo
DocsReferenceChangelog
DocsReferenceChangelog
  • Introduction
    • Overview
    • Errors
  • SDK
    • Overview
    • Decorators
    • Run Evaluation
  • API
LogoLogo
Sign inBook a demo
On this page
  • Usage Examples

SDK

Was this page helpful?
Previous

Overview

Next
Built with

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

TypeScript ↗
Python ↗

Usage Examples

TypeScript
Python
Installation
$npm install humanloop
Example usage
1import { HumanloopClient } from "humanloop";
2
3const humanloop = new HumanloopClient({ apiKey: "YOUR_API_KEY" });
4
5// Check that the authentication was successful
6console.log(await humanloop.prompts.list());