---
title: "Get All Document Types"
method: GET
path: "/documents/types"
tags: ["Document"]
---

# Get All Document Types

`GET /documents/types`

## Request

- Base URL: `https://api.renesas.com/web-data/v1`
- URL: `https://api.renesas.com/web-data/v1/documents/types`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/renesas/apis/renesas-web-data-api/docs/documents/types/get.ts> (a function with typed inputs; its response is checked against the schema)

List all available document types and their associated sub-types.

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Successful response

- object
  - `data` DocumentType[]
    - `type` string, required: Document type.
    - `subTypes` string[]: List of sub-types associated with this document type.
  - `pagination` object
    - `offset` integer: The actual offset used
    - `limit` integer: The number of items per page
    - `total` integer: Total number of document types available
    - `has_more` boolean: Whether there are more items available

## Other responses

- `500`: Internal server error

---

[API](https://skmtc.dev/renesas/apis/renesas-web-data-api.md) - [All operations](https://skmtc.dev/renesas/apis/renesas-web-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/renesas/apis/renesas-web-data-api/revisions/4a72e6c49b2c?raw)
