Skip to content
StudyFetch API

Assignment Grader

Get an assignment grader by ID

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

Authentication

x-api-key

Request

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

Responses

200Assignment grader retrieved
{
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Assignment grader ID"
    },
    "title": {
      "type": "string",
      "description": "Assignment title"
    },
    "grade": {
      "type": "number",
      "description": "Overall grade percentage"
    },
    "rubric": {
      "type": "object",
      "description": "Grading results"
    },
    "organizationId": {
      "type": "string",
      "description": "Organization ID"
    },
    "userId": {
      "type": "string",
      "description": "User ID"
    },
    "materialId": {
      "type": "string",
      "description": "Material ID"
    },
    "textToGrade": {
      "type": "string",
      "description": "Text that was graded"
    },
    "rubricTemplateId": {
      "type": "string",
      "description": "Rubric template ID"
    },
    "assignmentId": {
      "type": "string",
      "description": "Assignment ID for grouping"
    },
    "studentIdentifier": {
      "type": "string",
      "description": "Student identifier"
    },
    "assignmentContent": {
      "type": "string",
      "description": "Assignment content/context provided for grading"
    },
    "gradingPromptVersion": {
      "type": "string",
      "description": "Grading prompt version used for this submission",
      "example": "default"
    },
    "createdAt": {
      "format": "date-time",
      "type": "string",
      "description": "Creation timestamp"
    },
    "updatedAt": {
      "format": "date-time",
      "type": "string",
      "description": "Update timestamp"
    },
    "__v": {
      "type": "number",
      "description": "Version key"
    }
  },
  "required": [
    "_id",
    "title",
    "grade",
    "rubric",
    "organizationId",
    "createdAt",
    "updatedAt",
    "__v"
  ]
}