/** * This file was auto-generated by openapi-typescript. * Do not make direct changes to the file. */ export interface paths { "/admin/users/{userId}/roles": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** Update user roles */ put: operations["updateRoles"]; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/admin/oidc": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Get OIDC configuration */ get: operations["getConfig"]; /** Save OIDC configuration */ put: operations["saveConfig"]; post?: never; /** Delete OIDC configuration */ delete: operations["deleteConfig"]; options?: never; head?: never; patch?: never; trace?: never; }; "/search/executions": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Search executions with basic filters */ get: operations["searchGet"]; put?: never; /** Advanced search with all filters */ post: operations["searchPost"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/data/metrics": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Ingest agent metrics * @description Accepts an array of MetricsSnapshot objects */ post: operations["ingestMetrics"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/data/executions": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Ingest route execution data * @description Accepts a single RouteExecution or an array of RouteExecutions */ post: operations["ingestExecutions"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/data/diagrams": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Ingest route diagram data * @description Accepts a single RouteGraph or an array of RouteGraphs */ post: operations["ingestDiagrams"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/refresh": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post: operations["refresh"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oidc/callback": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post: operations["callback"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/login": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post: operations["login"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/agents/{id}/refresh": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Refresh access token * @description Issues a new access JWT from a valid refresh token */ post: operations["refresh_1"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/agents/{id}/heartbeat": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Agent heartbeat ping * @description Updates the agent's last heartbeat timestamp */ post: operations["heartbeat"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/agents/{id}/commands": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Send command to a specific agent * @description Sends a config-update, deep-trace, or replay command to the specified agent */ post: operations["sendCommand"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/agents/{id}/commands/{commandId}/ack": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Acknowledge command receipt * @description Agent acknowledges that it has received and processed a command */ post: operations["acknowledgeCommand"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/agents/register": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Register an agent * @description Registers a new agent or re-registers an existing one. Requires bootstrap token in Authorization header. */ post: operations["register"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/agents/groups/{group}/commands": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Send command to all agents in a group * @description Sends a command to all LIVE agents in the specified group */ post: operations["sendGroupCommand"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/agents/commands": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Broadcast command to all live agents * @description Sends a command to all agents currently in LIVE state */ post: operations["broadcastCommand"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/admin/oidc/test": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Test OIDC provider connectivity */ post: operations["testConnection"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/search/stats": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Aggregate execution stats (P99 latency, active count) */ get: operations["stats"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/search/stats/timeseries": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Bucketed time-series stats over a time window */ get: operations["timeseries"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/executions/{executionId}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Get execution detail with nested processor tree */ get: operations["getDetail"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/executions/{executionId}/processors/{index}/snapshot": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Get exchange snapshot for a specific processor */ get: operations["getProcessorSnapshot"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/diagrams/{contentHash}/render": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Render a route diagram * @description Returns SVG (default) or JSON layout based on Accept header */ get: operations["renderDiagram"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oidc/config": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get: operations["getConfig_1"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/agents": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List all agents * @description Returns all registered agents, optionally filtered by status */ get: operations["listAgents"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/agents/{id}/events": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Open SSE event stream * @description Opens a Server-Sent Events stream for the specified agent. Commands (config-update, deep-trace, replay) are pushed as events. Ping keepalive comments sent every 15 seconds. */ get: operations["events"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/admin/users": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** List all users */ get: operations["listUsers"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/admin/users/{userId}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Get user by ID */ get: operations["getUser"]; put?: never; post?: never; /** Delete user */ delete: operations["deleteUser"]; options?: never; head?: never; patch?: never; trace?: never; }; } export type webhooks = Record; export interface components { schemas: { RolesRequest: { roles?: string[]; }; OidcConfigRequest: { enabled?: boolean; issuerUri?: string; clientId?: string; clientSecret?: string; rolesClaim?: string; defaultRoles?: string[]; autoSignup?: boolean; }; SearchRequest: { status?: string; /** Format: date-time */ timeFrom?: string; /** Format: date-time */ timeTo?: string; /** Format: int64 */ durationMin?: number; /** Format: int64 */ durationMax?: number; correlationId?: string; text?: string; textInBody?: string; textInHeaders?: string; textInErrors?: string; routeId?: string; agentId?: string; processorType?: string; /** Format: int32 */ offset?: number; /** Format: int32 */ limit?: number; }; ExecutionSummary: { executionId?: string; routeId?: string; agentId?: string; status?: string; /** Format: date-time */ startTime?: string; /** Format: date-time */ endTime?: string; /** Format: int64 */ durationMs?: number; correlationId?: string; errorMessage?: string; diagramContentHash?: string; }; SearchResultExecutionSummary: { data?: components["schemas"]["ExecutionSummary"][]; /** Format: int64 */ total?: number; /** Format: int32 */ offset?: number; /** Format: int32 */ limit?: number; }; RefreshRequest: { refreshToken?: string; }; CallbackRequest: { code?: string; redirectUri?: string; }; LoginRequest: { username?: string; password?: string; }; ExecutionStats: { /** Format: int64 */ totalCount?: number; /** Format: int64 */ failedCount?: number; /** Format: int64 */ avgDurationMs?: number; /** Format: int64 */ p99LatencyMs?: number; /** Format: int64 */ activeCount?: number; /** Format: int64 */ totalToday?: number; /** Format: int64 */ prevTotalCount?: number; /** Format: int64 */ prevFailedCount?: number; /** Format: int64 */ prevAvgDurationMs?: number; /** Format: int64 */ prevP99LatencyMs?: number; }; StatsTimeseries: { buckets?: components["schemas"]["TimeseriesBucket"][]; }; TimeseriesBucket: { /** Format: date-time */ time?: string; /** Format: int64 */ totalCount?: number; /** Format: int64 */ failedCount?: number; /** Format: int64 */ avgDurationMs?: number; /** Format: int64 */ p99DurationMs?: number; /** Format: int64 */ activeCount?: number; }; ExecutionDetail: { executionId?: string; routeId?: string; agentId?: string; status?: string; /** Format: date-time */ startTime?: string; /** Format: date-time */ endTime?: string; /** Format: int64 */ durationMs?: number; correlationId?: string; exchangeId?: string; errorMessage?: string; errorStackTrace?: string; diagramContentHash?: string; processors?: components["schemas"]["ProcessorNode"][]; }; ProcessorNode: { processorId?: string; processorType?: string; status?: string; /** Format: date-time */ startTime?: string; /** Format: date-time */ endTime?: string; /** Format: int64 */ durationMs?: number; diagramNodeId?: string; errorMessage?: string; errorStackTrace?: string; }; SseEmitter: { /** Format: int64 */ timeout?: number; }; UserInfo: { userId?: string; provider?: string; email?: string; displayName?: string; roles?: string[]; /** Format: date-time */ createdAt?: string; }; }; responses: never; parameters: never; requestBodies: never; headers: never; pathItems: never; } export type $defs = Record; export interface operations { updateRoles: { parameters: { query?: never; header?: never; path: { userId: string; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["RolesRequest"]; }; }; responses: { /** @description Roles updated */ 200: { headers: { [name: string]: unknown; }; content?: never; }; /** @description User not found */ 404: { headers: { [name: string]: unknown; }; content?: never; }; }; }; getConfig: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Current OIDC configuration (client_secret masked) */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; }; }; saveConfig: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["OidcConfigRequest"]; }; }; responses: { /** @description Configuration saved */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; /** @description Invalid configuration */ 400: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; }; }; deleteConfig: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Configuration deleted */ 204: { headers: { [name: string]: unknown; }; content?: never; }; }; }; searchGet: { parameters: { query?: { status?: string; timeFrom?: string; timeTo?: string; correlationId?: string; text?: string; routeId?: string; agentId?: string; processorType?: string; offset?: number; limit?: number; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": components["schemas"]["SearchResultExecutionSummary"]; }; }; }; }; searchPost: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["SearchRequest"]; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": components["schemas"]["SearchResultExecutionSummary"]; }; }; }; }; ingestMetrics: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": string; }; }; responses: { /** @description Data accepted for processing */ 202: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Buffer full, retry later */ 503: { headers: { [name: string]: unknown; }; content?: never; }; }; }; ingestExecutions: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": string; }; }; responses: { /** @description Data accepted for processing */ 202: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Buffer full, retry later */ 503: { headers: { [name: string]: unknown; }; content?: never; }; }; }; ingestDiagrams: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": string; }; }; responses: { /** @description Data accepted for processing */ 202: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Buffer full, retry later */ 503: { headers: { [name: string]: unknown; }; content?: never; }; }; }; refresh: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["RefreshRequest"]; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; }; }; callback: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["CallbackRequest"]; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; }; }; login: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["LoginRequest"]; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; }; }; refresh_1: { parameters: { query?: never; header?: never; path: { id: string; }; cookie?: never; }; requestBody: { content: { "application/json": string; }; }; responses: { /** @description New access token issued */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; /** @description Invalid or expired refresh token */ 401: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; /** @description Agent not found */ 404: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; }; }; heartbeat: { parameters: { query?: never; header?: never; path: { id: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Heartbeat accepted */ 200: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Agent not registered */ 404: { headers: { [name: string]: unknown; }; content?: never; }; }; }; sendCommand: { parameters: { query?: never; header?: never; path: { id: string; }; cookie?: never; }; requestBody: { content: { "application/json": string; }; }; responses: { /** @description Command accepted */ 202: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; /** @description Invalid command payload */ 400: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; /** @description Agent not registered */ 404: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; }; }; acknowledgeCommand: { parameters: { query?: never; header?: never; path: { id: string; commandId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Command acknowledged */ 200: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Command not found */ 404: { headers: { [name: string]: unknown; }; content?: never; }; }; }; register: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": string; }; }; responses: { /** @description Agent registered successfully */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; /** @description Invalid registration payload */ 400: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; /** @description Missing or invalid bootstrap token */ 401: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; }; }; sendGroupCommand: { parameters: { query?: never; header?: never; path: { group: string; }; cookie?: never; }; requestBody: { content: { "application/json": string; }; }; responses: { /** @description Commands accepted */ 202: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; /** @description Invalid command payload */ 400: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; }; }; broadcastCommand: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": string; }; }; responses: { /** @description Commands accepted */ 202: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; /** @description Invalid command payload */ 400: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; }; }; testConnection: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Provider reachable */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; /** @description Provider unreachable or misconfigured */ 400: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; }; }; stats: { parameters: { query: { from: string; to?: string; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": components["schemas"]["ExecutionStats"]; }; }; }; }; timeseries: { parameters: { query: { from: string; to?: string; buckets?: number; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": components["schemas"]["StatsTimeseries"]; }; }; }; }; getDetail: { parameters: { query?: never; header?: never; path: { executionId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": components["schemas"]["ExecutionDetail"]; }; }; }; }; getProcessorSnapshot: { parameters: { query?: never; header?: never; path: { executionId: string; index: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": { [key: string]: string; }; }; }; }; }; renderDiagram: { parameters: { query?: never; header?: never; path: { contentHash: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Diagram rendered successfully */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; /** @description Diagram not found */ 404: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; }; }; getConfig_1: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": Record; }; }; }; }; listAgents: { parameters: { query?: { status?: string; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Agent list returned */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; /** @description Invalid status filter */ 400: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; }; }; events: { parameters: { query?: never; header?: { /** @description Last received event ID (no replay, acknowledged only) */ "Last-Event-ID"?: string; }; path: { id: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description SSE stream opened */ 200: { headers: { [name: string]: unknown; }; content: { "text/event-stream": components["schemas"]["SseEmitter"]; }; }; /** @description Agent not registered */ 404: { headers: { [name: string]: unknown; }; content: { "text/event-stream": components["schemas"]["SseEmitter"]; }; }; }; }; listUsers: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description User list returned */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": components["schemas"]["UserInfo"][]; }; }; }; }; getUser: { parameters: { query?: never; header?: never; path: { userId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description User found */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": components["schemas"]["UserInfo"]; }; }; /** @description User not found */ 404: { headers: { [name: string]: unknown; }; content: { "*/*": components["schemas"]["UserInfo"]; }; }; }; }; deleteUser: { parameters: { query?: never; header?: never; path: { userId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description User deleted */ 204: { headers: { [name: string]: unknown; }; content?: never; }; }; }; }