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
    • SDKs
    • Errors
  • Humanloop API
      • GETGet
      • GETList Datapoints
      • POSTCreate
      • POSTLog
      • POSTResult
      • PATCHUpdate Status
      • PATCHAdd Evaluators
      • GETGet Evaluations
LogoLogo
Sign inBook a demo
Humanloop APIEvaluations

List Datapoints

GET
https://api.humanloop.com/v4/evaluations/:id/datapoints
GET
/v4/evaluations/:id/datapoints
$curl https://api.humanloop.com/v4/evaluations/id/datapoints \
> -H "X-API-KEY: <apiKey>"
1{
2 "records": [
3 {
4 "datapoint": {
5 "id": "id"
6 },
7 "evaluation_results": [
8 {
9 "id": "id",
10 "evaluator_id": "evaluator_id",
11 "evaluator_version_id": "evaluator_version_id",
12 "log_id": "log_id",
13 "updated_at": "2024-01-15T09:30:00Z",
14 "created_at": "2024-01-15T09:30:00Z"
15 }
16 ],
17 "log": {
18 "id": "id",
19 "config": {
20 "type": "model",
21 "id": "id",
22 "model": "model"
23 },
24 "evaluation_results": [
25 {
26 "id": "id",
27 "evaluator_id": "evaluator_id",
28 "evaluator_version_id": "evaluator_version_id",
29 "log_id": "log_id",
30 "updated_at": "2024-01-15T09:30:00Z",
31 "created_at": "2024-01-15T09:30:00Z"
32 }
33 ],
34 "observability_status": "pending",
35 "updated_at": "2024-01-15T09:30:00Z"
36 }
37 }
38 ],
39 "page": 1,
40 "size": 1,
41 "total": 1
42}
Get testcases by evaluation ID.
Was this page helpful?
Previous

Create

Next
Built with

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

idstringRequired

String ID of evaluation. Starts with ev_.

Query parameters

pageintegerOptionalDefaults to 1
Page to fetch. Starts from 1.
sizeintegerOptionalDefaults to 10
Number of evaluation results to retrieve.
evaluatee_idstringOptional

String ID of evaluatee version to return. If not defined, the first evaluatee will be returned. Starts with evv_.

Response

Successful Response
recordslist of objects
pageinteger
sizeinteger
totalinteger

Errors

422
Evaluations List Datapoints Request Unprocessable Entity Error