> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Check if one type is a subtype of another

> **Required scope:** read

**Required scope:** `read`

### Path parameters

<ParamField path="subtype" type="string" required>
  Subtype name
</ParamField>

<ParamField path="supertype" type="string" required>
  Supertype name
</ParamField>

### Response

Returns `boolean`.

<Note>
  The spec this page is generated from declares this response as an untyped object — the server
  returns JSON, but its shape is not published. Read a live response to see the fields; treat any
  field you find as unversioned until the spec names it.
</Note>

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | Subtype check result                               |
| `401` | Unauthorized — missing or invalid credentials      |
| `403` | Forbidden — the key/token lacks the required scope |
| `429` | Rate limited — see Retry-After / X-RateLimit-Reset |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.nsr.stateset.com/api/v1/types/subtypes/{subtype}/{supertype}' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  true
  ```
</ResponseExample>
