Files
stack/apps/orchestrator/src/api/agents/dto/get-messages-query.dto.ts
T
jason.woltje 4f3a9b9521 feat(orchestrator): add MS23 per-agent message history and SSE stream endpoints
GET /agents/:id/messages - paginated message history
GET /agents/:id/messages/stream - SSE live stream with replay

Partial #693
2026-03-07 11:00:45 -06:00

18 lines
300 B
TypeScript

import { Type } from "class-transformer";
import { IsInt, IsOptional, Max, Min } from "class-validator";
export class GetMessagesQueryDto {
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(1)
@Max(200)
limit = 50;
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(0)
skip = 0;
}