Zatomic API

Retrieving all scoring criteria

Returns the list of all scoring criteria in a given workspace, sorted alphabetically by criteria name. A successful call returns a response that contains a list of scoring criteria objects.

This endpoint also returns the default system criteria named Default, which will be the last criteria in the list.

Endpoint
GET https://api.zatomic.ai/v1/prompts/scoring/criteria

Response Body
[
   {
      "criteria_id": "sca_2rjp9HFpIsiYQrAiSbZlz85r3GC",
      "name": "Default",
      "use_case": "This is the use case for the default system criteria."
      "criterion_set": [
         {
            "criterion_id": "scn_2tVwnAnheHa6NKuYvKcXrqDB21z",
            "slug": "criterion_slug",
            "label": "The label of the criterion.",
            "description": "The criterion description.",
            "questions": "The question or questions the criterion is trying to answer.",
            "weight": 0
         }
      ]
   }
]