---
title: "Get a module's full schema"
method: GET
path: "/modules/{moduleSlug}"
tags: ["Modules"]
---

# Get a module's full schema

`GET /modules/{moduleSlug}`

## Request

- Base URL: `https://api.getcoherence.io/v1`
- URL: `https://api.getcoherence.io/v1/modules/{moduleSlug}`
- Auth: HTTP bearer

Returns the module plus its fields, views, and references. Account-scoped. Requires the `workspace:read` scope.

## Response `200`

Module schema

- object
  - `module` object
  - `fields` Field[]
    - `key` string
    - `label` string
    - `type` string
    - `required` boolean
  - `views` object[]
  - `references` object[]

## Other responses

- `401`: Authentication failed or missing.
- `404`: Resource not found.

---

[API](https://skmtc.dev/getcoherence/apis/coherence-api.md) · [All operations](https://skmtc.dev/getcoherence/apis/coherence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getcoherence/apis/coherence-api/revisions/622d56f657b1?raw)
