---
title: "List the schemas of a class"
method: GET
path: "/api/workspaces/{workspaceName}/classes/{classUUID}/schemas"
tags: ["class"]
---

# List the schemas of a class

`GET /api/workspaces/{workspaceName}/classes/{classUUID}/schemas`

## Request

- The document declares no server URL.
- Auth: none declared

Lists all graphs of the dataset and tells for each of them whether the class is defined there. The uuid is either the one of a class in one of the graphs, or the one of its merged class.

## Path parameters

- `workspaceName` string, required
- `classUUID` string, required

## Headers

- `Origin` string

## Response `200`

OK

- ClassSchemaOccurrenceDTO[]
  - `classUUID` string, uuid
  - `keyword` string
  - `label` string
  - `present` boolean
  - `schemaName` string
  - `stub` ClassStubDTO
    - `comment` string
    - `label` string
    - `packageLabel` string
    - `packageUri` string
    - `stereotypes` string[]
    - `superClassUri` string

## Changes

- **2026-11-23** `91d142ef001a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/workspaces/:workspaceName/classes/:classUUID/schemas/get.md)

---

[API](https://skmtc.dev/soptim/apis/rdfarchitect-backend.md) - [All operations](https://skmtc.dev/soptim/apis/rdfarchitect-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8?raw)
