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.
List user conversations.
Goal
List conversations
Context
Chat History
Source Definition
import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
import {
ChatConversationModel,
ListConversationsOutputModel,
SendMessageInputModel,
SendMessageOutputModel,
} from './schema';
export const ListConversationsContract = defineQuery({
meta: {
key: 'ai-chat.conversations.list',
version: '1.0.0',
owners: ['@ai-team'],
stability: 'experimental',
description: 'List user conversations.',
tags: ['chat', 'list'],
goal: 'List conversations',
context: 'Chat History',
},
io: {
input: defineSchemaModel({ name: 'VoidInput', fields: {} }),
output: ListConversationsOutputModel,
},
policy: { auth: 'user' },
});