Skip to content
StudyFetch API

Assignment Grader

Get a rubric template by ID

OpenAPI specification
GET/api/v1/assignment-grader/rubric-templates/{id}

Authentication

x-api-key

Request

curl --globoff --request GET \
  --url 'https://api.example.com/api/v1/assignment-grader/rubric-templates/%3Cid%3E' \
  --header 'x-api-key: <API_KEY>'

Replace credential and <field> placeholders with your own values. URL placeholders appear as %3Cfield%3E. Review the example values before sending your request.

Replace https://api.example.com with the API server URL.

Parameters

idpath · string · required

Rubric template ID

Responses

200Rubric template retrieved
{
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Template ID"
    },
    "name": {
      "type": "string",
      "description": "Template name"
    },
    "description": {
      "type": "string",
      "description": "Template description"
    },
    "assignmentContent": {
      "type": "string",
      "description": "Assignment content/context provided for grading"
    },
    "criteria": {
      "description": "Grading criteria",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Title of the criterion"
          },
          "description": {
            "type": "string",
            "description": "Description of the criterion"
          },
          "pointsPossible": {
            "type": "number",
            "description": "Points possible for this criterion"
          }
        },
        "required": [
          "title",
          "pointsPossible"
        ]
      }
    },
    "organizationId": {
      "type": "string",
      "description": "Organization ID"
    },
    "createdBy": {
      "type": "string",
      "description": "Created by user ID"
    },
    "createdAt": {
      "format": "date-time",
      "type": "string",
      "description": "Creation timestamp"
    },
    "updatedAt": {
      "format": "date-time",
      "type": "string",
      "description": "Update timestamp"
    }
  },
  "required": [
    "_id",
    "name",
    "criteria",
    "organizationId",
    "createdBy",
    "createdAt",
    "updatedAt"
  ]
}