@sentry/api 0.391.0 → 0.393.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4946,6 +4946,83 @@ export declare function createSentryClient(config?: Config): {
4946
4946
  totalCost: number;
4947
4947
  }>;
4948
4948
  } | null;
4949
+ } | {
4950
+ conversationId: string;
4951
+ title: string | null;
4952
+ projects: Array<{
4953
+ id: number;
4954
+ name: string;
4955
+ slug: string;
4956
+ }>;
4957
+ webUrl: string;
4958
+ stats: {
4959
+ endTimestamp: number;
4960
+ errors: number;
4961
+ generationDuration: number;
4962
+ inputTokens: number;
4963
+ llmCalls: number;
4964
+ outputTokens: number;
4965
+ startTimestamp: number;
4966
+ toolCalls: number;
4967
+ toolErrors: number;
4968
+ toolNames: Array<string>;
4969
+ totalCost: number;
4970
+ totalTokens: number;
4971
+ cacheReadTokens: number;
4972
+ cacheWriteTokens: number;
4973
+ errorToolNames: Array<string>;
4974
+ reasoningTokens: number;
4975
+ cacheReadCost: number;
4976
+ cacheWriteCost: number;
4977
+ reasoningCost: number;
4978
+ usageByModel: Array<{
4979
+ model: string | null;
4980
+ llmCalls: number;
4981
+ inputTokens: number;
4982
+ outputTokens: number;
4983
+ totalTokens: number;
4984
+ cacheReadTokens: number;
4985
+ cacheWriteTokens: number;
4986
+ reasoningTokens: number;
4987
+ inputCost: number;
4988
+ outputCost: number;
4989
+ cacheReadCost: number;
4990
+ cacheWriteCost: number;
4991
+ reasoningCost: number;
4992
+ totalCost: number;
4993
+ }>;
4994
+ } | null;
4995
+ transcript: Array<{
4996
+ id: string;
4997
+ role: "user" | "assistant" | "embedding" | "evaluation" | "memory";
4998
+ content: string;
4999
+ timestamp: number;
5000
+ nodeId: string;
5001
+ traceId?: string;
5002
+ projectId?: string;
5003
+ userEmail?: string;
5004
+ reasoning?: string;
5005
+ agentName?: string;
5006
+ modelName?: string;
5007
+ duration?: number;
5008
+ toolCalls?: Array<{
5009
+ name: string;
5010
+ nodeId: string;
5011
+ hasError: boolean;
5012
+ duration?: number;
5013
+ }>;
5014
+ embeddingInput?: string;
5015
+ embeddingTokens?: number;
5016
+ embeddingHasError?: boolean;
5017
+ evaluation?: {
5018
+ [key: string]: unknown;
5019
+ };
5020
+ memory?: {
5021
+ [key: string]: unknown;
5022
+ };
5023
+ }>;
5024
+ complete: boolean;
5025
+ sourceSpanCount: number;
4949
5026
  }>>;
4950
5027
  };
4951
5028
  readonly paginateAll: {
@@ -1473,6 +1473,10 @@ export type CustomInboundFilter = {
1473
1473
  * When the filter was last changed.
1474
1474
  */
1475
1475
  readonly dateUpdated: string;
1476
+ /**
1477
+ * Set on a filter that holds one of the filter lists of the project settings, to the id its outcomes are reported under. Such a filter keeps its data type and its one condition: only the name, the active flag and the condition values can change, and deleting it empties the list.
1478
+ */
1479
+ readonly legacyFilter: string | null;
1476
1480
  /**
1477
1481
  * A human-readable label for the filter.
1478
1482
  */
@@ -10032,9 +10036,6 @@ export type RepositorySettings = {
10032
10036
  */
10033
10037
  codeReviewTriggers?: Array<'on_new_commit' | 'on_ready_for_review'>;
10034
10038
  };
10035
- /**
10036
- * Span page plus conversation-level metadata.
10037
- */
10038
10039
  export type RetrieveOrganizationAiConversationResponse = {
10039
10040
  conversationId: string;
10040
10041
  title: string | null;
@@ -10084,6 +10085,83 @@ export type RetrieveOrganizationAiConversationResponse = {
10084
10085
  totalCost: number;
10085
10086
  }>;
10086
10087
  } | null;
10088
+ } | {
10089
+ conversationId: string;
10090
+ title: string | null;
10091
+ projects: Array<{
10092
+ id: number;
10093
+ name: string;
10094
+ slug: string;
10095
+ }>;
10096
+ webUrl: string;
10097
+ stats: {
10098
+ endTimestamp: number;
10099
+ errors: number;
10100
+ generationDuration: number;
10101
+ inputTokens: number;
10102
+ llmCalls: number;
10103
+ outputTokens: number;
10104
+ startTimestamp: number;
10105
+ toolCalls: number;
10106
+ toolErrors: number;
10107
+ toolNames: Array<string>;
10108
+ totalCost: number;
10109
+ totalTokens: number;
10110
+ cacheReadTokens: number;
10111
+ cacheWriteTokens: number;
10112
+ errorToolNames: Array<string>;
10113
+ reasoningTokens: number;
10114
+ cacheReadCost: number;
10115
+ cacheWriteCost: number;
10116
+ reasoningCost: number;
10117
+ usageByModel: Array<{
10118
+ model: string | null;
10119
+ llmCalls: number;
10120
+ inputTokens: number;
10121
+ outputTokens: number;
10122
+ totalTokens: number;
10123
+ cacheReadTokens: number;
10124
+ cacheWriteTokens: number;
10125
+ reasoningTokens: number;
10126
+ inputCost: number;
10127
+ outputCost: number;
10128
+ cacheReadCost: number;
10129
+ cacheWriteCost: number;
10130
+ reasoningCost: number;
10131
+ totalCost: number;
10132
+ }>;
10133
+ } | null;
10134
+ transcript: Array<{
10135
+ id: string;
10136
+ role: 'user' | 'assistant' | 'embedding' | 'evaluation' | 'memory';
10137
+ content: string;
10138
+ timestamp: number;
10139
+ nodeId: string;
10140
+ traceId?: string;
10141
+ projectId?: string;
10142
+ userEmail?: string;
10143
+ reasoning?: string;
10144
+ agentName?: string;
10145
+ modelName?: string;
10146
+ duration?: number;
10147
+ toolCalls?: Array<{
10148
+ name: string;
10149
+ nodeId: string;
10150
+ hasError: boolean;
10151
+ duration?: number;
10152
+ }>;
10153
+ embeddingInput?: string;
10154
+ embeddingTokens?: number;
10155
+ embeddingHasError?: boolean;
10156
+ evaluation?: {
10157
+ [key: string]: unknown;
10158
+ };
10159
+ memory?: {
10160
+ [key: string]: unknown;
10161
+ };
10162
+ }>;
10163
+ complete: boolean;
10164
+ sourceSpanCount: number;
10087
10165
  };
10088
10166
  export type ScimListResourceTypesResponse = {
10089
10167
  schemas: Array<string>;
@@ -13419,6 +13497,10 @@ export type RetrieveOrganizationAiConversationData = {
13419
13497
  * Number of spans to return per page. Defaults to 100; maximum is 1,000.
13420
13498
  */
13421
13499
  per_page?: number;
13500
+ /**
13501
+ * Defaults to timeline (paginated raw spans). Transcript returns paginated normalized messages; requires feature access. Transcript timestamps and durations are seconds.
13502
+ */
13503
+ view?: 'timeline' | 'transcript';
13422
13504
  };
13423
13505
  url: '/api/0/organizations/{organization_id_or_slug}/agents/conversations/{conversation_id}/';
13424
13506
  };
@@ -13441,9 +13523,6 @@ export type RetrieveOrganizationAiConversationErrors = {
13441
13523
  404: unknown;
13442
13524
  };
13443
13525
  export type RetrieveOrganizationAiConversationResponses = {
13444
- /**
13445
- * Span page plus conversation-level metadata.
13446
- */
13447
13526
  200: {
13448
13527
  conversationId: string;
13449
13528
  title: string | null;
@@ -13493,6 +13572,83 @@ export type RetrieveOrganizationAiConversationResponses = {
13493
13572
  totalCost: number;
13494
13573
  }>;
13495
13574
  } | null;
13575
+ } | {
13576
+ conversationId: string;
13577
+ title: string | null;
13578
+ projects: Array<{
13579
+ id: number;
13580
+ name: string;
13581
+ slug: string;
13582
+ }>;
13583
+ webUrl: string;
13584
+ stats: {
13585
+ endTimestamp: number;
13586
+ errors: number;
13587
+ generationDuration: number;
13588
+ inputTokens: number;
13589
+ llmCalls: number;
13590
+ outputTokens: number;
13591
+ startTimestamp: number;
13592
+ toolCalls: number;
13593
+ toolErrors: number;
13594
+ toolNames: Array<string>;
13595
+ totalCost: number;
13596
+ totalTokens: number;
13597
+ cacheReadTokens: number;
13598
+ cacheWriteTokens: number;
13599
+ errorToolNames: Array<string>;
13600
+ reasoningTokens: number;
13601
+ cacheReadCost: number;
13602
+ cacheWriteCost: number;
13603
+ reasoningCost: number;
13604
+ usageByModel: Array<{
13605
+ model: string | null;
13606
+ llmCalls: number;
13607
+ inputTokens: number;
13608
+ outputTokens: number;
13609
+ totalTokens: number;
13610
+ cacheReadTokens: number;
13611
+ cacheWriteTokens: number;
13612
+ reasoningTokens: number;
13613
+ inputCost: number;
13614
+ outputCost: number;
13615
+ cacheReadCost: number;
13616
+ cacheWriteCost: number;
13617
+ reasoningCost: number;
13618
+ totalCost: number;
13619
+ }>;
13620
+ } | null;
13621
+ transcript: Array<{
13622
+ id: string;
13623
+ role: 'user' | 'assistant' | 'embedding' | 'evaluation' | 'memory';
13624
+ content: string;
13625
+ timestamp: number;
13626
+ nodeId: string;
13627
+ traceId?: string;
13628
+ projectId?: string;
13629
+ userEmail?: string;
13630
+ reasoning?: string;
13631
+ agentName?: string;
13632
+ modelName?: string;
13633
+ duration?: number;
13634
+ toolCalls?: Array<{
13635
+ name: string;
13636
+ nodeId: string;
13637
+ hasError: boolean;
13638
+ duration?: number;
13639
+ }>;
13640
+ embeddingInput?: string;
13641
+ embeddingTokens?: number;
13642
+ embeddingHasError?: boolean;
13643
+ evaluation?: {
13644
+ [key: string]: unknown;
13645
+ };
13646
+ memory?: {
13647
+ [key: string]: unknown;
13648
+ };
13649
+ }>;
13650
+ complete: boolean;
13651
+ sourceSpanCount: number;
13496
13652
  };
13497
13653
  };
13498
13654
  export type RetrieveOrganizationAiConversationResponse2 = RetrieveOrganizationAiConversationResponses[keyof RetrieveOrganizationAiConversationResponses];
@@ -31274,6 +31430,10 @@ export type ListProjectCustomInboundFiltersResponses = {
31274
31430
  * When the filter was last changed.
31275
31431
  */
31276
31432
  readonly dateUpdated: string;
31433
+ /**
31434
+ * Set on a filter that holds one of the filter lists of the project settings, to the id its outcomes are reported under. Such a filter keeps its data type and its one condition: only the name, the active flag and the condition values can change, and deleting it empties the list.
31435
+ */
31436
+ readonly legacyFilter: string | null;
31277
31437
  /**
31278
31438
  * A human-readable label for the filter.
31279
31439
  */
@@ -31349,6 +31509,10 @@ export type CreateProjectCustomInboundFilterData = {
31349
31509
  * When the filter was last changed.
31350
31510
  */
31351
31511
  readonly dateUpdated: string;
31512
+ /**
31513
+ * Set on a filter that holds one of the filter lists of the project settings, to the id its outcomes are reported under. Such a filter keeps its data type and its one condition: only the name, the active flag and the condition values can change, and deleting it empties the list.
31514
+ */
31515
+ readonly legacyFilter: string | null;
31352
31516
  /**
31353
31517
  * A human-readable label for the filter.
31354
31518
  */
@@ -31449,6 +31613,10 @@ export type CreateProjectCustomInboundFilterResponses = {
31449
31613
  * When the filter was last changed.
31450
31614
  */
31451
31615
  readonly dateUpdated: string;
31616
+ /**
31617
+ * Set on a filter that holds one of the filter lists of the project settings, to the id its outcomes are reported under. Such a filter keeps its data type and its one condition: only the name, the active flag and the condition values can change, and deleting it empties the list.
31618
+ */
31619
+ readonly legacyFilter: string | null;
31452
31620
  /**
31453
31621
  * A human-readable label for the filter.
31454
31622
  */
@@ -31597,6 +31765,10 @@ export type GetProjectCustomInboundFilterResponses = {
31597
31765
  * When the filter was last changed.
31598
31766
  */
31599
31767
  readonly dateUpdated: string;
31768
+ /**
31769
+ * Set on a filter that holds one of the filter lists of the project settings, to the id its outcomes are reported under. Such a filter keeps its data type and its one condition: only the name, the active flag and the condition values can change, and deleting it empties the list.
31770
+ */
31771
+ readonly legacyFilter: string | null;
31600
31772
  /**
31601
31773
  * A human-readable label for the filter.
31602
31774
  */
@@ -31672,6 +31844,10 @@ export type UpdateProjectCustomInboundFilterData = {
31672
31844
  * When the filter was last changed.
31673
31845
  */
31674
31846
  readonly dateUpdated: string;
31847
+ /**
31848
+ * Set on a filter that holds one of the filter lists of the project settings, to the id its outcomes are reported under. Such a filter keeps its data type and its one condition: only the name, the active flag and the condition values can change, and deleting it empties the list.
31849
+ */
31850
+ readonly legacyFilter: string | null;
31675
31851
  /**
31676
31852
  * A human-readable label for the filter.
31677
31853
  */
@@ -31776,6 +31952,10 @@ export type UpdateProjectCustomInboundFilterResponses = {
31776
31952
  * When the filter was last changed.
31777
31953
  */
31778
31954
  readonly dateUpdated: string;
31955
+ /**
31956
+ * Set on a filter that holds one of the filter lists of the project settings, to the id its outcomes are reported under. Such a filter keeps its data type and its one condition: only the name, the active flag and the condition values can change, and deleting it empties the list.
31957
+ */
31958
+ readonly legacyFilter: string | null;
31779
31959
  /**
31780
31960
  * A human-readable label for the filter.
31781
31961
  */
@@ -421,6 +421,7 @@ export declare const vCustomInboundFilter: v.ObjectSchema<{
421
421
  }, undefined>, undefined>;
422
422
  readonly dateCreated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
423
423
  readonly dateUpdated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
424
+ readonly legacyFilter: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ReadonlyAction<string>]>, v.NullSchema<undefined>], undefined>, v.ReadonlyAction<string | null>]>;
424
425
  readonly name: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
425
426
  readonly active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
426
427
  }, undefined>;
@@ -6088,10 +6089,7 @@ export declare const vRepositorySettings: v.ObjectSchema<{
6088
6089
  readonly enabledCodeReview: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6089
6090
  readonly codeReviewTriggers: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["on_new_commit", "on_ready_for_review"], undefined>, undefined>, undefined>;
6090
6091
  }, undefined>;
6091
- /**
6092
- * Span page plus conversation-level metadata.
6093
- */
6094
- export declare const vRetrieveOrganizationAiConversationResponse: v.ObjectSchema<{
6092
+ export declare const vRetrieveOrganizationAiConversationResponse: v.UnionSchema<[v.ObjectSchema<{
6095
6093
  readonly conversationId: v.StringSchema<undefined>;
6096
6094
  readonly title: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
6097
6095
  readonly projects: v.ArraySchema<v.ObjectSchema<{
@@ -6138,7 +6136,80 @@ export declare const vRetrieveOrganizationAiConversationResponse: v.ObjectSchema
6138
6136
  readonly totalCost: v.NumberSchema<undefined>;
6139
6137
  }, undefined>, undefined>;
6140
6138
  }, undefined>, v.NullSchema<undefined>], undefined>;
6141
- }, undefined>;
6139
+ }, undefined>, v.ObjectSchema<{
6140
+ readonly conversationId: v.StringSchema<undefined>;
6141
+ readonly title: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
6142
+ readonly projects: v.ArraySchema<v.ObjectSchema<{
6143
+ readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6144
+ readonly name: v.StringSchema<undefined>;
6145
+ readonly slug: v.StringSchema<undefined>;
6146
+ }, undefined>, undefined>;
6147
+ readonly webUrl: v.StringSchema<undefined>;
6148
+ readonly stats: v.UnionSchema<[v.ObjectSchema<{
6149
+ readonly endTimestamp: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6150
+ readonly errors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6151
+ readonly generationDuration: v.NumberSchema<undefined>;
6152
+ readonly inputTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6153
+ readonly llmCalls: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6154
+ readonly outputTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6155
+ readonly startTimestamp: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6156
+ readonly toolCalls: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6157
+ readonly toolErrors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6158
+ readonly toolNames: v.ArraySchema<v.StringSchema<undefined>, undefined>;
6159
+ readonly totalCost: v.NumberSchema<undefined>;
6160
+ readonly totalTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6161
+ readonly cacheReadTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6162
+ readonly cacheWriteTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6163
+ readonly errorToolNames: v.ArraySchema<v.StringSchema<undefined>, undefined>;
6164
+ readonly reasoningTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6165
+ readonly cacheReadCost: v.NumberSchema<undefined>;
6166
+ readonly cacheWriteCost: v.NumberSchema<undefined>;
6167
+ readonly reasoningCost: v.NumberSchema<undefined>;
6168
+ readonly usageByModel: v.ArraySchema<v.ObjectSchema<{
6169
+ readonly model: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
6170
+ readonly llmCalls: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6171
+ readonly inputTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6172
+ readonly outputTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6173
+ readonly totalTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6174
+ readonly cacheReadTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6175
+ readonly cacheWriteTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6176
+ readonly reasoningTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6177
+ readonly inputCost: v.NumberSchema<undefined>;
6178
+ readonly outputCost: v.NumberSchema<undefined>;
6179
+ readonly cacheReadCost: v.NumberSchema<undefined>;
6180
+ readonly cacheWriteCost: v.NumberSchema<undefined>;
6181
+ readonly reasoningCost: v.NumberSchema<undefined>;
6182
+ readonly totalCost: v.NumberSchema<undefined>;
6183
+ }, undefined>, undefined>;
6184
+ }, undefined>, v.NullSchema<undefined>], undefined>;
6185
+ readonly transcript: v.ArraySchema<v.ObjectSchema<{
6186
+ readonly id: v.StringSchema<undefined>;
6187
+ readonly role: v.PicklistSchema<["user", "assistant", "embedding", "evaluation", "memory"], undefined>;
6188
+ readonly content: v.StringSchema<undefined>;
6189
+ readonly timestamp: v.NumberSchema<undefined>;
6190
+ readonly nodeId: v.StringSchema<undefined>;
6191
+ readonly traceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6192
+ readonly projectId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6193
+ readonly userEmail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6194
+ readonly reasoning: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6195
+ readonly agentName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6196
+ readonly modelName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6197
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
6198
+ readonly toolCalls: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
6199
+ readonly name: v.StringSchema<undefined>;
6200
+ readonly nodeId: v.StringSchema<undefined>;
6201
+ readonly hasError: v.BooleanSchema<undefined>;
6202
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
6203
+ }, undefined>, undefined>, undefined>;
6204
+ readonly embeddingInput: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6205
+ readonly embeddingTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
6206
+ readonly embeddingHasError: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6207
+ readonly evaluation: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
6208
+ readonly memory: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
6209
+ }, undefined>, undefined>;
6210
+ readonly complete: v.BooleanSchema<undefined>;
6211
+ readonly sourceSpanCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6212
+ }, undefined>], undefined>;
6142
6213
  export declare const vScimListResourceTypesResponse: v.ObjectSchema<{
6143
6214
  readonly schemas: v.ArraySchema<v.StringSchema<undefined>, undefined>;
6144
6215
  readonly totalResults: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
@@ -7757,12 +7828,10 @@ export declare const vRetrieveOrganizationAiConversationData: v.ObjectSchema<{
7757
7828
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
7758
7829
  readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
7759
7830
  readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
7831
+ readonly view: v.OptionalSchema<v.PicklistSchema<["timeline", "transcript"], undefined>, undefined>;
7760
7832
  }, undefined>, undefined>;
7761
7833
  }, undefined>;
7762
- /**
7763
- * Span page plus conversation-level metadata.
7764
- */
7765
- export declare const vRetrieveOrganizationAiConversationResponse2: v.ObjectSchema<{
7834
+ export declare const vRetrieveOrganizationAiConversationResponse2: v.UnionSchema<[v.ObjectSchema<{
7766
7835
  readonly conversationId: v.StringSchema<undefined>;
7767
7836
  readonly title: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
7768
7837
  readonly projects: v.ArraySchema<v.ObjectSchema<{
@@ -7809,7 +7878,80 @@ export declare const vRetrieveOrganizationAiConversationResponse2: v.ObjectSchem
7809
7878
  readonly totalCost: v.NumberSchema<undefined>;
7810
7879
  }, undefined>, undefined>;
7811
7880
  }, undefined>, v.NullSchema<undefined>], undefined>;
7812
- }, undefined>;
7881
+ }, undefined>, v.ObjectSchema<{
7882
+ readonly conversationId: v.StringSchema<undefined>;
7883
+ readonly title: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
7884
+ readonly projects: v.ArraySchema<v.ObjectSchema<{
7885
+ readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7886
+ readonly name: v.StringSchema<undefined>;
7887
+ readonly slug: v.StringSchema<undefined>;
7888
+ }, undefined>, undefined>;
7889
+ readonly webUrl: v.StringSchema<undefined>;
7890
+ readonly stats: v.UnionSchema<[v.ObjectSchema<{
7891
+ readonly endTimestamp: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7892
+ readonly errors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7893
+ readonly generationDuration: v.NumberSchema<undefined>;
7894
+ readonly inputTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7895
+ readonly llmCalls: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7896
+ readonly outputTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7897
+ readonly startTimestamp: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7898
+ readonly toolCalls: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7899
+ readonly toolErrors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7900
+ readonly toolNames: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7901
+ readonly totalCost: v.NumberSchema<undefined>;
7902
+ readonly totalTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7903
+ readonly cacheReadTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7904
+ readonly cacheWriteTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7905
+ readonly errorToolNames: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7906
+ readonly reasoningTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7907
+ readonly cacheReadCost: v.NumberSchema<undefined>;
7908
+ readonly cacheWriteCost: v.NumberSchema<undefined>;
7909
+ readonly reasoningCost: v.NumberSchema<undefined>;
7910
+ readonly usageByModel: v.ArraySchema<v.ObjectSchema<{
7911
+ readonly model: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
7912
+ readonly llmCalls: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7913
+ readonly inputTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7914
+ readonly outputTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7915
+ readonly totalTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7916
+ readonly cacheReadTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7917
+ readonly cacheWriteTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7918
+ readonly reasoningTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7919
+ readonly inputCost: v.NumberSchema<undefined>;
7920
+ readonly outputCost: v.NumberSchema<undefined>;
7921
+ readonly cacheReadCost: v.NumberSchema<undefined>;
7922
+ readonly cacheWriteCost: v.NumberSchema<undefined>;
7923
+ readonly reasoningCost: v.NumberSchema<undefined>;
7924
+ readonly totalCost: v.NumberSchema<undefined>;
7925
+ }, undefined>, undefined>;
7926
+ }, undefined>, v.NullSchema<undefined>], undefined>;
7927
+ readonly transcript: v.ArraySchema<v.ObjectSchema<{
7928
+ readonly id: v.StringSchema<undefined>;
7929
+ readonly role: v.PicklistSchema<["user", "assistant", "embedding", "evaluation", "memory"], undefined>;
7930
+ readonly content: v.StringSchema<undefined>;
7931
+ readonly timestamp: v.NumberSchema<undefined>;
7932
+ readonly nodeId: v.StringSchema<undefined>;
7933
+ readonly traceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7934
+ readonly projectId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7935
+ readonly userEmail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7936
+ readonly reasoning: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7937
+ readonly agentName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7938
+ readonly modelName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7939
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
7940
+ readonly toolCalls: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
7941
+ readonly name: v.StringSchema<undefined>;
7942
+ readonly nodeId: v.StringSchema<undefined>;
7943
+ readonly hasError: v.BooleanSchema<undefined>;
7944
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
7945
+ }, undefined>, undefined>, undefined>;
7946
+ readonly embeddingInput: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7947
+ readonly embeddingTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
7948
+ readonly embeddingHasError: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7949
+ readonly evaluation: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
7950
+ readonly memory: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
7951
+ }, undefined>, undefined>;
7952
+ readonly complete: v.BooleanSchema<undefined>;
7953
+ readonly sourceSpanCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7954
+ }, undefined>], undefined>;
7813
7955
  export declare const vListOrganizationCodeMappingsData: v.ObjectSchema<{
7814
7956
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
7815
7957
  readonly path: v.ObjectSchema<{
@@ -15336,6 +15478,7 @@ export declare const vListProjectCustomInboundFiltersResponse: v.ArraySchema<v.O
15336
15478
  }, undefined>, undefined>;
15337
15479
  readonly dateCreated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15338
15480
  readonly dateUpdated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15481
+ readonly legacyFilter: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ReadonlyAction<string>]>, v.NullSchema<undefined>], undefined>, v.ReadonlyAction<string | null>]>;
15339
15482
  readonly name: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
15340
15483
  readonly active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
15341
15484
  }, undefined>, undefined>;
@@ -15350,6 +15493,7 @@ export declare const vCreateProjectCustomInboundFilterData: v.ObjectSchema<{
15350
15493
  }, undefined>, undefined>;
15351
15494
  readonly dateCreated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15352
15495
  readonly dateUpdated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15496
+ readonly legacyFilter: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ReadonlyAction<string>]>, v.NullSchema<undefined>], undefined>, v.ReadonlyAction<string | null>]>;
15353
15497
  readonly name: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
15354
15498
  readonly active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
15355
15499
  }, undefined>;
@@ -15369,6 +15513,7 @@ export declare const vCreateProjectCustomInboundFilterResponse: v.ObjectSchema<{
15369
15513
  }, undefined>, undefined>;
15370
15514
  readonly dateCreated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15371
15515
  readonly dateUpdated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15516
+ readonly legacyFilter: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ReadonlyAction<string>]>, v.NullSchema<undefined>], undefined>, v.ReadonlyAction<string | null>]>;
15372
15517
  readonly name: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
15373
15518
  readonly active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
15374
15519
  }, undefined>;
@@ -15404,6 +15549,7 @@ export declare const vGetProjectCustomInboundFilterResponse: v.ObjectSchema<{
15404
15549
  }, undefined>, undefined>;
15405
15550
  readonly dateCreated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15406
15551
  readonly dateUpdated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15552
+ readonly legacyFilter: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ReadonlyAction<string>]>, v.NullSchema<undefined>], undefined>, v.ReadonlyAction<string | null>]>;
15407
15553
  readonly name: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
15408
15554
  readonly active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
15409
15555
  }, undefined>;
@@ -15418,6 +15564,7 @@ export declare const vUpdateProjectCustomInboundFilterData: v.ObjectSchema<{
15418
15564
  }, undefined>, undefined>;
15419
15565
  readonly dateCreated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15420
15566
  readonly dateUpdated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15567
+ readonly legacyFilter: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ReadonlyAction<string>]>, v.NullSchema<undefined>], undefined>, v.ReadonlyAction<string | null>]>;
15421
15568
  readonly name: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
15422
15569
  readonly active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
15423
15570
  }, undefined>;
@@ -15438,6 +15585,7 @@ export declare const vUpdateProjectCustomInboundFilterResponse: v.ObjectSchema<{
15438
15585
  }, undefined>, undefined>;
15439
15586
  readonly dateCreated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15440
15587
  readonly dateUpdated: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.ReadonlyAction<string>]>;
15588
+ readonly legacyFilter: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ReadonlyAction<string>]>, v.NullSchema<undefined>], undefined>, v.ReadonlyAction<string | null>]>;
15441
15589
  readonly name: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
15442
15590
  readonly active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
15443
15591
  }, undefined>;