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 a job by ID.
Goal
Check job status and result.
Context
Called to poll job status or retrieve results.
Source Definition
import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
export const GetJobContract = defineQuery({
meta: {
key: 'jobs.get',
version: '1.0.0',
stability: 'stable',
owners: ['platform.jobs'],
tags: ['jobs', 'get'],
description: 'Get a job by ID.',
goal: 'Check job status and result.',
context: 'Called to poll job status or retrieve results.',
},
io: {
input: GetJobInput,
output: JobModel,
},
policy: {
auth: 'user',
},
});