---
title: "Get All Schemas"
method: GET
path: "/Schemas"
tags: ["Schemas"]
---

# Get All Schemas

`GET /Schemas`

## Request

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

Gets all Lucid resource schemas.

## Response `200`

OK. Returns a JSON object containing a list of Schemas.

- GetAllSchemas
  - `schemas` string[]
  - `totalResults` integer: The total number of schemas to be returned.
  - `startIndex` integer: The index of the first schema in the "Resources" list (for paginated results).
  - `itemsPerPage` integer: The maximum number of schemas returned in the "Resources" list (for paginated results).
  - `Resources` Schema[]: The list of schemas returned by the query.
    - `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.

---

[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)
