Get Evaluation Taxonomy
evaluations.retrieve_taxonomy(strevaluation_id) -> EvaluationRetrieveTaxonomyResponse
GET/v5/evaluations/{evaluation_id}/taxonomy
Get the taxonomy JSON for an evaluation’s contributor question tasks.
Returns the raw taxonomy document stored for the evaluation. Responds with a not-found error if the evaluation has no taxonomy.
Get Evaluation Taxonomy
import os
from scale_gp_beta import SGPClient
client = SGPClient(
api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted
)
response = client.evaluations.retrieve_taxonomy(
"evaluation_id",
)
print(response){
"foo": "bar"
}Returns Examples
{
"foo": "bar"
}