Regenerate the SDK for the events time window
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XC2jX6Hdj7pxGGKzBTrbqB
This commit is contained in:
@@ -1179,9 +1179,14 @@ export class ObservabilityService {
|
||||
/**
|
||||
* Read Events
|
||||
* What went wrong, or who changed what. Newest first.
|
||||
*
|
||||
* ``since`` is inclusive and ``until`` exclusive, the same window ``/runs``
|
||||
* takes, so a list can cover the span the charts beside it are drawn from.
|
||||
* @param data The data for the request.
|
||||
* @param data.kind
|
||||
* @param data.flow
|
||||
* @param data.since
|
||||
* @param data.until
|
||||
* @param data.limit
|
||||
* @returns EventRow Successful Response
|
||||
* @throws ApiError
|
||||
@@ -1193,6 +1198,8 @@ export class ObservabilityService {
|
||||
query: {
|
||||
kind: data.kind,
|
||||
flow: data.flow,
|
||||
since: data.since,
|
||||
until: data.until,
|
||||
limit: data.limit
|
||||
},
|
||||
errors: {
|
||||
|
||||
@@ -1083,6 +1083,8 @@ export type ObservabilityReadEventsData = {
|
||||
flow?: (string | null);
|
||||
kind?: 'failure' | 'audit';
|
||||
limit?: number;
|
||||
since?: (string | null);
|
||||
until?: (string | null);
|
||||
};
|
||||
|
||||
export type ObservabilityReadEventsResponse = (Array<EventRow>);
|
||||
|
||||
Reference in New Issue
Block a user