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
      • POSTSubmit Evaluator Judgment
      • GETList Evaluators
      • POSTUpsert Evaluator
      • GETGet Evaluator
      • DELDelete Evaluator
      • PATCHMove Evaluator
      • GETList Versions of an Evaluator
      • DELDelete Evaluator Version
      • PATCHUpdate Evaluator Version
      • POSTDeploy Evaluator
      • DELRemove Deployment
      • GETList an Evaluator's Environments
      • POSTUpdate Monitoring
LogoLogo
Sign inBook a demo
APIEvaluators

List an Evaluator's Environments

GET
https://api.humanloop.com/v5/evaluators/:id/environments
GET
/v5/evaluators/:id/environments
$curl https://api.humanloop.com/v5/evaluators/ev_890bcd/environments \
> -H "X-API-KEY: <apiKey>"
1[
2 {
3 "id": "env_abc123",
4 "created_at": "2024-05-01T12:00:00Z",
5 "name": "production",
6 "tag": "default",
7 "file": {
8 "id": "ev_890bcd",
9 "name": "Accuracy Evaluator",
10 "path": "Shared Evaluators/Accuracy Evaluator",
11 "version_id": "evv_012def",
12 "type": "evaluator",
13 "created_at": "2024-05-01T12:00:00Z",
14 "updated_at": "2024-05-01T12:00:00Z",
15 "last_used_at": "2024-05-01T12:00:00Z",
16 "spec": {
17 "arguments_type": "target_required",
18 "return_type": "number",
19 "evaluator_type": "python",
20 "code": "def evaluate(answer, target):\n return 0.5"
21 },
22 "version_logs_count": 1,
23 "total_logs_count": 1,
24 "inputs": [
25 {
26 "name": "answer"
27 }
28 ]
29 }
30 }
31]
List all Environments and their deployed versions for the Evaluator.
Was this page helpful?
Previous

Update Monitoring

Next
Built with

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

idstringRequired
Unique identifier for Evaluator.

Response

Successful Response
idstring
created_atdatetime
namestring
tagenum
An enumeration.
Allowed values:
fileobject
The version of the File that is deployed to the Environment, if one is deployed.

Errors

422
List Environments Evaluators ID Environments Get Request Unprocessable Entity Error