Skip to main content
GET
/
api
/
evaluators
Python
import requests

url = "https://app.langwatch.ai/api/evaluators"

headers = {"X-Auth-Token": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
[
  {
    "id": "<string>",
    "projectId": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "type": "<string>",
    "config": {},
    "workflowId": "<string>",
    "copiedFromEvaluatorId": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "fields": [
      {
        "identifier": "<string>",
        "type": "<string>",
        "optional": true
      }
    ],
    "outputFields": [
      {
        "identifier": "<string>",
        "type": "<string>",
        "optional": true
      }
    ],
    "workflowName": "<string>",
    "workflowIcon": "<string>"
  }
]

Authorizations

X-Auth-Token
string
header
required

Response

Success

id
string
required
projectId
string
required
name
string
required
slug
string | null
required
type
string
required
config
object
required
workflowId
string | null
required
copiedFromEvaluatorId
string | null
required
createdAt
string
required
updatedAt
string
required
fields
object[]
required
outputFields
object[]
required
workflowName
string
workflowIcon
string