Hanzo
API Reference

Hanzo Evals API

LLM evaluation for Hanzo Cloud — the `/v1/evals/*` surface served by the

LLM evaluation for Hanzo Cloud — the /v1/evals/* surface served by the

Base URLhttps://api.hanzo.ai
Version1.0.0
Operations6
GuideHanzo Evals API guide

Authentication

  • bearerAuth — HTTP bearer

All Hanzo APIs share one bearer credential and common error and pagination conventions. See API conventions.

curl -H "Authorization: Bearer $HANZO_API_KEY" https://api.hanzo.ai

Endpoints

Datasets

MethodEndpointDescription
POST/v1/evals/datasetsCreate a dataset
POST/v1/evals/dataset-itemsAdd an item (input + optional expected output) to a dataset

Evaluators

MethodEndpointDescription
POST/v1/evals/evaluatorsRegister an evaluator (pre-built metric or custom rubric)

Runs

MethodEndpointDescription
GET/v1/evals/healthHealth check
POST/v1/evals/runsRun a dataset against a model with an LLM-as-a-Judge

Scores

MethodEndpointDescription
GET/v1/evals/scoresList scores

Hanzo Evals API guide · All Hanzo APIs · OpenAPI spec

How is this guide?

On this page