Skip to main content
Glama
schema.ts1.4 kB
import { z } from 'zod'; import { defaultProject } from '../../../utils/environment'; export const GetPipelineTimelineSchema = z.object({ projectId: z .string() .optional() .describe(`The ID or name of the project (Default: ${defaultProject})`), runId: z.number().int().min(1).describe('Run identifier'), timelineId: z .string() .optional() .describe( 'Optional timeline identifier to select a specific timeline record', ), pipelineId: z .number() .int() .min(1) .optional() .describe('Optional pipeline numeric ID for reference only'), state: z .union([ z.enum(['pending', 'inProgress', 'completed']), z.array(z.enum(['pending', 'inProgress', 'completed'])), ]) .optional() .describe( 'Optional state filter (single value or array) applied to returned timeline records', ), result: z .union([ z.enum([ 'succeeded', 'succeededWithIssues', 'failed', 'canceled', 'skipped', 'abandoned', ]), z.array( z.enum([ 'succeeded', 'succeededWithIssues', 'failed', 'canceled', 'skipped', 'abandoned', ]), ), ]) .optional() .describe( 'Optional result filter (single value or array) applied to returned timeline records', ), });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tiberriver256/mcp-server-azure-devops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server