Zatomic API

The Scoring object

NOTE: When scoring prompts stored outside of Zatomic, the version_timestamp and scoring_timestamp properties will both be null.

Properties
version_timestamp
datetime, nullable
The timestamp of the prompt version used to calculate the score.
scoring_timestamp
datetime, nullable
The timestamp for when the scoring occurred.
overall_score
integer
The overall score for the prompt version, from 0.0 to 100.0.
rating
string
The rating for the prompt version. Will be one of Excellent, Good, Fair, or Poor.
summary
object

Contains summary info about the prompt version.

strenghts
string
The overall strengths of the prompt.
areas_for_improvement
string
Areas where the prompt could improve.
overall_feedback
string
Overall feedback for the prompt.
criteria
The criteria that was used to score the prompt version, with results for each criterion.
The Scoring Object
{
   "version_timestamp": "2024-12-19T20:33:15.971617Z",
   "scoring_timestamp": "2024-12-19T20:33:15.971617Z",
   "overall_score": 0,
   "rating": "Excellent",
   "summary": {
      "strengths": "The strengths of the prompt.",
      "areas_for_improvement": "Areas where the prompt could improve.",
      "overall_feedback": "Overall feedback for the prompt."
   },
   "criteria": {
      "criteria_id": "sca_2rjp9HFpIsiYQrAiSbZlz85r3GC",
      "name": "Default",
      "criterion_results": [
         {
            "slug": "criterion_slug",
            "score": 0,
            "weight": 0,
            "weighted_score": 0,
            "feedback": "Specific feedback for the criterion."
         }
      ]
   }
}