---
title: "Get Schema"
method: GET
path: "/Schemas/{id}"
tags: ["Schemas"]
---

# Get Schema

`GET /Schemas/{id}`

## Request

- Base URL: `https://users.lucid.app/scim/v2`
- URL: `https://users.lucid.app/scim/v2/Schemas/{id}`
- Auth: HTTP bearer

Get a specific Lucid resource schema.

## Path parameters

- `id` string, required

## Response `200`

OK. Returns a Schema.

- Schema
  - `schemas` string[]
  - `id` string: The id of the schema resource.
  - `name` string: The name of the schema resource.
  - `description` string: The description of the schema resource.
  - `attributes` Attribute[]
    - `name` string: The name of the attribute.
    - `type` 'string' | 'boolean' | 'decimal' | 'integer' | 'dateTime' | 'reference' | 'complex': What the type of the attribute is.
    - `multiValued` boolean: Indicates whether the attribute can have multiple values.
    - `description` string: Description for the associated attribute.
    - `required` boolean: Whether or not the attribute is required.
    - `caseExact` boolean: If the attribute is case sensitive.
    - `mutability` 'readOnly' | 'readWrite' | 'immutable' | 'writeOnly'
    - `returned` 'always' | 'never' | 'default' | 'request'
    - `uniqueness` 'none' | 'server' | 'global'
    - `subAttributes` SubAttribute[]: Defines nested attributes for complex attribute types.
      - `name` string: The name of the attribute.
      - `type` 'string' | 'boolean' | 'decimal' | 'integer' | 'dateTime' | 'reference' | 'complex': What the type of the attribute is.
      - `multiValued` boolean: Indicates whether the attribute can have multiple values.
      - `description` string: Description for the associated attribute.
      - `required` boolean: Whether or not the attribute is required.
      - `caseExact` boolean: If the attribute is case sensitive.
      - `mutability` 'readOnly' | 'readWrite' | 'immutable' | 'writeOnly'
      - `returned` 'always' | 'never' | 'default' | 'request'
      - `uniqueness` 'none' | 'server' | 'global'
  - `meta` object

## Other responses

- `401`: Unauthorized. Occurs if the bearer token is invalid.
- `404`: Not Found. Occurs if the schema was not found.

---

[API](https://skmtc.dev/lucid/apis/lucid-scim-api.md) - [All operations](https://skmtc.dev/lucid/apis/lucid-scim-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lucid/apis/lucid-scim-api/revisions/840cb3f88aa6?raw)
