> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crazygoldfish.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET - Rubric Criteria

>  This API allows authenticated users to retrieve all rubric criteria associated with a specific rubric ID.


 **Key Notes:** 
 - `id` in the URL path refers to the unique identifier of the rubric. 
 - Each criterion contains detailed scoring information including `name`, `minScore`, `maxScore`, and `scoringLogic`. 
 - The `scoringLogic` is an array that defines what each score (e.g., 1 Star to 5 Star) represents.


 **Scenario: Viewing Criteria for a Rubric**

 A teacher wants to view detailed evaluation criteria for a rubric assigned to a student activity.

**Outcome:**
- The teacher sends a GET request with the rubric ID.
- The response returns a list of all rubric criteria with full scoring definitions.
- This helps the teacher ensure clarity and consistency during evaluation. 



## OpenAPI

````yaml GET /rubrics/v1/rubric/{id}/criteria/
openapi: 3.0.1
info:
  title: Evaluation Report API
  description: An API for retrieving evaluation reports.
  version: 1.0.0
servers:
  - url: https://api-staging.crazygoldfish.com
    description: SandBox endpoint
  - url: https://api.crazygoldfish.com
    description: Prod End Point
security: []
paths:
  /rubrics/v1/rubric/{id}/criteria/:
    get:
      tags:
        - Rubrics
      summary: Get Rubric Criterion
      operationId: getRubricCriterion
      parameters:
        - name: id
          in: path
          required: true
          description: Unique identifier for the rubric.
          schema:
            type: string
      responses:
        '200':
          description: Rubric criteria retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RubricResponse'
        '403':
          description: Authentication failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403Response'
        '404':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  'error:':
                    type: object
                    properties:
                      code:
                        type: integer
                        example: 404
                      message:
                        type: object
                        properties:
                          non_field_errors:
                            type: array
                            items:
                              type: string
                              example: Rubric not found
      security:
        - bearerAuth: []
components:
  schemas:
    RubricResponse:
      type: object
      properties:
        id:
          type: string
          description: Unique ID of the rubric
          example: 2b973c83-2830-4712-87b7-64a8c0a99035
        name:
          type: string
          description: Name of the rubric
          example: English Rubric
        description:
          type: string
          description: Description of the rubric
          example: A rubric for evaluating english hand written assignment.
        rubricCriteria:
          type: array
          description: List of rubric criteria
          items:
            $ref: '#/components/schemas/RubricCriteriaResponse'
        createdAt:
          type: string
          format: date-time
          example: '2023-11-07T05:31:56Z'
          description: Created date for the rubric
        modifiedAt:
          type: string
          format: date-time
          example: '2023-11-07T05:31:56Z'
          description: Modified date of the rubric
    403Response:
      type: object
      properties:
        detail:
          type: string
          example: Token has expired
    RubricCriteriaResponse:
      type: object
      properties:
        id:
          type: string
          example: d102b0ff-1111-4235-b8e9-764ef03c57cb
          description: Unique ID of the rubric criteria
        name:
          type: string
          example: Confidence & fluency in speaking
          description: Name of the rubric criteria
        maxScore:
          type: string
          example: 5 Star
          description: Maximum score for the rubric criteria
        minScore:
          type: string
          example: 1 Star
          description: Minimum score for the rubric criteria
        scoringLogic:
          type: array
          items:
            type: object
            properties:
              score:
                type: string
                example: 5 Star
                description: Score for the rubric criteria
              scoringLogic:
                type: string
                example: >-
                  Speaking: Reflects poise & confidence. Great body language,
                  eye contact.
                description: Scoring logic for the rubric criteria
        createdAt:
          type: string
          format: date-time
          example: '2025-03-27T11:34:53.172550Z'
          description: Created date for the rubric criteria
        modifiedAt:
          type: string
          format: date-time
          example: '2025-03-27T11:35:17.739952Z'
          description: Modified date of the rubric criteria
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````