Skip to main content
GET
/
api
/
v1
/
assignment-grader
/
get
/
{id}
Get a graded assignment by ID
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://studyfetchapi.com/api/v1/assignment-grader/get/{id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "_id": "<string>",
  "title": "<string>",
  "grade": 123,
  "rubric": {
    "attemptFeedback": "<string>",
    "criteria": [
      {
        "title": "<string>",
        "pointsAwarded": 123,
        "pointsPossible": 123,
        "feedback": "<string>",
        "description": "<string>"
      }
    ]
  },
  "organizationId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "__v": 123,
  "userId": "<string>",
  "materialId": "<string>",
  "textToGrade": "<string>",
  "rubricTemplateId": "<string>",
  "assignmentId": "<string>",
  "studentIdentifier": "<string>",
  "assignmentContent": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://www.studyfetch.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API Key for server-to-server authentication. Resolves to the owning organization.

Path Parameters

id
string
required

Assignment grader document ID

Response

Assignment grader retrieved

_id
string
required

Assignment grader ID

title
string
required

Assignment title

grade
number
required

Overall percentage (0-100), rounded to nearest whole number

rubric
object
required

Grading results with per-criterion scores and feedback

organizationId
string
required

Owning organization ID

createdAt
string<date-time>
required

Creation timestamp

updatedAt
string<date-time>
required

Update timestamp

__v
number
required

Mongoose version key

userId
string | null

User who triggered the grading (null for API-key auth)

materialId
string

Material that was graded (mutually exclusive with textToGrade)

textToGrade
string

Raw text that was graded

rubricTemplateId
string

Rubric template used (if any)

assignmentId
string

Grouping tag for educator reports

studentIdentifier
string

Student email or ID

assignmentContent
string

Source material the AI used as the authoritative reference