> ## 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

>  Fetches the details of a specific rubric using its unique ID.   This includes basic metadata like name and description, as well as an array of associated criteria with scoring logic.


 **Key Notes:** 
 - `id` must be a valid UUID of an existing rubric. 
 - Authentication is required via Bearer Token. 
 - If the rubric is not found, a `404` error is returned. 

 **Use Cases:** 
 - Display rubric information in the frontend UI. 
 - Load criteria for scoring assignments or assessments. 
 - Pull rubric data into admin dashboards. 

 **Response includes:** 
 - `id`: Unique ID of the rubric. 
 - `name`, `description` 
 - `rubricCriteria`: Array of criteria with scoring logic. 
 - `createdAt`, `modifiedAt` timestamps. 

 



## OpenAPI

````yaml GET /rubrics/v1/rubric/{id}/
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}/:
    get:
      tags:
        - Rubrics
      summary: Get Rubric
      operationId: getRubric
      parameters:
        - name: id
          in: path
          required: true
          description: Unique identifier for the rubric.
          schema:
            type: string
      responses:
        '200':
          description: Rubric retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateRubricResponse'
        '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:
    CreateRubricResponse:
      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
          example: []
          description: List of rubric criteria
        createdAt:
          type: string
          description: Created date for the rubric
          format: date-time
        modifiedAt:
          type: string
          description: Modified date of the rubric
          format: date-time
    403Response:
      type: object
      properties:
        detail:
          type: string
          example: Token has expired
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````