---
title: "List all CWEs"
method: GET
path: "/cwe/"
tags: ["cwe"]
---

# List all CWEs

`GET /cwe/`

## Query parameters

- `vuln_id` string
- `page` integer
- `per_page` integer

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- CWEsList[]
  - `metadata` Metadata
    - `count` integer — Total number of the items of the data.
    - `page` integer — Number of the page.
    - `per_page` integer — Requested limit data.
  - `data` CWE[] — List of CWEs.
    - `@ID` string, required — CWE ID
    - `@Name` string, required — Name of the CWE
    - `@Abstraction` string, required — Abstraction of the CWE
    - `@Structure` string, required — Structure of the CWE
    - `@Status` string, required — Status of the CWE
    - `Description` string, required — Description of the CWE
    - `Related_Weaknesses` RelatedWeaknesses
      - `Related_Weakness` RelatedWeakness[] — List of related weaknesses
        - `@Nature` string, required — Nature of the relationship
        - `@CWE_ID` string, required — CWE ID of the related weakness
        - `@View_ID` string, required — View ID of the related weakness
        - `@Ordinal` string, required — Ordinal of the relationship
    - `Potential_Mitigations` Mitigations
      - `Mitigation` Mitigation[] — List of potential mitigations
        - `@Mitigation_ID` string, required — Id of the mitigation
        - `Description` string, required — Description of the mitigation

---

[API](https://skmtc.net/vulnerability-lookup/apis/vulnerability-lookup-api.md) · [All operations](https://skmtc.net/vulnerability-lookup/apis/vulnerability-lookup-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vulnerability-lookup/vulnerability-lookup-api/versions/e6ef25beb687/schema)
