chore: regenerate openapi.json and schema.d.ts from live server
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 54s
CI / docker (push) Successful in 48s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 36s

Updated types now include attributes on ExecutionDetail, ProcessorNode,
and ExecutionSummary from the actual API. Removed stale detail.children
fallback that no longer exists in the schema.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-26 19:22:55 +01:00
parent 499fd7f8e8
commit 3b31e69ae4
4 changed files with 589 additions and 24 deletions

File diff suppressed because one or more lines are too long

605
ui/src/api/schema.d.ts vendored
View File

@@ -4,6 +4,30 @@
*/
export interface paths {
"/config/{application}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Get application config
* @description Returns the current configuration for an application. Returns defaults if none stored.
*/
get: operations["getConfig"];
/**
* Update application config
* @description Saves config and pushes CONFIG_UPDATE to all LIVE agents of this application
*/
put: operations["updateConfig"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/admin/users/{userId}": {
parameters: {
query?: never;
@@ -68,7 +92,7 @@ export interface paths {
cookie?: never;
};
/** Get OIDC configuration */
get: operations["getConfig"];
get: operations["getConfig_1"];
/** Save OIDC configuration */
put: operations["saveConfig"];
post?: never;
@@ -136,6 +160,26 @@ export interface paths {
patch?: never;
trace?: never;
};
"/data/logs": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Ingest application log entries
* @description Accepts a batch of log entries from an agent. Entries are indexed in OpenSearch.
*/
post: operations["ingestLogs"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/data/executions": {
parameters: {
query?: never;
@@ -176,6 +220,23 @@ export interface paths {
patch?: never;
trace?: never;
};
"/config/{application}/test-expression": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** Test a tap expression against sample data via a live agent */
post: operations["testExpression"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/auth/refresh": {
parameters: {
query?: never;
@@ -278,7 +339,7 @@ export interface paths {
put?: never;
/**
* Send command to a specific agent
* @description Sends a config-update, deep-trace, or replay command to the specified agent
* @description Sends a command to the specified agent via SSE
*/
post: operations["sendCommand"];
delete?: never;
@@ -298,7 +359,7 @@ export interface paths {
put?: never;
/**
* Acknowledge command receipt
* @description Agent acknowledges that it has received and processed a command
* @description Agent acknowledges that it has received and processed a command, with result status and message
*/
post: operations["acknowledgeCommand"];
delete?: never;
@@ -403,6 +464,23 @@ export interface paths {
patch?: never;
trace?: never;
};
"/admin/users/{userId}/password": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** Reset user password */
post: operations["resetPassword"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/admin/users/{userId}/groups/{groupId}": {
parameters: {
query?: never;
@@ -563,6 +641,26 @@ export interface paths {
patch?: never;
trace?: never;
};
"/routes/metrics/processors": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Get processor metrics
* @description Returns aggregated performance metrics per processor for the given route and time window
*/
get: operations["getProcessorMetrics"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/routes/catalog": {
parameters: {
query?: never;
@@ -583,6 +681,26 @@ export interface paths {
patch?: never;
trace?: never;
};
"/logs": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Search application log entries
* @description Returns log entries for a given application, optionally filtered by agent, level, time range, and text query
*/
get: operations["searchLogs"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/executions/{executionId}": {
parameters: {
query?: never;
@@ -657,6 +775,26 @@ export interface paths {
patch?: never;
trace?: never;
};
"/config": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* List all application configs
* @description Returns stored configurations for all applications
*/
get: operations["listConfigs"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/auth/oidc/config": {
parameters: {
query?: never;
@@ -665,7 +803,7 @@ export interface paths {
cookie?: never;
};
/** Get OIDC config for SPA login flow */
get: operations["getConfig_1"];
get: operations["getConfig_2"];
put?: never;
post?: never;
delete?: never;
@@ -714,6 +852,22 @@ export interface paths {
patch?: never;
trace?: never;
};
"/agents/{agentId}/metrics": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get: operations["getMetrics_1"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/agents/events-log": {
parameters: {
query?: never;
@@ -887,6 +1041,23 @@ export interface paths {
patch?: never;
trace?: never;
};
"/admin/database/metrics-pipeline": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Get metrics ingestion pipeline diagnostics */
get: operations["getMetricsPipeline"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/admin/audit": {
parameters: {
query?: never;
@@ -925,6 +1096,41 @@ export interface paths {
export type webhooks = Record<string, never>;
export interface components {
schemas: {
ApplicationConfig: {
application?: string;
/** Format: int32 */
version?: number;
/** Format: date-time */
updatedAt?: string;
engineLevel?: string;
payloadCaptureMode?: string;
metricsEnabled?: boolean;
/** Format: double */
samplingRate?: number;
tracedProcessors?: {
[key: string]: string;
};
logForwardingLevel?: string;
taps?: components["schemas"]["TapDefinition"][];
/** Format: int32 */
tapVersion?: number;
routeRecording?: {
[key: string]: boolean;
};
compressSuccess?: boolean;
};
TapDefinition: {
tapId?: string;
processorId?: string;
target?: string;
expression?: string;
language?: string;
attributeName?: string;
attributeType?: string;
enabled?: boolean;
/** Format: int32 */
version?: number;
};
UpdateUserRequest: {
displayName?: string;
email?: string;
@@ -1103,7 +1309,10 @@ export interface components {
correlationId: string;
errorMessage: string;
diagramContentHash: string;
attributes?: Record<string, string>;
highlight: string;
attributes: {
[key: string]: string;
};
};
SearchResultExecutionSummary: {
data: components["schemas"]["ExecutionSummary"][];
@@ -1114,6 +1323,31 @@ export interface components {
/** Format: int32 */
limit: number;
};
LogBatch: {
entries?: components["schemas"]["LogEntry"][];
};
LogEntry: {
/** Format: date-time */
timestamp?: string;
level?: string;
loggerName?: string;
message?: string;
threadName?: string;
stackTrace?: string;
mdc?: {
[key: string]: string;
};
};
TestExpressionRequest: {
expression?: string;
language?: string;
body?: string;
target?: string;
};
TestExpressionResponse: {
result?: string;
error?: string;
};
RefreshRequest: {
refreshToken?: string;
};
@@ -1154,6 +1388,11 @@ export interface components {
commandId: string;
status: string;
};
CommandAckRequest: {
status?: string;
message?: string;
data?: string;
};
/** @description Agent registration payload */
AgentRegistrationRequest: {
agentId: string;
@@ -1212,6 +1451,9 @@ export interface components {
effectiveRoles?: components["schemas"]["RoleSummary"][];
effectiveGroups?: components["schemas"]["GroupSummary"][];
};
SetPasswordRequest: {
password?: string;
};
CreateRoleRequest: {
name?: string;
description?: string;
@@ -1284,6 +1526,22 @@ export interface components {
throughputPerSec: number;
sparkline: number[];
};
ProcessorMetrics: {
processorId: string;
processorType: string;
routeId: string;
appId: string;
/** Format: int64 */
totalCount: number;
/** Format: int64 */
failedCount: number;
/** Format: double */
avgDurationMs: number;
/** Format: double */
p99DurationMs: number;
/** Format: double */
errorRate: number;
};
/** @description Summary of an agent instance for sidebar display */
AgentSummary: {
id: string;
@@ -1311,10 +1569,26 @@ export interface components {
/** Format: date-time */
lastSeen: string;
};
/** @description Application log entry from OpenSearch */
LogEntryResponse: {
/** @description Log timestamp (ISO-8601) */
timestamp?: string;
/** @description Log level (INFO, WARN, ERROR, DEBUG) */
level?: string;
/** @description Logger name */
loggerName?: string;
/** @description Log message */
message?: string;
/** @description Thread name */
threadName?: string;
/** @description Stack trace (if present) */
stackTrace?: string;
};
ExecutionDetail: {
executionId: string;
routeId: string;
agentId: string;
applicationName: string;
status: string;
/** Format: date-time */
startTime: string;
@@ -1328,13 +1602,13 @@ export interface components {
errorStackTrace: string;
diagramContentHash: string;
processors: components["schemas"]["ProcessorNode"][];
applicationName?: string;
children?: components["schemas"]["ProcessorNode"][];
inputBody?: string;
outputBody?: string;
inputHeaders?: string;
outputHeaders?: string;
attributes?: Record<string, string>;
inputBody: string;
outputBody: string;
inputHeaders: string;
outputHeaders: string;
attributes: {
[key: string]: string;
};
};
ProcessorNode: {
processorId: string;
@@ -1349,8 +1623,10 @@ export interface components {
diagramNodeId: string;
errorMessage: string;
errorStackTrace: string;
attributes: {
[key: string]: string;
};
children: components["schemas"]["ProcessorNode"][];
attributes?: Record<string, string>;
};
DiagramLayout: {
/** Format: double */
@@ -1398,6 +1674,10 @@ export interface components {
registeredAt: string;
/** Format: date-time */
lastHeartbeat: string;
version: string;
capabilities: {
[key: string]: Record<string, never>;
};
/** Format: double */
tps: number;
/** Format: double */
@@ -1413,6 +1693,17 @@ export interface components {
/** Format: int64 */
timeout?: number;
};
AgentMetricsResponse: {
metrics: {
[key: string]: components["schemas"]["MetricBucket"][];
};
};
MetricBucket: {
/** Format: date-time */
time: string;
/** Format: double */
value: number;
};
/** @description Agent lifecycle event */
AgentEventResponse: {
/** Format: int64 */
@@ -1730,7 +2021,7 @@ export interface components {
username?: string;
action?: string;
/** @enum {string} */
category?: "INFRA" | "AUTH" | "USER_MGMT" | "CONFIG" | "RBAC";
category?: "INFRA" | "AUTH" | "USER_MGMT" | "CONFIG" | "RBAC" | "AGENT";
target?: string;
detail?: {
[key: string]: Record<string, never>;
@@ -1749,6 +2040,54 @@ export interface components {
}
export type $defs = Record<string, never>;
export interface operations {
getConfig: {
parameters: {
query?: never;
header?: never;
path: {
application: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Config returned */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["ApplicationConfig"];
};
};
};
};
updateConfig: {
parameters: {
query?: never;
header?: never;
path: {
application: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["ApplicationConfig"];
};
};
responses: {
/** @description Config saved and pushed */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["ApplicationConfig"];
};
};
};
};
getUser: {
parameters: {
query?: never;
@@ -1978,7 +2317,7 @@ export interface operations {
};
};
};
getConfig: {
getConfig_1: {
parameters: {
query?: never;
header?: never;
@@ -2156,7 +2495,7 @@ export interface operations {
routeId?: string;
agentId?: string;
processorType?: string;
group?: string;
application?: string;
offset?: number;
limit?: number;
sortField?: string;
@@ -2223,6 +2562,13 @@ export interface operations {
};
content?: never;
};
/** @description Invalid payload */
400: {
headers: {
[name: string]: unknown;
};
content?: never;
};
/** @description Buffer full, retry later */
503: {
headers: {
@@ -2232,6 +2578,28 @@ export interface operations {
};
};
};
ingestLogs: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["LogBatch"];
};
};
responses: {
/** @description Logs accepted for indexing */
202: {
headers: {
[name: string]: unknown;
};
content?: never;
};
};
};
ingestExecutions: {
parameters: {
query?: never;
@@ -2276,6 +2644,50 @@ export interface operations {
};
};
};
testExpression: {
parameters: {
query?: never;
header?: never;
path: {
application: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["TestExpressionRequest"];
};
};
responses: {
/** @description Expression evaluated successfully */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["TestExpressionResponse"];
};
};
/** @description No live agent available for this application */
404: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["TestExpressionResponse"];
};
};
/** @description Agent did not respond in time */
504: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["TestExpressionResponse"];
};
};
};
};
refresh: {
parameters: {
query?: never;
@@ -2518,7 +2930,11 @@ export interface operations {
};
cookie?: never;
};
requestBody?: never;
requestBody?: {
content: {
"application/json": components["schemas"]["CommandAckRequest"];
};
};
responses: {
/** @description Command acknowledged */
200: {
@@ -2739,6 +3155,30 @@ export interface operations {
};
};
};
resetPassword: {
parameters: {
query?: never;
header?: never;
path: {
userId: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["SetPasswordRequest"];
};
};
responses: {
/** @description Password reset */
204: {
headers: {
[name: string]: unknown;
};
content?: never;
};
};
};
addUserToGroup: {
parameters: {
query?: never;
@@ -3053,9 +3493,37 @@ export interface operations {
};
};
};
getProcessorMetrics: {
parameters: {
query: {
routeId: string;
appId?: string;
from?: string;
to?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Metrics returned */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["ProcessorMetrics"][];
};
};
};
};
getCatalog: {
parameters: {
query?: never;
query?: {
from?: string;
to?: string;
};
header?: never;
path?: never;
cookie?: never;
@@ -3073,6 +3541,35 @@ export interface operations {
};
};
};
searchLogs: {
parameters: {
query: {
application: string;
agentId?: string;
level?: string;
query?: string;
exchangeId?: string;
from?: string;
to?: string;
limit?: number;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["LogEntryResponse"][];
};
};
};
};
getDetail: {
parameters: {
query?: never;
@@ -3204,7 +3701,27 @@ export interface operations {
};
};
};
getConfig_1: {
listConfigs: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Configs returned */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["ApplicationConfig"][];
};
};
};
};
getConfig_2: {
parameters: {
query?: never;
header?: never;
@@ -3308,6 +3825,33 @@ export interface operations {
};
};
};
getMetrics_1: {
parameters: {
query: {
names: string;
from?: string;
to?: string;
buckets?: number;
};
header?: never;
path: {
agentId: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["AgentMetricsResponse"];
};
};
};
};
getEvents: {
parameters: {
query?: {
@@ -3420,6 +3964,7 @@ export interface operations {
page?: number;
size?: number;
search?: string;
prefix?: string;
};
header?: never;
path?: never;
@@ -3518,6 +4063,28 @@ export interface operations {
};
};
};
getMetricsPipeline: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": {
[key: string]: Record<string, never>;
};
};
};
};
};
getAuditLog: {
parameters: {
query?: {

View File

@@ -371,9 +371,7 @@ export default function Dashboard() {
// ─── Detail panel data ───────────────────────────────────────────────────
const procList = detail
? detail.processors?.length
? detail.processors
: (detail.children ?? [])
? (detail.processors ?? [])
: []
const routeFlows = useMemo(() => {

View File

@@ -100,7 +100,7 @@ export default function ExchangeDetail() {
const [replayTab, setReplayTab] = useState('headers')
const procList = detail
? (detail.processors?.length ? detail.processors : (detail.children ?? []))
? (detail.processors ?? [])
: []
// Subscribe to tracing state for badge rendering