---
title: "Doc form data"
method: GET
path: "/v1/document/forms/fields"
tags: ["Capture"]
---

# Doc form data

`GET /v1/document/forms/fields`

Get field data for all <<glossary:Form>>s captured in a <<glossary:Document>>.

---

A detailed description of the response can be found on the [form data](https://docs.ocrolus.com/docs/form-data) data type definition.

## Query parameters

- `doc_uuid` string
- `pk` string

## Response `200`

200

- object
  - `status` integer — A numerical code that indicates the status of the request.
  - `response` object — An object received from the server that potentially contains data.
    - `pk` integer — Unique primary key for the <<glossary:Book>>.
    - `uuid` string — Universally unique identifier (UUID) for the <<glossary:Book>>.
    - `forms` object[] — An array of forms that have been found in this <<glossary:Document>>.
      - `pk` integer — Unique primary key for the form.
      - `uuid` string — Universally unique identifier (UUID) for the form.
      - `form_type` string — The Document type of the form.
      - `form_config_pk` integer — Unique primary key for the form config.
      - `tables` unknown[] — An array of tables associated with the form.
        - unknown
      - `raw_fields` object — An object containing data related to the data captured from the form. This may vary amongst different form types.
        - `examplefield:field_name` object — Information recorded from the uploaded Document.
          - `value` string — The recorded value found in the field.
          - `is_empty` boolean — Describes if the field contains information.
          - `alias_used` string — Alias used for the field.
          - `source_filename` string — The source of the information recorded in the field.
          - `confidence` number — The confidence score associated with this field.
  - `message` string — A textual description that indicates details about this response's status.

## Other responses

- `400` — Client Errors

---

[API](https://skmtc.net/ocrolus/apis/user-management.md) · [All operations](https://skmtc.net/ocrolus/apis/user-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ocrolus/user-management/revisions/3571ef602d13/schema)
