Skip to content
StudyFetch API

Assignment Grader

Get all rubric templates

OpenAPI specification
GET/api/v1/assignment-grader/rubric-templates

Authentication

x-api-key

Request

curl --globoff --request GET \
  --url 'https://api.example.com/api/v1/assignment-grader/rubric-templates' \
  --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.

Responses

200All rubric templates retrieved
{
  "type": "array",
  "items": {
    "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"
    ]
  }
}