---
title: "GET /api/v1/document/textunits/"
method: GET
path: "/api/v1/document/textunits/"
tags: ["document", "v1"]
---

# GET /api/v1/document/textunits/

`GET /api/v1/document/textunits/`

TextUnit List

## Query parameters

- `q` string

## Response `200`

- TextUnitDjangoQL[]
  - `id` integer
  - `unit_type` string, required
  - `text` string, nullable
  - `project_id` string
  - `project_name` string, required
  - `document_id` string
  - `document_name` string, required

## Changes

> 5 revisions in range; 1 could not be searched.

- **2022-02-09** `3f71684c9cff` — 1 breaking, 1 info
  - the response property `items/text` became nullable for the status `200`
  - the response optional property `items/text` became not read-only for the status `200`
- **2020-12-11** `0957c4a7ae3d` — 1 info
  - the response optional property `items/text` became read-only for the status `200`

[Change history](https://skmtc.dev/lexpredict/apis/contraxsuite-api/changes/api/v1/document/textunits/get.md)

---

[API](https://skmtc.dev/lexpredict/apis/contraxsuite-api.md) · [All operations](https://skmtc.dev/lexpredict/apis/contraxsuite-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lexpredict/contraxsuite-api/revisions/3429f921b4cb/schema)
