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.

jobs.get

Get a job by ID.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: stable
  • Owners: platform.jobs
  • Tags: jobs, get
  • File: packages/libs/jobs/src/contracts/index.ts
  • Check job status and result.

    field.key.label
    jobs.get
    field.version.label
    1.0.0
    field.type.label
    operation (query)
    field.title.label
    jobs.get
    field.description.label

    Get a job by ID.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: stable
  • Owners: platform.jobs
  • Tags: jobs, get
  • File: packages/libs/jobs/src/contracts/index.ts
  • Check job status and result.

    field.tags.label
    jobs,get
    field.owners.label
    platform.jobs
    field.stability.label
    stable

    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',
    	},
    });