Skip to main content
POST
/
api
/
v1
/
assignment-grader
/
rubric-templates
Create a new rubric template
const options = {
  method: 'POST',
  headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
  body: JSON.stringify({
    name: '<string>',
    criteria: [{title: '<string>', pointsPossible: 123, description: '<string>'}],
    description: '<string>',
    assignmentContent: '<string>'
  })
};

fetch('https://studyfetchapi.com/api/v1/assignment-grader/rubric-templates', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "_id": "<string>",
  "name": "<string>",
  "criteria": [
    {
      "title": "<string>",
      "pointsPossible": 123,
      "description": "<string>"
    }
  ],
  "organizationId": "<string>",
  "createdBy": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "description": "<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.

Body

application/json
name
string
required

Name of the rubric template

criteria
object[]
required

Grading criteria

description
string

Description of the rubric template

assignmentContent
string

Default source material applied to any grading request that uses this template, unless overridden at the request level.

Response

Rubric template created

_id
string
required

Template ID

name
string
required

Template name

criteria
object[]
required

Grading criteria

organizationId
string
required

Owning organization ID

createdBy
string
required

User who created the template

createdAt
string<date-time>
required

Creation timestamp

updatedAt
string<date-time>
required

Update timestamp

description
string

Template description

assignmentContent
string

Default source material attached to this template