List eval rubrics for the team.
import requests
url = "https://www.datalab.to/api/v1/eval_rubrics"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"rubrics": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"eval_definition": {},
"source": "<string>",
"source_pipeline_id": "<string>",
"archived": true,
"version": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"version_history": [
"<unknown>"
]
}
],
"total": 123
}1 <= x <= 200x >= 0Was this page helpful?
import requests
url = "https://www.datalab.to/api/v1/eval_rubrics"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"rubrics": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"eval_definition": {},
"source": "<string>",
"source_pipeline_id": "<string>",
"archived": true,
"version": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"version_history": [
"<unknown>"
]
}
],
"total": 123
}