OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Get organization details.
Goal
Retrieve organization information.
Context
Called when viewing organization settings or dashboard.
Source Definition
import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
import { SuccessResultModel } from './user';
export const GetOrgContract = defineQuery({
meta: {
key: 'identity.org.get',
version: '1.0.0',
stability: 'stable',
owners: ['platform.identity-rbac'],
tags: ['identity', 'org', 'get'],
description: 'Get organization details.',
goal: 'Retrieve organization information.',
context: 'Called when viewing organization settings or dashboard.',
},
io: {
input: GetOrgInputModel,
output: OrganizationModel,
},
policy: {
auth: 'user',
},
});