---
title: "Metric by year grid of a submission"
method: GET
path: "/v1/submissions/{documentId}/matrix"
tags: ["Reinsurance Submission"]
---

# Metric by year grid of a submission

`GET /v1/submissions/{documentId}/matrix`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/submissions/{documentId}/matrix`
- Auth: HTTP bearer

Facts per metric and year, every metric of the structure included (an empty row is a gap), with the one figure each cell stands for and how it was arrived at. A derived `Loss ratio` row comes first when incurred and earned premium both have a figure for a year.

## Path parameters

- `documentId` string, uuid, required

## Query parameters

- `spec_id` string, uuid, required

## Response `200`

The grid.

- object
  - `data` SubmissionMatrix
    - `years` string[]: Years found, ascending.
    - `rows` object[]
      - `metric` string
      - `family` 'premium' | 'losses' | 'exposure' | 'cat' | 'rates' | 'other' | 'ratio'
      - `in_format` boolean
      - `facts` integer
      - `years` object: Facts per year; the key `""` collects facts with no period.
      - `values` object: The figure each year stands for, by year.
      - `failed` string[]: Years with a failed check on one of their facts.
      - `formula` string: Derived rows (the loss ratio): how they are computed.

## Other responses

- `400`: The request is invalid.
- `404`: The target structure is not the workspace's.

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/submissions/:documentId/matrix/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
