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 experiment details.
Goal
View experiment configuration and results.
Context
Called to inspect experiment status.
Source Definition
import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
export const GetExperimentContract = defineQuery({
meta: {
key: 'experiment.get',
version: '1.0.0',
stability: 'stable',
owners: ['platform.feature-flags'],
tags: ['feature-flags', 'experiment', 'get'],
description: 'Get experiment details.',
goal: 'View experiment configuration and results.',
context: 'Called to inspect experiment status.',
},
io: {
input: GetExperimentInput,
output: ExperimentModel,
errors: {
EXPERIMENT_NOT_FOUND: {
description: 'Experiment does not exist',
http: 404,
gqlCode: 'EXPERIMENT_NOT_FOUND',
when: 'Experiment ID is invalid',
},
},
},
policy: {
auth: 'user',
},
});