# Retrieve the user schema Retrieves the user attribute schema for the tenant. This includes all fields configured in the admin console for the user schema. Endpoint: GET /blaize/schema/users Version: 2025-07-30 Security: CookieBlaizeSession, JwtQuery, JwtHeaderXBlaizeJwt, JwtHeaderXZephrJwt, JwtBearer, JwtCookie ## Response 200 fields (application/json): - `tenantId` (string) Example: "company" - `subTenantId` (string) Example: "company|demo" - `slug` (string) The unique identifier for the schema field. Example: "first-name" - `visibility` (any) The visibility of the schema field. This is used to determine who can see the field. By default, all fields are PUBLIC. Those fields are visible to all users. Enum: "PUBLIC" - `context` (string) The context of the schema field. It is used to group fields together into different contexts. By default, all fields are used in the null context. Example: "ZUORA_BILLING" - `label` (string) Example: "First Name" - `required` (boolean) Example: true - `internal-description` (string) Example: "The first name of the user" - `public-description` (string) Example: "The first name of the user" - `validation-expression` (string) Example: "[a-z]+$" - `input-type` (any) Enum: "text", "color", "number", "range", "time", "datetime-local", "date", "week", "month", "email", "tel", "url", "password", "select", "checkbox", "radio", "textarea", "hidden" - `select-options` (array) Example: "[ {key1: value1}, {key2: value2} ]" - `select-options.value` (string) - `select-options.default` (boolean) - `range-start` (number) - `range-end` (number) Example: 100 - `range-step` (number) Example: 1 - `decision-point` (boolean) The decision point of the schema field. It determines whether the field is used in the decision engine. If set to true, this field will be evaluated by the decision engine to influence the outcome of decisions. For example, a field marked as a decision point might be used to grant or deny access to a specific feature. Example: true - `publicly-writable` (boolean) Example: true - `form-use` (boolean) ## Response 401 fields