Get eval rubric by ID.
Python
import requests url = "https://www.datalab.to/api/v1/eval_rubrics/{rubric_id}" headers = {"X-API-Key": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
{ "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>" ] }
Successful Response
Was this page helpful?