TypeScript SDKAPI ReferenceOperations
QueryAnalyticsData2 - TypeScript SDK
QueryAnalyticsData2 - TypeScript SDK
QueryAnalyticsData2 type definition
Example Usage
1 import { QueryAnalyticsData2 } from "@openrouter/sdk/models/operations"; 2 3 let value: QueryAnalyticsData2 = { 4 data: [ 5 {}, 6 ], 7 metadata: { 8 queryTimeMs: 928.75, 9 rowCount: 203673, 10 truncated: false, 11 }, 12 };
Fields
| Field | Type | Required | Description |
|---|---|---|---|
cachedAt | number | ➖ | N/A |
data | operations.QueryAnalyticsData1[] | ✔️ | N/A |
metadata | operations.Metadata | ✔️ | N/A |
warnings | string[] | ➖ | Warnings about filter resolution issues (e.g. unresolvable api_key_id hashes). The query still runs normally; these inform the caller that some filter values could not be resolved. |