## Add a criterion to a rubric

**post** `/v5/rubrics/{rubric_id}/criteria`

Add a single criterion to an existing rubric.

Creates a new criterion at version 1 under the given rubric. Criteria are
versioned independently of the rubric they belong to. The request is rejected
if the target rubric is archived.

### Path Parameters

- `rubric_id: string`

### Body Parameters

- `title: string`

  The Criteria text

- `annotations: optional map[unknown]`

  Free-form metadata for the Criteria

- `weight: optional number`

  Weight multiplier for scoring

### Returns

- `RubricCriteriaResponse object { id, created_at, rubric_id, 5 more }`

  - `id: string`

  - `created_at: string`

  - `rubric_id: string`

  - `title: string`

  - `version: number`

  - `annotations: optional map[unknown]`

  - `object: optional "rubric_criteria"`

    - `"rubric_criteria"`

  - `weight: optional number`

### Example

```http
curl https://api.egp.scale.com/v5/rubrics/$RUBRIC_ID/criteria \
    -H 'Content-Type: application/json' \
    -H "x-api-key: $SGP_API_KEY" \
    -d '{
          "title": "x"
        }'
```

#### Response

```json
{
  "id": "id",
  "created_at": "2019-12-27T18:11:19.117Z",
  "rubric_id": "rubric_id",
  "title": "title",
  "version": 0,
  "annotations": {
    "foo": "bar"
  },
  "object": "rubric_criteria",
  "weight": 0
}
```
