Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

GatewayActivityQuery

Generated from the checked-in source. Do not edit this reference by hand.

SDK source. All SDK types.

TypeScript
export type GatewayActivityQuery = {
limit?: number;
after?: string;
fromMs?: number;
toMs?: number;
sort?: 'time_desc' | 'time_asc' | 'latency_desc' | 'input_desc' | 'output_desc';
modelAlias?: string;
operationId?: string;
httpStatus?: number | 'unknown';
/** Dispatched key or captured requested key for an unsent recorded admission denial; never changes billing attribution. */
apiKeyId?: string;
/** recorded_failure requires saved upstream failure or unsent Gateway denial evidence; unknown execution alone is insufficient. */
status?: 'not_sent' | 'may_have_executed' | 'confirmed_completed' | 'confirmed_not_executed' | 'output_withheld' | 'delivery_failed' | 'recorded_failure';
};