## Get a rubric

**get** `/v5/rubrics/{rubric_id}`

Retrieve a single rubric with the full detail of its current criteria.

Returns the latest version of the rubric along with all of its current
(latest-version) criteria in full — not the slim title/weight summary returned
by the list endpoint. Archived rubrics remain retrievable through this
endpoint even though they are hidden from the list endpoint.

### Path Parameters

- `rubric_id: string`

### Returns

- `RubricResponse object { id, created_at, created_by, 7 more }`

  - `id: string`

  - `created_at: string`

  - `created_by: Identity`

    The identity that created the entity.

    - `id: string`

    - `type: "user" or "service_account"`

      - `"user"`

      - `"service_account"`

    - `object: optional "identity"`

      - `"identity"`

  - `tags: array of string`

    The tags associated with the entity

  - `title: string`

  - `version: number`

  - `archived_at: optional string`

  - `criteria: optional array of RubricCriteriaResponse or RubricCriteriaSummaryResponse`

    Full criteria on get, summary (title + weight) on list

    - `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`

    - `RubricCriteriaSummaryResponse object { title, weight }`

      Slim criteria projection for list endpoints (title + weight only).

      - `title: string`

      - `weight: optional number`

  - `object: optional "rubric"`

    - `"rubric"`

  - `updated_at: optional string`

### Example

```http
curl https://api.egp.scale.com/v5/rubrics/$RUBRIC_ID \
    -H "x-api-key: $SGP_API_KEY"
```

#### Response

```json
{
  "id": "id",
  "created_at": "2019-12-27T18:11:19.117Z",
  "created_by": {
    "id": "id",
    "type": "user",
    "object": "identity"
  },
  "tags": [
    "string"
  ],
  "title": "title",
  "version": 0,
  "archived_at": "2019-12-27T18:11:19.117Z",
  "criteria": [
    {
      "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
    }
  ],
  "object": "rubric",
  "updated_at": "2019-12-27T18:11:19.117Z"
}
```
