---
title: "Get the JSON representation of the document"
method: GET
path: "/json/{id}"
tags: ["Output"]
---

# Get the JSON representation of the document

`GET /json/{id}`

## Path parameters

- `id` string, required

## Response `200`

Ok

- Json
  - `metadata` object[]
    - `id` number
    - `order` number
  - `pages` object[]
    - `pageNumber` number
    - `box` Box
      - `l` number
      - `t` number
      - `w` number
      - `h` number
    - `elements` Element[]
      - `id` number
      - `type` 'character' | 'drawing' | 'heading' | 'image' | 'list' | 'paragraph' | 'table' | 'table-cell' | 'table-row' | 'word' | 'line' | 'barcode'
      - `box` Box
        - `l` number
        - `t` number
        - `w` number
        - `h` number
      - `content` Element[]
  - `fonts` object[]
    - `id` number
    - `name` string
    - `size` number

## Other responses

- `404` — Not Found

---

[API](https://skmtc.dev/axa-group/apis/parsr-api.md) · [All operations](https://skmtc.dev/axa-group/apis/parsr-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/axa-group/parsr-api/revisions/6f6ba1b0f06a/schema)
