@sentry/api 0.252.0 → 0.254.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.
@@ -357,6 +357,8 @@ export type CommitSerializerResponse = Array<{
357
357
  title: string | null;
358
358
  message: string | null;
359
359
  dateCreated: string;
360
+ mergedAt: string | null;
361
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
360
362
  repository: {
361
363
  url?: string | null;
362
364
  provider?: {
@@ -1127,6 +1129,16 @@ export type ConfigValidator = {
1127
1129
  */
1128
1130
  recovery_threshold?: number | null;
1129
1131
  };
1132
+ export type CreateExternalIssueRequest = {
1133
+ /**
1134
+ * The title of the external issue to create.
1135
+ */
1136
+ title: string;
1137
+ /**
1138
+ * The description (body) of the external issue to create.
1139
+ */
1140
+ description?: string;
1141
+ };
1130
1142
  export type CreateOrganizationReleaseResponse = {
1131
1143
  ref?: string | null;
1132
1144
  url?: string | null;
@@ -1702,7 +1714,7 @@ export type DashboardDetailsModel = {
1702
1714
  [key: string]: number;
1703
1715
  } | null;
1704
1716
  axisRange: string | null;
1705
- legendType: 'default' | 'breakdown';
1717
+ legendType: 'default' | 'breakdown' | null;
1706
1718
  datasetSource: string | null;
1707
1719
  exploreUrls: Array<string> | null;
1708
1720
  changedReason: Array<{
@@ -2165,6 +2177,7 @@ export type DetailedProject = {
2165
2177
  verifySSL: boolean;
2166
2178
  scrubIPAddresses: boolean;
2167
2179
  scrapeJavaScript: boolean;
2180
+ enableAutoReleaseCreation: boolean;
2168
2181
  highlightTags: Array<string>;
2169
2182
  highlightContext: {
2170
2183
  [key: string]: unknown;
@@ -2586,18 +2599,49 @@ export type EventIdLookupResponse = {
2586
2599
  entries: Array<unknown>;
2587
2600
  dist: string | null;
2588
2601
  sdk: {
2589
- [key: string]: string;
2590
- };
2602
+ name: string | null;
2603
+ version: string | null;
2604
+ } | null;
2591
2605
  context: {
2592
2606
  [key: string]: unknown;
2593
2607
  } | null;
2594
2608
  packages: {
2595
2609
  [key: string]: unknown;
2596
2610
  };
2597
- type: string;
2598
- metadata: unknown;
2599
- errors: Array<unknown>;
2600
- occurrence: unknown;
2611
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
2612
+ metadata: {
2613
+ [key: string]: unknown;
2614
+ };
2615
+ errors: Array<{
2616
+ type: string;
2617
+ message: string;
2618
+ data: {
2619
+ [key: string]: unknown;
2620
+ };
2621
+ }>;
2622
+ occurrence: {
2623
+ id: string;
2624
+ projectId: number;
2625
+ eventId: string;
2626
+ fingerprint: Array<string>;
2627
+ issueTitle: string;
2628
+ subtitle: string;
2629
+ resourceId: string | null;
2630
+ evidenceData: {
2631
+ [key: string]: unknown;
2632
+ };
2633
+ evidenceDisplay: Array<{
2634
+ name: string;
2635
+ value: string;
2636
+ important: boolean;
2637
+ }>;
2638
+ type: number;
2639
+ detectionTime: number;
2640
+ level: string | null;
2641
+ culprit: string | null;
2642
+ assignee: string | null;
2643
+ priority: number | null;
2644
+ } | null;
2601
2645
  _meta: {
2602
2646
  [key: string]: unknown;
2603
2647
  };
@@ -2605,11 +2649,26 @@ export type EventIdLookupResponse = {
2605
2649
  culprit?: string | null;
2606
2650
  dateCreated?: string;
2607
2651
  fingerprints?: Array<string>;
2608
- groupingConfig?: unknown;
2609
- startTimestamp?: string;
2610
- endTimestamp?: string;
2611
- measurements?: unknown;
2612
- breakdowns?: unknown;
2652
+ groupingConfig?: {
2653
+ id: string;
2654
+ enhancements: string;
2655
+ };
2656
+ startTimestamp?: number;
2657
+ endTimestamp?: number;
2658
+ measurements?: {
2659
+ [key: string]: {
2660
+ value: number;
2661
+ unit: string | null;
2662
+ };
2663
+ } | null;
2664
+ breakdowns?: {
2665
+ [key: string]: {
2666
+ [key: string]: {
2667
+ value: number;
2668
+ unit: string | null;
2669
+ };
2670
+ };
2671
+ } | null;
2613
2672
  };
2614
2673
  };
2615
2674
  /**
@@ -2668,6 +2727,10 @@ export type ExplorerAutofixRequest = {
2668
2727
  * Referrer identifying where the issue fix was triggered from.
2669
2728
  */
2670
2729
  referrer?: string;
2730
+ /**
2731
+ * Override bash mode tools.
2732
+ */
2733
+ enable_bash_tools?: boolean;
2671
2734
  };
2672
2735
  export type ExternalActor = {
2673
2736
  externalId?: string;
@@ -2678,6 +2741,13 @@ export type ExternalActor = {
2678
2741
  externalName: string;
2679
2742
  integrationId: string;
2680
2743
  };
2744
+ export type ExternalIssueLinkResponse = {
2745
+ id: number;
2746
+ key: string;
2747
+ url: string;
2748
+ integrationId: number;
2749
+ displayName: string;
2750
+ };
2681
2751
  /**
2682
2752
  * Allows parameters to be defined in snake case, but passed as camel case.
2683
2753
  *
@@ -2847,6 +2917,7 @@ export type GetReplay = {
2847
2917
  };
2848
2918
  is_archived?: boolean | null;
2849
2919
  urls?: Array<string> | null;
2920
+ segment_names?: Array<string> | null;
2850
2921
  clicks?: Array<{
2851
2922
  [key: string]: unknown;
2852
2923
  }>;
@@ -2902,6 +2973,17 @@ export type GroupDetailsResponse = {
2902
2973
  userCount?: number;
2903
2974
  firstSeen?: string | null;
2904
2975
  lastSeen?: string | null;
2976
+ derivedData?: {
2977
+ blocker: string;
2978
+ progress: string;
2979
+ status: string;
2980
+ viewCount: number;
2981
+ hasOpenFixPr: boolean;
2982
+ isAssigned: boolean;
2983
+ hasRootCause: boolean;
2984
+ lastCompletedAutofixStep: string;
2985
+ lastProgressedAt: string | null;
2986
+ };
2905
2987
  id: string;
2906
2988
  shareId: string | null;
2907
2989
  shortId: string;
@@ -2909,10 +2991,9 @@ export type GroupDetailsResponse = {
2909
2991
  culprit: string | null;
2910
2992
  permalink: string;
2911
2993
  logger: string | null;
2912
- level: string;
2913
- status: string;
2994
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
2995
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
2914
2996
  statusDetails: {
2915
- autoResolved?: boolean;
2916
2997
  ignoreCount?: number;
2917
2998
  ignoreUntil?: string;
2918
2999
  ignoreUserCount?: number;
@@ -2968,12 +3049,16 @@ export type GroupDetailsResponse = {
2968
3049
  inRelease?: string;
2969
3050
  inCommit?: string;
2970
3051
  pendingEvents?: number;
2971
- info?: unknown;
3052
+ info?: {
3053
+ dateCreated: string;
3054
+ syncCount: number;
3055
+ totalEvents: number;
3056
+ } | null;
2972
3057
  };
2973
- substatus: string | null;
3058
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
2974
3059
  isPublic: boolean;
2975
3060
  platform: string | null;
2976
- priority: string | null;
3061
+ priority: 'low' | 'medium' | 'high' | null;
2977
3062
  priorityLockedAt: string | null;
2978
3063
  seerFixabilityScore: number | null;
2979
3064
  seerAutofixLastTriggered: string | null;
@@ -2984,7 +3069,7 @@ export type GroupDetailsResponse = {
2984
3069
  slug: string;
2985
3070
  platform: string | null;
2986
3071
  };
2987
- type: string;
3072
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
2988
3073
  issueType: string;
2989
3074
  issueCategory: string;
2990
3075
  metadata: {
@@ -3094,7 +3179,7 @@ export type GroupEventsResponseDict = Array<{
3094
3179
  crashFile: string | null;
3095
3180
  metadata: {
3096
3181
  [key: string]: unknown;
3097
- } | null;
3182
+ };
3098
3183
  }>;
3099
3184
  export type GroupExternalIssueResponse = Array<{
3100
3185
  id: string;
@@ -3140,18 +3225,49 @@ export type GroupHashesResponse = Array<{
3140
3225
  entries: Array<unknown>;
3141
3226
  dist: string | null;
3142
3227
  sdk: {
3143
- [key: string]: string;
3144
- };
3228
+ name: string | null;
3229
+ version: string | null;
3230
+ } | null;
3145
3231
  context: {
3146
3232
  [key: string]: unknown;
3147
3233
  } | null;
3148
3234
  packages: {
3149
3235
  [key: string]: unknown;
3150
3236
  };
3151
- type: string;
3152
- metadata: unknown;
3153
- errors: Array<unknown>;
3154
- occurrence: unknown;
3237
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
3238
+ metadata: {
3239
+ [key: string]: unknown;
3240
+ };
3241
+ errors: Array<{
3242
+ type: string;
3243
+ message: string;
3244
+ data: {
3245
+ [key: string]: unknown;
3246
+ };
3247
+ }>;
3248
+ occurrence: {
3249
+ id: string;
3250
+ projectId: number;
3251
+ eventId: string;
3252
+ fingerprint: Array<string>;
3253
+ issueTitle: string;
3254
+ subtitle: string;
3255
+ resourceId: string | null;
3256
+ evidenceData: {
3257
+ [key: string]: unknown;
3258
+ };
3259
+ evidenceDisplay: Array<{
3260
+ name: string;
3261
+ value: string;
3262
+ important: boolean;
3263
+ }>;
3264
+ type: number;
3265
+ detectionTime: number;
3266
+ level: string | null;
3267
+ culprit: string | null;
3268
+ assignee: string | null;
3269
+ priority: number | null;
3270
+ } | null;
3155
3271
  _meta: {
3156
3272
  [key: string]: unknown;
3157
3273
  };
@@ -3159,11 +3275,26 @@ export type GroupHashesResponse = Array<{
3159
3275
  culprit?: string | null;
3160
3276
  dateCreated?: string;
3161
3277
  fingerprints?: Array<string>;
3162
- groupingConfig?: unknown;
3163
- startTimestamp?: string;
3164
- endTimestamp?: string;
3165
- measurements?: unknown;
3166
- breakdowns?: unknown;
3278
+ groupingConfig?: {
3279
+ id: string;
3280
+ enhancements: string;
3281
+ };
3282
+ startTimestamp?: number;
3283
+ endTimestamp?: number;
3284
+ measurements?: {
3285
+ [key: string]: {
3286
+ value: number;
3287
+ unit: string | null;
3288
+ };
3289
+ } | null;
3290
+ breakdowns?: {
3291
+ [key: string]: {
3292
+ [key: string]: {
3293
+ value: number;
3294
+ unit: string | null;
3295
+ };
3296
+ };
3297
+ } | null;
3167
3298
  } | {
3168
3299
  id: string;
3169
3300
  'event.type': string;
@@ -3197,7 +3328,7 @@ export type GroupHashesResponse = Array<{
3197
3328
  crashFile: string | null;
3198
3329
  metadata: {
3199
3330
  [key: string]: unknown;
3200
- } | null;
3331
+ };
3201
3332
  } | {
3202
3333
  [key: string]: unknown;
3203
3334
  } | null;
@@ -3210,6 +3341,17 @@ export type GroupUpdateResponse = {
3210
3341
  userCount?: number;
3211
3342
  firstSeen?: string | null;
3212
3343
  lastSeen?: string | null;
3344
+ derivedData?: {
3345
+ blocker: string;
3346
+ progress: string;
3347
+ status: string;
3348
+ viewCount: number;
3349
+ hasOpenFixPr: boolean;
3350
+ isAssigned: boolean;
3351
+ hasRootCause: boolean;
3352
+ lastCompletedAutofixStep: string;
3353
+ lastProgressedAt: string | null;
3354
+ };
3213
3355
  id: string;
3214
3356
  shareId: string | null;
3215
3357
  shortId: string;
@@ -3217,10 +3359,9 @@ export type GroupUpdateResponse = {
3217
3359
  culprit: string | null;
3218
3360
  permalink: string;
3219
3361
  logger: string | null;
3220
- level: string;
3221
- status: string;
3362
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
3363
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
3222
3364
  statusDetails: {
3223
- autoResolved?: boolean;
3224
3365
  ignoreCount?: number;
3225
3366
  ignoreUntil?: string;
3226
3367
  ignoreUserCount?: number;
@@ -3276,12 +3417,16 @@ export type GroupUpdateResponse = {
3276
3417
  inRelease?: string;
3277
3418
  inCommit?: string;
3278
3419
  pendingEvents?: number;
3279
- info?: unknown;
3420
+ info?: {
3421
+ dateCreated: string;
3422
+ syncCount: number;
3423
+ totalEvents: number;
3424
+ } | null;
3280
3425
  };
3281
- substatus: string | null;
3426
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
3282
3427
  isPublic: boolean;
3283
3428
  platform: string | null;
3284
- priority: string | null;
3429
+ priority: 'low' | 'medium' | 'high' | null;
3285
3430
  priorityLockedAt: string | null;
3286
3431
  seerFixabilityScore: number | null;
3287
3432
  seerAutofixLastTriggered: string | null;
@@ -3292,7 +3437,7 @@ export type GroupUpdateResponse = {
3292
3437
  slug: string;
3293
3438
  platform: string | null;
3294
3439
  };
3295
- type: string;
3440
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
3296
3441
  issueType: string;
3297
3442
  issueCategory: string;
3298
3443
  metadata: {
@@ -3473,6 +3618,33 @@ export type InstallInfoResponse = {
3473
3618
  profileName: string | null;
3474
3619
  codesigningType: string | null;
3475
3620
  };
3621
+ export type IntegrationIssueConfigResponse = {
3622
+ id: string;
3623
+ name: string;
3624
+ icon: string | null;
3625
+ domainName: string | null;
3626
+ accountType: string | null;
3627
+ scopes: Array<string> | null;
3628
+ outOfDate: boolean | null;
3629
+ status: string;
3630
+ provider: {
3631
+ key: string;
3632
+ slug: string;
3633
+ name: string;
3634
+ canAdd: boolean;
3635
+ canDisable: boolean;
3636
+ features: Array<string>;
3637
+ aspects: {
3638
+ [key: string]: unknown;
3639
+ };
3640
+ };
3641
+ linkIssueConfig?: Array<{
3642
+ [key: string]: unknown;
3643
+ }>;
3644
+ createIssueConfig?: Array<{
3645
+ [key: string]: unknown;
3646
+ }>;
3647
+ };
3476
3648
  export type IssueEventDetailsResponse = {
3477
3649
  id: string;
3478
3650
  groupID: string | null;
@@ -3508,18 +3680,49 @@ export type IssueEventDetailsResponse = {
3508
3680
  entries: Array<unknown>;
3509
3681
  dist: string | null;
3510
3682
  sdk: {
3511
- [key: string]: string;
3512
- };
3683
+ name: string | null;
3684
+ version: string | null;
3685
+ } | null;
3513
3686
  context: {
3514
3687
  [key: string]: unknown;
3515
3688
  } | null;
3516
3689
  packages: {
3517
3690
  [key: string]: unknown;
3518
3691
  };
3519
- type: string;
3520
- metadata: unknown;
3521
- errors: Array<unknown>;
3522
- occurrence: unknown;
3692
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
3693
+ metadata: {
3694
+ [key: string]: unknown;
3695
+ };
3696
+ errors: Array<{
3697
+ type: string;
3698
+ message: string;
3699
+ data: {
3700
+ [key: string]: unknown;
3701
+ };
3702
+ }>;
3703
+ occurrence: {
3704
+ id: string;
3705
+ projectId: number;
3706
+ eventId: string;
3707
+ fingerprint: Array<string>;
3708
+ issueTitle: string;
3709
+ subtitle: string;
3710
+ resourceId: string | null;
3711
+ evidenceData: {
3712
+ [key: string]: unknown;
3713
+ };
3714
+ evidenceDisplay: Array<{
3715
+ name: string;
3716
+ value: string;
3717
+ important: boolean;
3718
+ }>;
3719
+ type: number;
3720
+ detectionTime: number;
3721
+ level: string | null;
3722
+ culprit: string | null;
3723
+ assignee: string | null;
3724
+ priority: number | null;
3725
+ } | null;
3523
3726
  _meta: {
3524
3727
  [key: string]: unknown;
3525
3728
  };
@@ -3527,11 +3730,26 @@ export type IssueEventDetailsResponse = {
3527
3730
  culprit?: string | null;
3528
3731
  dateCreated?: string;
3529
3732
  fingerprints?: Array<string>;
3530
- groupingConfig?: unknown;
3531
- startTimestamp?: string;
3532
- endTimestamp?: string;
3533
- measurements?: unknown;
3534
- breakdowns?: unknown;
3733
+ groupingConfig?: {
3734
+ id: string;
3735
+ enhancements: string;
3736
+ };
3737
+ startTimestamp?: number;
3738
+ endTimestamp?: number;
3739
+ measurements?: {
3740
+ [key: string]: {
3741
+ value: number;
3742
+ unit: string | null;
3743
+ };
3744
+ } | null;
3745
+ breakdowns?: {
3746
+ [key: string]: {
3747
+ [key: string]: {
3748
+ value: number;
3749
+ unit: string | null;
3750
+ };
3751
+ };
3752
+ } | null;
3535
3753
  release: {
3536
3754
  id?: number;
3537
3755
  commitCount?: number;
@@ -3606,6 +3824,7 @@ export type LatestBaseSnapshotResponse = {
3606
3824
  image_file_name?: string;
3607
3825
  width?: number;
3608
3826
  height?: number;
3827
+ canvas_theme?: 'light' | 'dark' | null;
3609
3828
  image_url?: string;
3610
3829
  }>;
3611
3830
  diff_threshold?: number | null;
@@ -3740,6 +3959,12 @@ export type Layout = {
3740
3959
  */
3741
3960
  casing: 'lowercase' | 'uppercase' | 'default';
3742
3961
  };
3962
+ export type LinkExternalIssueRequest = {
3963
+ /**
3964
+ * The identifier of the existing external issue to link, as understood by the provider (such as a Jira issue key).
3965
+ */
3966
+ externalIssue: string;
3967
+ };
3743
3968
  /**
3744
3969
  * Allows parameters to be defined in snake case, but passed as camel case.
3745
3970
  *
@@ -3959,7 +4184,7 @@ export type ListOrgMembersResponse = Array<{
3959
4184
  id: string;
3960
4185
  email: string;
3961
4186
  name: string;
3962
- user?: {
4187
+ user: {
3963
4188
  identities?: Array<{
3964
4189
  id: string;
3965
4190
  name: string;
@@ -4004,7 +4229,7 @@ export type ListOrgMembersResponse = Array<{
4004
4229
  email: string;
4005
4230
  is_verified: boolean;
4006
4231
  }>;
4007
- };
4232
+ } | null;
4008
4233
  orgRole: string;
4009
4234
  pending: boolean;
4010
4235
  expired: boolean;
@@ -4182,6 +4407,7 @@ export type ListOrganizationIntegrationResponse = Array<{
4182
4407
  domainName: string | null;
4183
4408
  accountType: string | null;
4184
4409
  scopes: Array<string> | null;
4410
+ outOfDate: boolean | null;
4185
4411
  status: string;
4186
4412
  provider: unknown;
4187
4413
  configOrganization: unknown;
@@ -4204,7 +4430,7 @@ export type ListOrganizationMemberResponse = Array<{
4204
4430
  id: string;
4205
4431
  email: string;
4206
4432
  name: string;
4207
- user?: {
4433
+ user: {
4208
4434
  identities?: Array<{
4209
4435
  id: string;
4210
4436
  name: string;
@@ -4249,7 +4475,7 @@ export type ListOrganizationMemberResponse = Array<{
4249
4475
  email: string;
4250
4476
  is_verified: boolean;
4251
4477
  }>;
4252
- };
4478
+ } | null;
4253
4479
  orgRole: string;
4254
4480
  pending: boolean;
4255
4481
  expired: boolean;
@@ -4274,6 +4500,8 @@ export type ListOrganizationReleaseCommitsResponse = Array<{
4274
4500
  title: string | null;
4275
4501
  message: string | null;
4276
4502
  dateCreated: string;
4503
+ mergedAt: string | null;
4504
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
4277
4505
  repository: {
4278
4506
  url?: string | null;
4279
4507
  provider?: {
@@ -4652,6 +4880,8 @@ export type ListProjectReleaseCommitsResponse = Array<{
4652
4880
  title: string | null;
4653
4881
  message: string | null;
4654
4882
  dateCreated: string;
4883
+ mergedAt: string | null;
4884
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
4655
4885
  repository: {
4656
4886
  url?: string | null;
4657
4887
  provider?: {
@@ -5020,6 +5250,7 @@ export type ListReplays = {
5020
5250
  };
5021
5251
  is_archived?: boolean | null;
5022
5252
  urls?: Array<string> | null;
5253
+ segment_names?: Array<string> | null;
5023
5254
  clicks?: Array<{
5024
5255
  [key: string]: unknown;
5025
5256
  }>;
@@ -5129,22 +5360,19 @@ export type ListTraceItemAttributesResponse = Array<{
5129
5360
  source_type: 'sentry' | 'user';
5130
5361
  is_transformed_alias?: boolean;
5131
5362
  };
5132
- attributeType: 'string' | 'number' | 'boolean';
5363
+ attributeType: 'string' | 'number' | 'boolean' | 'array';
5133
5364
  /**
5134
5365
  * Additional, mostly-static metadata about an attribute.
5135
5366
  *
5136
- * When ``expand=context`` is requested, context is attached to every
5137
- * attribute. Today the metadata is sourced from the sentry conventions
5138
- * (``sentry_conventions.attributes.ATTRIBUTE_METADATA``), matched by attribute
5139
- * name (and type when known) regardless of the attribute's source, so any
5140
- * attribute that maps to a known convention carries that metadata (only the
5141
- * fields actually present are included) while the rest get an empty context.
5142
- * Serving context for custom attributes is planned (gated behind the
5143
- * ``data-browsing-attribute-context`` feature), at which point the empty
5144
- * contexts will start to be populated.
5367
+ * When ``expand=context`` is requested, context is attached to every attribute.
5368
+ * Metadata comes from the sentry conventions, Sentry's own column definitions,
5369
+ * or user-authored context (gated behind ``data-browsing-attribute-context``),
5370
+ * in that precedence order. Only the fields available are included, so an
5371
+ * attribute with no metadata gets an empty context.
5145
5372
  */
5146
5373
  context?: {
5147
5374
  isConvention?: boolean;
5375
+ isCustom?: boolean;
5148
5376
  brief?: string;
5149
5377
  isDeprecated?: boolean;
5150
5378
  details?: Array<string>;
@@ -6421,6 +6649,10 @@ export type OrganizationDetailsPut = {
6421
6649
  trustedRelays?: Array<{
6422
6650
  [key: string]: unknown;
6423
6651
  }>;
6652
+ /**
6653
+ * A Relay base URL to use when displaying Client Key DSNs for this organization.
6654
+ */
6655
+ relayDsnEndpoint?: string | null;
6424
6656
  /**
6425
6657
  * Specify `true` to allow the Sentry Slack integration to post replies in threads for an Issue Alert notification. Requires a Slack integration.
6426
6658
  */
@@ -6483,7 +6715,7 @@ export type OrganizationEventsTimeseriesResponse = {
6483
6715
  comparisonValue?: number;
6484
6716
  sampleCount?: number;
6485
6717
  sampleRate?: number | null;
6486
- confidence?: 'low' | 'high';
6718
+ confidence?: 'low' | 'high' | null;
6487
6719
  incompleteReason?: string;
6488
6720
  }>;
6489
6721
  yAxis: string;
@@ -6511,10 +6743,9 @@ export type OrganizationGroupIndexGetResponse = Array<{
6511
6743
  culprit: string | null;
6512
6744
  permalink: string;
6513
6745
  logger: string | null;
6514
- level: string;
6515
- status: string;
6746
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
6747
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
6516
6748
  statusDetails: {
6517
- autoResolved?: boolean;
6518
6749
  ignoreCount?: number;
6519
6750
  ignoreUntil?: string;
6520
6751
  ignoreUserCount?: number;
@@ -6570,12 +6801,16 @@ export type OrganizationGroupIndexGetResponse = Array<{
6570
6801
  inRelease?: string;
6571
6802
  inCommit?: string;
6572
6803
  pendingEvents?: number;
6573
- info?: unknown;
6804
+ info?: {
6805
+ dateCreated: string;
6806
+ syncCount: number;
6807
+ totalEvents: number;
6808
+ } | null;
6574
6809
  };
6575
- substatus: string | null;
6810
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
6576
6811
  isPublic: boolean;
6577
6812
  platform: string | null;
6578
- priority: string | null;
6813
+ priority: 'low' | 'medium' | 'high' | null;
6579
6814
  priorityLockedAt: string | null;
6580
6815
  seerFixabilityScore: number | null;
6581
6816
  seerAutofixLastTriggered: string | null;
@@ -6586,7 +6821,7 @@ export type OrganizationGroupIndexGetResponse = Array<{
6586
6821
  slug: string;
6587
6822
  platform: string | null;
6588
6823
  };
6589
- type: string;
6824
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
6590
6825
  issueType: string;
6591
6826
  issueCategory: string;
6592
6827
  metadata: {
@@ -6615,6 +6850,17 @@ export type OrganizationGroupIndexGetResponse = Array<{
6615
6850
  userCount: number;
6616
6851
  firstSeen: string | null;
6617
6852
  lastSeen: string | null;
6853
+ derivedData: {
6854
+ blocker: string;
6855
+ progress: string;
6856
+ status: string;
6857
+ viewCount: number;
6858
+ hasOpenFixPr: boolean;
6859
+ isAssigned: boolean;
6860
+ hasRootCause: boolean;
6861
+ lastCompletedAutofixStep: string;
6862
+ lastProgressedAt: string | null;
6863
+ };
6618
6864
  stats: {
6619
6865
  [key: string]: unknown;
6620
6866
  };
@@ -6703,6 +6949,7 @@ export type OrganizationIntegrationResponse = {
6703
6949
  domainName: string | null;
6704
6950
  accountType: string | null;
6705
6951
  scopes: Array<string> | null;
6952
+ outOfDate: boolean | null;
6706
6953
  status: string;
6707
6954
  provider: unknown;
6708
6955
  configOrganization: unknown;
@@ -6725,7 +6972,7 @@ export type OrganizationMember = {
6725
6972
  id: string;
6726
6973
  email: string;
6727
6974
  name: string;
6728
- user?: {
6975
+ user: {
6729
6976
  identities?: Array<{
6730
6977
  id: string;
6731
6978
  name: string;
@@ -6770,7 +7017,7 @@ export type OrganizationMember = {
6770
7017
  email: string;
6771
7018
  is_verified: boolean;
6772
7019
  }>;
6773
- };
7020
+ } | null;
6774
7021
  orgRole: string;
6775
7022
  pending: boolean;
6776
7023
  expired: boolean;
@@ -6871,7 +7118,7 @@ export type OrganizationMemberWithRoles = {
6871
7118
  id: string;
6872
7119
  email: string;
6873
7120
  name: string;
6874
- user?: {
7121
+ user: {
6875
7122
  identities?: Array<{
6876
7123
  id: string;
6877
7124
  name: string;
@@ -6916,7 +7163,7 @@ export type OrganizationMemberWithRoles = {
6916
7163
  email: string;
6917
7164
  is_verified: boolean;
6918
7165
  }>;
6919
- };
7166
+ } | null;
6920
7167
  orgRole: string;
6921
7168
  pending: boolean;
6922
7169
  expired: boolean;
@@ -7084,6 +7331,7 @@ export type OrganizationSentryAppDetailsResponse = Array<{
7084
7331
  photoType: string;
7085
7332
  }>;
7086
7333
  events: Array<string>;
7334
+ webhookEvents: Array<string>;
7087
7335
  featureData: Array<string>;
7088
7336
  isAlertable: boolean;
7089
7337
  metadata: string;
@@ -7176,14 +7424,13 @@ export type OrganizationTraceMetaResponse = {
7176
7424
  export type OrganizationTraceResponse = Array<{
7177
7425
  description: string;
7178
7426
  event_id: string;
7179
- event_type: string;
7180
7427
  project_id: number;
7181
7428
  project_slug: string;
7182
7429
  transaction: string;
7430
+ event_type: 'span';
7183
7431
  children: Array<{
7184
7432
  description: string;
7185
7433
  event_id: string;
7186
- event_type: string;
7187
7434
  project_id: number;
7188
7435
  project_slug: string;
7189
7436
  transaction: string;
@@ -7191,10 +7438,10 @@ export type OrganizationTraceResponse = Array<{
7191
7438
  errors: Array<{
7192
7439
  description: string;
7193
7440
  event_id: string;
7194
- event_type: string;
7195
7441
  project_id: number;
7196
7442
  project_slug: string;
7197
7443
  transaction: string;
7444
+ event_type: 'error' | 'occurrence';
7198
7445
  issue_id: number;
7199
7446
  level: string;
7200
7447
  start_timestamp: number;
@@ -7206,10 +7453,10 @@ export type OrganizationTraceResponse = Array<{
7206
7453
  occurrences: Array<{
7207
7454
  description: string;
7208
7455
  event_id: string;
7209
- event_type: string;
7210
7456
  project_id: number;
7211
7457
  project_slug: string;
7212
7458
  transaction: string;
7459
+ event_type: 'error' | 'occurrence';
7213
7460
  issue_id: number;
7214
7461
  level: string;
7215
7462
  start_timestamp: number;
@@ -7219,15 +7466,15 @@ export type OrganizationTraceResponse = Array<{
7219
7466
  issue_type: number;
7220
7467
  }>;
7221
7468
  duration: number;
7222
- end_timestamp: string;
7469
+ end_timestamp: number;
7223
7470
  measurements: {
7224
- [key: string]: unknown;
7471
+ [key: string]: number;
7225
7472
  };
7226
7473
  browser_web_vital: {
7227
- [key: string]: unknown;
7474
+ [key: string]: number;
7228
7475
  };
7229
7476
  mobile_app_vital: {
7230
- [key: string]: unknown;
7477
+ [key: string]: number;
7231
7478
  };
7232
7479
  op: string;
7233
7480
  name: string;
@@ -7235,7 +7482,7 @@ export type OrganizationTraceResponse = Array<{
7235
7482
  profile_id: string;
7236
7483
  profiler_id: string;
7237
7484
  sdk_name: string;
7238
- start_timestamp: string;
7485
+ start_timestamp: number;
7239
7486
  is_transaction: boolean;
7240
7487
  transaction_id: string;
7241
7488
  additional_attributes?: {
@@ -7244,10 +7491,10 @@ export type OrganizationTraceResponse = Array<{
7244
7491
  } | {
7245
7492
  description: string;
7246
7493
  event_id: string;
7247
- event_type: string;
7248
7494
  project_id: number;
7249
7495
  project_slug: string;
7250
7496
  transaction: string;
7497
+ event_type: 'error' | 'occurrence';
7251
7498
  issue_id: number;
7252
7499
  level: string;
7253
7500
  start_timestamp: number;
@@ -7258,14 +7505,13 @@ export type OrganizationTraceResponse = Array<{
7258
7505
  } | {
7259
7506
  description: string;
7260
7507
  event_id: string;
7261
- event_type: string;
7262
7508
  project_id: number;
7263
7509
  project_slug: string;
7264
7510
  transaction: string;
7511
+ event_type: 'uptime_check';
7265
7512
  children: Array<{
7266
7513
  description: string;
7267
7514
  event_id: string;
7268
- event_type: string;
7269
7515
  project_id: number;
7270
7516
  project_slug: string;
7271
7517
  transaction: string;
@@ -7273,10 +7519,10 @@ export type OrganizationTraceResponse = Array<{
7273
7519
  errors: Array<{
7274
7520
  description: string;
7275
7521
  event_id: string;
7276
- event_type: string;
7277
7522
  project_id: number;
7278
7523
  project_slug: string;
7279
7524
  transaction: string;
7525
+ event_type: 'error' | 'occurrence';
7280
7526
  issue_id: number;
7281
7527
  level: string;
7282
7528
  start_timestamp: number;
@@ -7288,10 +7534,10 @@ export type OrganizationTraceResponse = Array<{
7288
7534
  occurrences: Array<{
7289
7535
  description: string;
7290
7536
  event_id: string;
7291
- event_type: string;
7292
7537
  project_id: number;
7293
7538
  project_slug: string;
7294
7539
  transaction: string;
7540
+ event_type: 'error' | 'occurrence';
7295
7541
  issue_id: number;
7296
7542
  level: string;
7297
7543
  start_timestamp: number;
@@ -7400,6 +7646,7 @@ export type OrganizationWithProjectsAndTeams = {
7400
7646
  scrapeJavaScript: boolean;
7401
7647
  allowJoinRequests: boolean;
7402
7648
  relayPiiConfig: string | null;
7649
+ relayDsnEndpoint: string | null;
7403
7650
  trustedRelays: Array<{
7404
7651
  name?: string;
7405
7652
  description?: string;
@@ -7673,6 +7920,10 @@ export type ProjectAdmin = {
7673
7920
  * E.g. `['release', 'environment']`
7674
7921
  */
7675
7922
  highlightTags?: Array<string>;
7923
+ /**
7924
+ * Automatically create releases from ingested events. When disabled, releases must be created manually (e.g. via the Sentry CLI).
7925
+ */
7926
+ enableAutoReleaseCreation?: boolean;
7676
7927
  /**
7677
7928
  * Enable on-demand source context fetching from SCM integrations for stack traces.
7678
7929
  */
@@ -7713,18 +7964,49 @@ export type ProjectEventDetailsResponse = {
7713
7964
  entries: Array<unknown>;
7714
7965
  dist: string | null;
7715
7966
  sdk: {
7716
- [key: string]: string;
7717
- };
7967
+ name: string | null;
7968
+ version: string | null;
7969
+ } | null;
7718
7970
  context: {
7719
7971
  [key: string]: unknown;
7720
7972
  } | null;
7721
7973
  packages: {
7722
7974
  [key: string]: unknown;
7723
7975
  };
7724
- type: string;
7725
- metadata: unknown;
7726
- errors: Array<unknown>;
7727
- occurrence: unknown;
7976
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
7977
+ metadata: {
7978
+ [key: string]: unknown;
7979
+ };
7980
+ errors: Array<{
7981
+ type: string;
7982
+ message: string;
7983
+ data: {
7984
+ [key: string]: unknown;
7985
+ };
7986
+ }>;
7987
+ occurrence: {
7988
+ id: string;
7989
+ projectId: number;
7990
+ eventId: string;
7991
+ fingerprint: Array<string>;
7992
+ issueTitle: string;
7993
+ subtitle: string;
7994
+ resourceId: string | null;
7995
+ evidenceData: {
7996
+ [key: string]: unknown;
7997
+ };
7998
+ evidenceDisplay: Array<{
7999
+ name: string;
8000
+ value: string;
8001
+ important: boolean;
8002
+ }>;
8003
+ type: number;
8004
+ detectionTime: number;
8005
+ level: string | null;
8006
+ culprit: string | null;
8007
+ assignee: string | null;
8008
+ priority: number | null;
8009
+ } | null;
7728
8010
  _meta: {
7729
8011
  [key: string]: unknown;
7730
8012
  };
@@ -7732,11 +8014,26 @@ export type ProjectEventDetailsResponse = {
7732
8014
  culprit?: string | null;
7733
8015
  dateCreated?: string;
7734
8016
  fingerprints?: Array<string>;
7735
- groupingConfig?: unknown;
7736
- startTimestamp?: string;
7737
- endTimestamp?: string;
7738
- measurements?: unknown;
7739
- breakdowns?: unknown;
8017
+ groupingConfig?: {
8018
+ id: string;
8019
+ enhancements: string;
8020
+ };
8021
+ startTimestamp?: number;
8022
+ endTimestamp?: number;
8023
+ measurements?: {
8024
+ [key: string]: {
8025
+ value: number;
8026
+ unit: string | null;
8027
+ };
8028
+ } | null;
8029
+ breakdowns?: {
8030
+ [key: string]: {
8031
+ [key: string]: {
8032
+ value: number;
8033
+ unit: string | null;
8034
+ };
8035
+ };
8036
+ } | null;
7740
8037
  release: {
7741
8038
  id?: number;
7742
8039
  commitCount?: number;
@@ -7831,7 +8128,7 @@ export type ProjectEventsResponseDict = Array<{
7831
8128
  crashFile: string | null;
7832
8129
  metadata: {
7833
8130
  [key: string]: unknown;
7834
- } | null;
8131
+ };
7835
8132
  }>;
7836
8133
  export type ProjectFilterResponse = Array<{
7837
8134
  id: string;
@@ -8289,7 +8586,7 @@ export type ReleaseSerializerWithProjects = {
8289
8586
  export type ReleaseThresholdStatusResponse = {
8290
8587
  [key: string]: Array<{
8291
8588
  id?: string;
8292
- date?: string;
8589
+ date_added?: string;
8293
8590
  environment?: {
8294
8591
  [key: string]: unknown;
8295
8592
  } | null;
@@ -8297,8 +8594,8 @@ export type ReleaseThresholdStatusResponse = {
8297
8594
  [key: string]: unknown;
8298
8595
  };
8299
8596
  release?: string;
8300
- threshold_type?: number;
8301
- trigger_type?: string;
8597
+ threshold_type?: 'total_error_count' | 'new_issue_count' | 'unhandled_issue_count' | 'regressed_issue_count' | 'failure_rate' | 'crash_free_session_rate' | 'crash_free_user_rate';
8598
+ trigger_type?: 'over' | 'under';
8302
8599
  value?: number;
8303
8600
  window_in_seconds?: number;
8304
8601
  end: string;
@@ -8515,6 +8812,7 @@ export type SentryAppDetailsResponse = {
8515
8812
  photoType: string;
8516
8813
  }>;
8517
8814
  events: Array<string>;
8815
+ webhookEvents: Array<string>;
8518
8816
  featureData: Array<string>;
8519
8817
  isAlertable: boolean;
8520
8818
  metadata: string;
@@ -8626,6 +8924,17 @@ export type ShortIdLookupResponse = {
8626
8924
  userCount?: number;
8627
8925
  firstSeen?: string | null;
8628
8926
  lastSeen?: string | null;
8927
+ derivedData?: {
8928
+ blocker: string;
8929
+ progress: string;
8930
+ status: string;
8931
+ viewCount: number;
8932
+ hasOpenFixPr: boolean;
8933
+ isAssigned: boolean;
8934
+ hasRootCause: boolean;
8935
+ lastCompletedAutofixStep: string;
8936
+ lastProgressedAt: string | null;
8937
+ };
8629
8938
  id: string;
8630
8939
  shareId: string | null;
8631
8940
  shortId: string;
@@ -8633,10 +8942,9 @@ export type ShortIdLookupResponse = {
8633
8942
  culprit: string | null;
8634
8943
  permalink: string;
8635
8944
  logger: string | null;
8636
- level: string;
8637
- status: string;
8945
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
8946
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
8638
8947
  statusDetails: {
8639
- autoResolved?: boolean;
8640
8948
  ignoreCount?: number;
8641
8949
  ignoreUntil?: string;
8642
8950
  ignoreUserCount?: number;
@@ -8692,12 +9000,16 @@ export type ShortIdLookupResponse = {
8692
9000
  inRelease?: string;
8693
9001
  inCommit?: string;
8694
9002
  pendingEvents?: number;
8695
- info?: unknown;
9003
+ info?: {
9004
+ dateCreated: string;
9005
+ syncCount: number;
9006
+ totalEvents: number;
9007
+ } | null;
8696
9008
  };
8697
- substatus: string | null;
9009
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
8698
9010
  isPublic: boolean;
8699
9011
  platform: string | null;
8700
- priority: string | null;
9012
+ priority: 'low' | 'medium' | 'high' | null;
8701
9013
  priorityLockedAt: string | null;
8702
9014
  seerFixabilityScore: number | null;
8703
9015
  seerAutofixLastTriggered: string | null;
@@ -8708,7 +9020,7 @@ export type ShortIdLookupResponse = {
8708
9020
  slug: string;
8709
9021
  platform: string | null;
8710
9022
  };
8711
- type: string;
9023
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
8712
9024
  issueType: string;
8713
9025
  issueCategory: string;
8714
9026
  metadata: {
@@ -8832,6 +9144,23 @@ export type SizeAnalysisResponse = {
8832
9144
  }> | null;
8833
9145
  }> | null;
8834
9146
  };
9147
+ export type SkipStatusCheck = {
9148
+ /**
9149
+ * The full 40-character lowercase commit SHA.
9150
+ */
9151
+ sha: string;
9152
+ /**
9153
+ * The repository name in `owner/name` format.
9154
+ */
9155
+ repository: string;
9156
+ /**
9157
+ * The repository integration provider.
9158
+ *
9159
+ * * `github`
9160
+ * * `github_enterprise`
9161
+ */
9162
+ provider: 'github' | 'github_enterprise';
9163
+ };
8835
9164
  export type SnapshotCreateResponse = {
8836
9165
  artifactId: string;
8837
9166
  snapshotMetricsId: string;
@@ -8863,6 +9192,7 @@ export type SnapshotDetailsResponse = {
8863
9192
  image_file_name?: string;
8864
9193
  width?: number;
8865
9194
  height?: number;
9195
+ canvas_theme?: 'light' | 'dark' | null;
8866
9196
  }>;
8867
9197
  image_count?: number;
8868
9198
  added?: Array<{
@@ -8872,6 +9202,7 @@ export type SnapshotDetailsResponse = {
8872
9202
  image_file_name?: string;
8873
9203
  width?: number;
8874
9204
  height?: number;
9205
+ canvas_theme?: 'light' | 'dark' | null;
8875
9206
  }>;
8876
9207
  added_count?: number;
8877
9208
  removed?: Array<{
@@ -8881,6 +9212,7 @@ export type SnapshotDetailsResponse = {
8881
9212
  image_file_name?: string;
8882
9213
  width?: number;
8883
9214
  height?: number;
9215
+ canvas_theme?: 'light' | 'dark' | null;
8884
9216
  }>;
8885
9217
  removed_count?: number;
8886
9218
  renamed?: Array<{
@@ -8891,6 +9223,7 @@ export type SnapshotDetailsResponse = {
8891
9223
  image_file_name?: string;
8892
9224
  width?: number;
8893
9225
  height?: number;
9226
+ canvas_theme?: 'light' | 'dark' | null;
8894
9227
  };
8895
9228
  head_image?: {
8896
9229
  key?: string;
@@ -8899,6 +9232,7 @@ export type SnapshotDetailsResponse = {
8899
9232
  image_file_name?: string;
8900
9233
  width?: number;
8901
9234
  height?: number;
9235
+ canvas_theme?: 'light' | 'dark' | null;
8902
9236
  };
8903
9237
  diff_image_key?: string | null;
8904
9238
  diff?: number | null;
@@ -8912,6 +9246,7 @@ export type SnapshotDetailsResponse = {
8912
9246
  image_file_name?: string;
8913
9247
  width?: number;
8914
9248
  height?: number;
9249
+ canvas_theme?: 'light' | 'dark' | null;
8915
9250
  };
8916
9251
  head_image?: {
8917
9252
  key?: string;
@@ -8920,6 +9255,7 @@ export type SnapshotDetailsResponse = {
8920
9255
  image_file_name?: string;
8921
9256
  width?: number;
8922
9257
  height?: number;
9258
+ canvas_theme?: 'light' | 'dark' | null;
8923
9259
  };
8924
9260
  diff_image_key?: string | null;
8925
9261
  diff?: number | null;
@@ -8932,6 +9268,7 @@ export type SnapshotDetailsResponse = {
8932
9268
  image_file_name?: string;
8933
9269
  width?: number;
8934
9270
  height?: number;
9271
+ canvas_theme?: 'light' | 'dark' | null;
8935
9272
  }>;
8936
9273
  unchanged_count?: number;
8937
9274
  errored?: Array<{
@@ -8942,6 +9279,7 @@ export type SnapshotDetailsResponse = {
8942
9279
  image_file_name?: string;
8943
9280
  width?: number;
8944
9281
  height?: number;
9282
+ canvas_theme?: 'light' | 'dark' | null;
8945
9283
  };
8946
9284
  head_image?: {
8947
9285
  key?: string;
@@ -8950,6 +9288,7 @@ export type SnapshotDetailsResponse = {
8950
9288
  image_file_name?: string;
8951
9289
  width?: number;
8952
9290
  height?: number;
9291
+ canvas_theme?: 'light' | 'dark' | null;
8953
9292
  };
8954
9293
  diff_image_key?: string | null;
8955
9294
  diff?: number | null;
@@ -8962,6 +9301,7 @@ export type SnapshotDetailsResponse = {
8962
9301
  image_file_name?: string;
8963
9302
  width?: number;
8964
9303
  height?: number;
9304
+ canvas_theme?: 'light' | 'dark' | null;
8965
9305
  }>;
8966
9306
  skipped_count?: number;
8967
9307
  diff_threshold?: number | null;
@@ -8982,12 +9322,13 @@ export type SnapshotImageDetailResponse = {
8982
9322
  image_file_name?: string;
8983
9323
  comparison_status?: string | null;
8984
9324
  head_image?: {
8985
- content_hash?: string;
9325
+ key?: string;
8986
9326
  display_name?: string | null;
8987
9327
  group?: string | null;
8988
9328
  image_file_name?: string;
8989
9329
  width?: number;
8990
9330
  height?: number;
9331
+ canvas_theme?: 'light' | 'dark' | null;
8991
9332
  diff_threshold?: number | null;
8992
9333
  description?: string | null;
8993
9334
  tags?: {
@@ -8996,12 +9337,13 @@ export type SnapshotImageDetailResponse = {
8996
9337
  image_url?: string;
8997
9338
  } | null;
8998
9339
  base_image?: {
8999
- content_hash?: string;
9340
+ key?: string;
9000
9341
  display_name?: string | null;
9001
9342
  group?: string | null;
9002
9343
  image_file_name?: string;
9003
9344
  width?: number;
9004
9345
  height?: number;
9346
+ canvas_theme?: 'light' | 'dark' | null;
9005
9347
  diff_threshold?: number | null;
9006
9348
  description?: string | null;
9007
9349
  tags?: {
@@ -9468,6 +9810,18 @@ export type TeamScim = {
9468
9810
  display: string;
9469
9811
  }>;
9470
9812
  };
9813
+ export type TraceItemStatsResponse = {
9814
+ data: Array<{
9815
+ attributeDistributions: {
9816
+ data: {
9817
+ [key: string]: Array<{
9818
+ label: string;
9819
+ value: number;
9820
+ }>;
9821
+ };
9822
+ };
9823
+ }>;
9824
+ };
9471
9825
  export type UpdateClientKey = {
9472
9826
  /**
9473
9827
  * The name for the client key
@@ -10764,6 +11118,10 @@ export type UpdateOrganizationData = {
10764
11118
  trustedRelays?: Array<{
10765
11119
  [key: string]: unknown;
10766
11120
  }>;
11121
+ /**
11122
+ * A Relay base URL to use when displaying Client Key DSNs for this organization.
11123
+ */
11124
+ relayDsnEndpoint?: string | null;
10767
11125
  /**
10768
11126
  * Specify `true` to allow the Sentry Slack integration to post replies in threads for an Issue Alert notification. Requires a Slack integration.
10769
11127
  */
@@ -10902,6 +11260,7 @@ export type UpdateOrganizationResponses = {
10902
11260
  scrapeJavaScript: boolean;
10903
11261
  allowJoinRequests: boolean;
10904
11262
  relayPiiConfig: string | null;
11263
+ relayDsnEndpoint: string | null;
10905
11264
  trustedRelays: Array<{
10906
11265
  name?: string;
10907
11266
  description?: string;
@@ -11544,7 +11903,7 @@ export type CreateOrganizationDashboardResponses = {
11544
11903
  [key: string]: number;
11545
11904
  } | null;
11546
11905
  axisRange: string | null;
11547
- legendType: 'default' | 'breakdown';
11906
+ legendType: 'default' | 'breakdown' | null;
11548
11907
  datasetSource: string | null;
11549
11908
  exploreUrls: Array<string> | null;
11550
11909
  changedReason: Array<{
@@ -11731,7 +12090,7 @@ export type GetOrganizationDashboardResponses = {
11731
12090
  [key: string]: number;
11732
12091
  } | null;
11733
12092
  axisRange: string | null;
11734
- legendType: 'default' | 'breakdown';
12093
+ legendType: 'default' | 'breakdown' | null;
11735
12094
  datasetSource: string | null;
11736
12095
  exploreUrls: Array<string> | null;
11737
12096
  changedReason: Array<{
@@ -12054,7 +12413,7 @@ export type UpdateOrganizationDashboardResponses = {
12054
12413
  [key: string]: number;
12055
12414
  } | null;
12056
12415
  axisRange: string | null;
12057
- legendType: 'default' | 'breakdown';
12416
+ legendType: 'default' | 'breakdown' | null;
12058
12417
  datasetSource: string | null;
12059
12418
  exploreUrls: Array<string> | null;
12060
12419
  changedReason: Array<{
@@ -13473,18 +13832,49 @@ export type ResolveOrganizationEventIdResponses = {
13473
13832
  entries: Array<unknown>;
13474
13833
  dist: string | null;
13475
13834
  sdk: {
13476
- [key: string]: string;
13477
- };
13835
+ name: string | null;
13836
+ version: string | null;
13837
+ } | null;
13478
13838
  context: {
13479
13839
  [key: string]: unknown;
13480
13840
  } | null;
13481
13841
  packages: {
13482
13842
  [key: string]: unknown;
13483
13843
  };
13484
- type: string;
13485
- metadata: unknown;
13486
- errors: Array<unknown>;
13487
- occurrence: unknown;
13844
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
13845
+ metadata: {
13846
+ [key: string]: unknown;
13847
+ };
13848
+ errors: Array<{
13849
+ type: string;
13850
+ message: string;
13851
+ data: {
13852
+ [key: string]: unknown;
13853
+ };
13854
+ }>;
13855
+ occurrence: {
13856
+ id: string;
13857
+ projectId: number;
13858
+ eventId: string;
13859
+ fingerprint: Array<string>;
13860
+ issueTitle: string;
13861
+ subtitle: string;
13862
+ resourceId: string | null;
13863
+ evidenceData: {
13864
+ [key: string]: unknown;
13865
+ };
13866
+ evidenceDisplay: Array<{
13867
+ name: string;
13868
+ value: string;
13869
+ important: boolean;
13870
+ }>;
13871
+ type: number;
13872
+ detectionTime: number;
13873
+ level: string | null;
13874
+ culprit: string | null;
13875
+ assignee: string | null;
13876
+ priority: number | null;
13877
+ } | null;
13488
13878
  _meta: {
13489
13879
  [key: string]: unknown;
13490
13880
  };
@@ -13492,11 +13882,26 @@ export type ResolveOrganizationEventIdResponses = {
13492
13882
  culprit?: string | null;
13493
13883
  dateCreated?: string;
13494
13884
  fingerprints?: Array<string>;
13495
- groupingConfig?: unknown;
13496
- startTimestamp?: string;
13497
- endTimestamp?: string;
13498
- measurements?: unknown;
13499
- breakdowns?: unknown;
13885
+ groupingConfig?: {
13886
+ id: string;
13887
+ enhancements: string;
13888
+ };
13889
+ startTimestamp?: number;
13890
+ endTimestamp?: number;
13891
+ measurements?: {
13892
+ [key: string]: {
13893
+ value: number;
13894
+ unit: string | null;
13895
+ };
13896
+ } | null;
13897
+ breakdowns?: {
13898
+ [key: string]: {
13899
+ [key: string]: {
13900
+ value: number;
13901
+ unit: string | null;
13902
+ };
13903
+ };
13904
+ } | null;
13500
13905
  };
13501
13906
  };
13502
13907
  };
@@ -13781,7 +14186,7 @@ export type ListOrganizationEventsTimeseriesResponses = {
13781
14186
  comparisonValue?: number;
13782
14187
  sampleCount?: number;
13783
14188
  sampleRate?: number | null;
13784
- confidence?: 'low' | 'high';
14189
+ confidence?: 'low' | 'high' | null;
13785
14190
  incompleteReason?: string;
13786
14191
  }>;
13787
14192
  yAxis: string;
@@ -14314,6 +14719,7 @@ export type ListOrganizationIntegrationsResponses = {
14314
14719
  domainName: string | null;
14315
14720
  accountType: string | null;
14316
14721
  scopes: Array<string> | null;
14722
+ outOfDate: boolean | null;
14317
14723
  status: string;
14318
14724
  provider: unknown;
14319
14725
  configOrganization: unknown;
@@ -14376,6 +14782,7 @@ export type GetOrganizationIntegrationResponses = {
14376
14782
  domainName: string | null;
14377
14783
  accountType: string | null;
14378
14784
  scopes: Array<string> | null;
14785
+ outOfDate: boolean | null;
14379
14786
  status: string;
14380
14787
  provider: unknown;
14381
14788
  configOrganization: unknown;
@@ -14564,10 +14971,9 @@ export type ListOrganizationIssuesResponses = {
14564
14971
  culprit: string | null;
14565
14972
  permalink: string;
14566
14973
  logger: string | null;
14567
- level: string;
14568
- status: string;
14974
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
14975
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
14569
14976
  statusDetails: {
14570
- autoResolved?: boolean;
14571
14977
  ignoreCount?: number;
14572
14978
  ignoreUntil?: string;
14573
14979
  ignoreUserCount?: number;
@@ -14623,12 +15029,16 @@ export type ListOrganizationIssuesResponses = {
14623
15029
  inRelease?: string;
14624
15030
  inCommit?: string;
14625
15031
  pendingEvents?: number;
14626
- info?: unknown;
15032
+ info?: {
15033
+ dateCreated: string;
15034
+ syncCount: number;
15035
+ totalEvents: number;
15036
+ } | null;
14627
15037
  };
14628
- substatus: string | null;
15038
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
14629
15039
  isPublic: boolean;
14630
15040
  platform: string | null;
14631
- priority: string | null;
15041
+ priority: 'low' | 'medium' | 'high' | null;
14632
15042
  priorityLockedAt: string | null;
14633
15043
  seerFixabilityScore: number | null;
14634
15044
  seerAutofixLastTriggered: string | null;
@@ -14639,7 +15049,7 @@ export type ListOrganizationIssuesResponses = {
14639
15049
  slug: string;
14640
15050
  platform: string | null;
14641
15051
  };
14642
- type: string;
15052
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
14643
15053
  issueType: string;
14644
15054
  issueCategory: string;
14645
15055
  metadata: {
@@ -14668,6 +15078,17 @@ export type ListOrganizationIssuesResponses = {
14668
15078
  userCount: number;
14669
15079
  firstSeen: string | null;
14670
15080
  lastSeen: string | null;
15081
+ derivedData: {
15082
+ blocker: string;
15083
+ progress: string;
15084
+ status: string;
15085
+ viewCount: number;
15086
+ hasOpenFixPr: boolean;
15087
+ isAssigned: boolean;
15088
+ hasRootCause: boolean;
15089
+ lastCompletedAutofixStep: string;
15090
+ lastProgressedAt: string | null;
15091
+ };
14671
15092
  stats: {
14672
15093
  [key: string]: unknown;
14673
15094
  };
@@ -14974,7 +15395,7 @@ export type ListOrganizationMembersResponses = {
14974
15395
  id: string;
14975
15396
  email: string;
14976
15397
  name: string;
14977
- user?: {
15398
+ user: {
14978
15399
  identities?: Array<{
14979
15400
  id: string;
14980
15401
  name: string;
@@ -15019,7 +15440,7 @@ export type ListOrganizationMembersResponses = {
15019
15440
  email: string;
15020
15441
  is_verified: boolean;
15021
15442
  }>;
15022
- };
15443
+ } | null;
15023
15444
  orgRole: string;
15024
15445
  pending: boolean;
15025
15446
  expired: boolean;
@@ -15113,7 +15534,7 @@ export type AddOrganizationMemberResponses = {
15113
15534
  id: string;
15114
15535
  email: string;
15115
15536
  name: string;
15116
- user?: {
15537
+ user: {
15117
15538
  identities?: Array<{
15118
15539
  id: string;
15119
15540
  name: string;
@@ -15158,7 +15579,7 @@ export type AddOrganizationMemberResponses = {
15158
15579
  email: string;
15159
15580
  is_verified: boolean;
15160
15581
  }>;
15161
- };
15582
+ } | null;
15162
15583
  orgRole: string;
15163
15584
  pending: boolean;
15164
15585
  expired: boolean;
@@ -15257,7 +15678,7 @@ export type GetOrganizationMemberResponses = {
15257
15678
  id: string;
15258
15679
  email: string;
15259
15680
  name: string;
15260
- user?: {
15681
+ user: {
15261
15682
  identities?: Array<{
15262
15683
  id: string;
15263
15684
  name: string;
@@ -15302,7 +15723,7 @@ export type GetOrganizationMemberResponses = {
15302
15723
  email: string;
15303
15724
  is_verified: boolean;
15304
15725
  }>;
15305
- };
15726
+ } | null;
15306
15727
  orgRole: string;
15307
15728
  pending: boolean;
15308
15729
  expired: boolean;
@@ -15437,7 +15858,7 @@ export type UpdateOrganizationMemberResponses = {
15437
15858
  id: string;
15438
15859
  email: string;
15439
15860
  name: string;
15440
- user?: {
15861
+ user: {
15441
15862
  identities?: Array<{
15442
15863
  id: string;
15443
15864
  name: string;
@@ -15482,7 +15903,7 @@ export type UpdateOrganizationMemberResponses = {
15482
15903
  email: string;
15483
15904
  is_verified: boolean;
15484
15905
  }>;
15485
- };
15906
+ } | null;
15486
15907
  orgRole: string;
15487
15908
  pending: boolean;
15488
15909
  expired: boolean;
@@ -18223,6 +18644,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18223
18644
  image_file_name?: string;
18224
18645
  width?: number;
18225
18646
  height?: number;
18647
+ canvas_theme?: 'light' | 'dark' | null;
18226
18648
  }>;
18227
18649
  image_count?: number;
18228
18650
  added?: Array<{
@@ -18232,6 +18654,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18232
18654
  image_file_name?: string;
18233
18655
  width?: number;
18234
18656
  height?: number;
18657
+ canvas_theme?: 'light' | 'dark' | null;
18235
18658
  }>;
18236
18659
  added_count?: number;
18237
18660
  removed?: Array<{
@@ -18241,6 +18664,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18241
18664
  image_file_name?: string;
18242
18665
  width?: number;
18243
18666
  height?: number;
18667
+ canvas_theme?: 'light' | 'dark' | null;
18244
18668
  }>;
18245
18669
  removed_count?: number;
18246
18670
  renamed?: Array<{
@@ -18251,6 +18675,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18251
18675
  image_file_name?: string;
18252
18676
  width?: number;
18253
18677
  height?: number;
18678
+ canvas_theme?: 'light' | 'dark' | null;
18254
18679
  };
18255
18680
  head_image?: {
18256
18681
  key?: string;
@@ -18259,6 +18684,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18259
18684
  image_file_name?: string;
18260
18685
  width?: number;
18261
18686
  height?: number;
18687
+ canvas_theme?: 'light' | 'dark' | null;
18262
18688
  };
18263
18689
  diff_image_key?: string | null;
18264
18690
  diff?: number | null;
@@ -18272,6 +18698,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18272
18698
  image_file_name?: string;
18273
18699
  width?: number;
18274
18700
  height?: number;
18701
+ canvas_theme?: 'light' | 'dark' | null;
18275
18702
  };
18276
18703
  head_image?: {
18277
18704
  key?: string;
@@ -18280,6 +18707,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18280
18707
  image_file_name?: string;
18281
18708
  width?: number;
18282
18709
  height?: number;
18710
+ canvas_theme?: 'light' | 'dark' | null;
18283
18711
  };
18284
18712
  diff_image_key?: string | null;
18285
18713
  diff?: number | null;
@@ -18292,6 +18720,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18292
18720
  image_file_name?: string;
18293
18721
  width?: number;
18294
18722
  height?: number;
18723
+ canvas_theme?: 'light' | 'dark' | null;
18295
18724
  }>;
18296
18725
  unchanged_count?: number;
18297
18726
  errored?: Array<{
@@ -18302,6 +18731,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18302
18731
  image_file_name?: string;
18303
18732
  width?: number;
18304
18733
  height?: number;
18734
+ canvas_theme?: 'light' | 'dark' | null;
18305
18735
  };
18306
18736
  head_image?: {
18307
18737
  key?: string;
@@ -18310,6 +18740,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18310
18740
  image_file_name?: string;
18311
18741
  width?: number;
18312
18742
  height?: number;
18743
+ canvas_theme?: 'light' | 'dark' | null;
18313
18744
  };
18314
18745
  diff_image_key?: string | null;
18315
18746
  diff?: number | null;
@@ -18322,6 +18753,7 @@ export type GetOrganizationPreprodArtifactSnapshotResponses = {
18322
18753
  image_file_name?: string;
18323
18754
  width?: number;
18324
18755
  height?: number;
18756
+ canvas_theme?: 'light' | 'dark' | null;
18325
18757
  }>;
18326
18758
  skipped_count?: number;
18327
18759
  diff_threshold?: number | null;
@@ -18374,12 +18806,13 @@ export type GetOrganizationPreprodArtifactSnapshotImageResponses = {
18374
18806
  image_file_name?: string;
18375
18807
  comparison_status?: string | null;
18376
18808
  head_image?: {
18377
- content_hash?: string;
18809
+ key?: string;
18378
18810
  display_name?: string | null;
18379
18811
  group?: string | null;
18380
18812
  image_file_name?: string;
18381
18813
  width?: number;
18382
18814
  height?: number;
18815
+ canvas_theme?: 'light' | 'dark' | null;
18383
18816
  diff_threshold?: number | null;
18384
18817
  description?: string | null;
18385
18818
  tags?: {
@@ -18388,12 +18821,13 @@ export type GetOrganizationPreprodArtifactSnapshotImageResponses = {
18388
18821
  image_url?: string;
18389
18822
  } | null;
18390
18823
  base_image?: {
18391
- content_hash?: string;
18824
+ key?: string;
18392
18825
  display_name?: string | null;
18393
18826
  group?: string | null;
18394
18827
  image_file_name?: string;
18395
18828
  width?: number;
18396
18829
  height?: number;
18830
+ canvas_theme?: 'light' | 'dark' | null;
18397
18831
  diff_threshold?: number | null;
18398
18832
  description?: string | null;
18399
18833
  tags?: {
@@ -18463,6 +18897,7 @@ export type GetOrganizationPreprodArtifactSnapshotLatestBaseResponses = {
18463
18897
  image_file_name?: string;
18464
18898
  width?: number;
18465
18899
  height?: number;
18900
+ canvas_theme?: 'light' | 'dark' | null;
18466
18901
  image_url?: string;
18467
18902
  }>;
18468
18903
  diff_threshold?: number | null;
@@ -19291,7 +19726,7 @@ export type ListOrganizationReleaseThresholdStatusesResponses = {
19291
19726
  200: {
19292
19727
  [key: string]: Array<{
19293
19728
  id?: string;
19294
- date?: string;
19729
+ date_added?: string;
19295
19730
  environment?: {
19296
19731
  [key: string]: unknown;
19297
19732
  } | null;
@@ -19299,8 +19734,8 @@ export type ListOrganizationReleaseThresholdStatusesResponses = {
19299
19734
  [key: string]: unknown;
19300
19735
  };
19301
19736
  release?: string;
19302
- threshold_type?: number;
19303
- trigger_type?: string;
19737
+ threshold_type?: 'total_error_count' | 'new_issue_count' | 'unhandled_issue_count' | 'regressed_issue_count' | 'failure_rate' | 'crash_free_session_rate' | 'crash_free_user_rate';
19738
+ trigger_type?: 'over' | 'under';
19304
19739
  value?: number;
19305
19740
  window_in_seconds?: number;
19306
19741
  end: string;
@@ -20200,6 +20635,8 @@ export type ListOrganizationReleaseCommitsResponses = {
20200
20635
  title: string | null;
20201
20636
  message: string | null;
20202
20637
  dateCreated: string;
20638
+ mergedAt: string | null;
20639
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
20203
20640
  repository: {
20204
20641
  url?: string | null;
20205
20642
  provider?: {
@@ -20761,7 +21198,11 @@ export type GetOrganizationReplayCountData = {
20761
21198
  */
20762
21199
  organization_id_or_slug: string;
20763
21200
  };
20764
- query?: {
21201
+ query: {
21202
+ /**
21203
+ * The data source to query replays from.
21204
+ */
21205
+ data_source: 'events' | 'search_issues' | 'spans';
20765
21206
  /**
20766
21207
  * The name of environments to filter by.
20767
21208
  */
@@ -20808,10 +21249,6 @@ export type GetOrganizationReplayCountData = {
20808
21249
  *
20809
21250
  */
20810
21251
  query?: string;
20811
- /**
20812
- * The data source to query replays from. Defaults to 'discover'.
20813
- */
20814
- data_source?: 'discover' | 'events' | 'search_issues' | 'transactions';
20815
21252
  /**
20816
21253
  * If true, return issue IDs rather than counts.
20817
21254
  */
@@ -20965,7 +21402,7 @@ export type ListOrganizationReplaysData = {
20965
21402
  /**
20966
21403
  * Specifies a field that should be marshaled in the output. Invalid fields will be rejected.
20967
21404
  */
20968
- field?: Array<'activity' | 'browser' | 'count_dead_clicks' | 'count_errors' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'id' | 'is_archived' | 'os' | 'platform' | 'project_id' | 'releases' | 'sdk' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user' | 'clicks' | 'info_ids' | 'warning_ids' | 'count_warnings' | 'count_infos' | 'has_viewed'>;
21405
+ field?: Array<'activity' | 'browser' | 'count_dead_clicks' | 'count_errors' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'id' | 'is_archived' | 'os' | 'platform' | 'project_id' | 'releases' | 'sdk' | 'started_at' | 'tags' | 'trace_ids' | 'segment_names' | 'urls' | 'user' | 'clicks' | 'info_ids' | 'warning_ids' | 'count_warnings' | 'count_infos' | 'has_viewed'>;
20969
21406
  /**
20970
21407
  * A list of project IDs or slugs to filter by.
20971
21408
  */
@@ -21064,6 +21501,7 @@ export type ListOrganizationReplaysResponses = {
21064
21501
  };
21065
21502
  is_archived?: boolean | null;
21066
21503
  urls?: Array<string> | null;
21504
+ segment_names?: Array<string> | null;
21067
21505
  clicks?: Array<{
21068
21506
  [key: string]: unknown;
21069
21507
  }>;
@@ -21126,7 +21564,7 @@ export type GetOrganizationReplayData = {
21126
21564
  /**
21127
21565
  * Specifies a field that should be marshaled in the output. Invalid fields will be rejected.
21128
21566
  */
21129
- field?: Array<'activity' | 'browser' | 'count_dead_clicks' | 'count_errors' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'id' | 'is_archived' | 'os' | 'platform' | 'project_id' | 'releases' | 'sdk' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user' | 'clicks' | 'info_ids' | 'warning_ids' | 'count_warnings' | 'count_infos' | 'has_viewed'>;
21567
+ field?: Array<'activity' | 'browser' | 'count_dead_clicks' | 'count_errors' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'id' | 'is_archived' | 'os' | 'platform' | 'project_id' | 'releases' | 'sdk' | 'started_at' | 'tags' | 'trace_ids' | 'segment_names' | 'urls' | 'user' | 'clicks' | 'info_ids' | 'warning_ids' | 'count_warnings' | 'count_infos' | 'has_viewed'>;
21130
21568
  /**
21131
21569
  * A list of project IDs or slugs to filter by.
21132
21570
  */
@@ -21229,6 +21667,7 @@ export type GetOrganizationReplayResponses = {
21229
21667
  };
21230
21668
  is_archived?: boolean | null;
21231
21669
  urls?: Array<string> | null;
21670
+ segment_names?: Array<string> | null;
21232
21671
  clicks?: Array<{
21233
21672
  [key: string]: unknown;
21234
21673
  }>;
@@ -21366,6 +21805,8 @@ export type ListOrganizationRepoCommitsResponses = {
21366
21805
  title: string | null;
21367
21806
  message: string | null;
21368
21807
  dateCreated: string;
21808
+ mergedAt: string | null;
21809
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
21369
21810
  repository: {
21370
21811
  url?: string | null;
21371
21812
  provider?: {
@@ -22106,6 +22547,7 @@ export type ListOrganizationSentryAppsResponses = {
22106
22547
  photoType: string;
22107
22548
  }>;
22108
22549
  events: Array<string>;
22550
+ webhookEvents: Array<string>;
22109
22551
  featureData: Array<string>;
22110
22552
  isAlertable: boolean;
22111
22553
  metadata: string;
@@ -22308,6 +22750,17 @@ export type ResolveOrganizationShortIdResponses = {
22308
22750
  userCount?: number;
22309
22751
  firstSeen?: string | null;
22310
22752
  lastSeen?: string | null;
22753
+ derivedData?: {
22754
+ blocker: string;
22755
+ progress: string;
22756
+ status: string;
22757
+ viewCount: number;
22758
+ hasOpenFixPr: boolean;
22759
+ isAssigned: boolean;
22760
+ hasRootCause: boolean;
22761
+ lastCompletedAutofixStep: string;
22762
+ lastProgressedAt: string | null;
22763
+ };
22311
22764
  id: string;
22312
22765
  shareId: string | null;
22313
22766
  shortId: string;
@@ -22315,10 +22768,9 @@ export type ResolveOrganizationShortIdResponses = {
22315
22768
  culprit: string | null;
22316
22769
  permalink: string;
22317
22770
  logger: string | null;
22318
- level: string;
22319
- status: string;
22771
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
22772
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
22320
22773
  statusDetails: {
22321
- autoResolved?: boolean;
22322
22774
  ignoreCount?: number;
22323
22775
  ignoreUntil?: string;
22324
22776
  ignoreUserCount?: number;
@@ -22374,12 +22826,16 @@ export type ResolveOrganizationShortIdResponses = {
22374
22826
  inRelease?: string;
22375
22827
  inCommit?: string;
22376
22828
  pendingEvents?: number;
22377
- info?: unknown;
22829
+ info?: {
22830
+ dateCreated: string;
22831
+ syncCount: number;
22832
+ totalEvents: number;
22833
+ } | null;
22378
22834
  };
22379
- substatus: string | null;
22835
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
22380
22836
  isPublic: boolean;
22381
22837
  platform: string | null;
22382
- priority: string | null;
22838
+ priority: 'low' | 'medium' | 'high' | null;
22383
22839
  priorityLockedAt: string | null;
22384
22840
  seerFixabilityScore: number | null;
22385
22841
  seerAutofixLastTriggered: string | null;
@@ -22390,7 +22846,7 @@ export type ResolveOrganizationShortIdResponses = {
22390
22846
  slug: string;
22391
22847
  platform: string | null;
22392
22848
  };
22393
- type: string;
22849
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
22394
22850
  issueType: string;
22395
22851
  issueCategory: string;
22396
22852
  metadata: {
@@ -23075,7 +23531,7 @@ export type ListOrganizationTraceItemAttributesData = {
23075
23531
  /**
23076
23532
  * Filter to attributes of one or more types. Defaults to all types.
23077
23533
  */
23078
- attributeType?: Array<'boolean' | 'number' | 'string'>;
23534
+ attributeType?: Array<'array' | 'boolean' | 'number' | 'string'>;
23079
23535
  /**
23080
23536
  * Restrict results to attribute names containing this substring (case-sensitive).
23081
23537
  */
@@ -23114,22 +23570,19 @@ export type ListOrganizationTraceItemAttributesResponses = {
23114
23570
  source_type: 'sentry' | 'user';
23115
23571
  is_transformed_alias?: boolean;
23116
23572
  };
23117
- attributeType: 'string' | 'number' | 'boolean';
23573
+ attributeType: 'string' | 'number' | 'boolean' | 'array';
23118
23574
  /**
23119
23575
  * Additional, mostly-static metadata about an attribute.
23120
23576
  *
23121
- * When ``expand=context`` is requested, context is attached to every
23122
- * attribute. Today the metadata is sourced from the sentry conventions
23123
- * (``sentry_conventions.attributes.ATTRIBUTE_METADATA``), matched by attribute
23124
- * name (and type when known) regardless of the attribute's source, so any
23125
- * attribute that maps to a known convention carries that metadata (only the
23126
- * fields actually present are included) while the rest get an empty context.
23127
- * Serving context for custom attributes is planned (gated behind the
23128
- * ``data-browsing-attribute-context`` feature), at which point the empty
23129
- * contexts will start to be populated.
23577
+ * When ``expand=context`` is requested, context is attached to every attribute.
23578
+ * Metadata comes from the sentry conventions, Sentry's own column definitions,
23579
+ * or user-authored context (gated behind ``data-browsing-attribute-context``),
23580
+ * in that precedence order. Only the fields available are included, so an
23581
+ * attribute with no metadata gets an empty context.
23130
23582
  */
23131
23583
  context?: {
23132
23584
  isConvention?: boolean;
23585
+ isCustom?: boolean;
23133
23586
  brief?: string;
23134
23587
  isDeprecated?: boolean;
23135
23588
  details?: Array<string>;
@@ -23139,6 +23592,103 @@ export type ListOrganizationTraceItemAttributesResponses = {
23139
23592
  }>;
23140
23593
  };
23141
23594
  export type ListOrganizationTraceItemAttributesResponse = ListOrganizationTraceItemAttributesResponses[keyof ListOrganizationTraceItemAttributesResponses];
23595
+ export type ListOrganizationTraceItemsStatsData = {
23596
+ body?: never;
23597
+ path: {
23598
+ /**
23599
+ * The ID or slug of the organization the resource belongs to.
23600
+ */
23601
+ organization_id_or_slug: string;
23602
+ };
23603
+ query: {
23604
+ /**
23605
+ * The statistics to compute over the matching trace items.
23606
+ */
23607
+ statsType: Array<'attributeDistributions'>;
23608
+ /**
23609
+ * The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. `-1` is also accepted to include all accessible projects.
23610
+ * For example, the following are valid parameters:
23611
+ * - `/?project=1234&project=56789`
23612
+ * - `/?project=android&project=javascript-react`
23613
+ * - `/?project=-1`
23614
+ *
23615
+ */
23616
+ project?: Array<number | string>;
23617
+ /**
23618
+ * The name of environments to filter by.
23619
+ */
23620
+ environment?: Array<string>;
23621
+ /**
23622
+ * The period of time for the query, will override the start & end parameters, a number followed by one of:
23623
+ * - `d` for days
23624
+ * - `h` for hours
23625
+ * - `m` for minutes
23626
+ * - `s` for seconds
23627
+ * - `w` for weeks
23628
+ *
23629
+ * For example, `24h`, to mean query data starting from 24 hours ago to now.
23630
+ */
23631
+ statsPeriod?: string;
23632
+ /**
23633
+ * The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
23634
+ */
23635
+ start?: string;
23636
+ /**
23637
+ * The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
23638
+ */
23639
+ end?: string;
23640
+ /**
23641
+ * The trace item dataset to compute statistics for. Defaults to `spans`.
23642
+ */
23643
+ itemType?: 'occurrences' | 'spans';
23644
+ /**
23645
+ * Sentry [search syntax](https://docs.sentry.io/concepts/search/) to filter trace items before computing statistics.
23646
+ */
23647
+ query?: string;
23648
+ /**
23649
+ * Restrict results to attribute names containing this substring (case-sensitive).
23650
+ */
23651
+ substringMatch?: string;
23652
+ /**
23653
+ * Maximum number of trace items to sample when computing statistics. Defaults to `1000`, which is also the maximum.
23654
+ */
23655
+ traceItemsLimit?: number;
23656
+ /**
23657
+ * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
23658
+ */
23659
+ cursor?: string;
23660
+ };
23661
+ url: '/api/0/organizations/{organization_id_or_slug}/trace-items/stats/';
23662
+ };
23663
+ export type ListOrganizationTraceItemsStatsErrors = {
23664
+ /**
23665
+ * Unauthorized
23666
+ */
23667
+ 401: unknown;
23668
+ /**
23669
+ * Forbidden
23670
+ */
23671
+ 403: unknown;
23672
+ /**
23673
+ * Not Found
23674
+ */
23675
+ 404: unknown;
23676
+ };
23677
+ export type ListOrganizationTraceItemsStatsResponses = {
23678
+ 200: {
23679
+ data: Array<{
23680
+ attributeDistributions: {
23681
+ data: {
23682
+ [key: string]: Array<{
23683
+ label: string;
23684
+ value: number;
23685
+ }>;
23686
+ };
23687
+ };
23688
+ }>;
23689
+ };
23690
+ };
23691
+ export type ListOrganizationTraceItemsStatsResponse = ListOrganizationTraceItemsStatsResponses[keyof ListOrganizationTraceItemsStatsResponses];
23142
23692
  export type GetOrganizationTraceMetaData = {
23143
23693
  body?: never;
23144
23694
  path: {
@@ -23278,14 +23828,13 @@ export type GetOrganizationTraceResponses = {
23278
23828
  200: Array<{
23279
23829
  description: string;
23280
23830
  event_id: string;
23281
- event_type: string;
23282
23831
  project_id: number;
23283
23832
  project_slug: string;
23284
23833
  transaction: string;
23834
+ event_type: 'span';
23285
23835
  children: Array<{
23286
23836
  description: string;
23287
23837
  event_id: string;
23288
- event_type: string;
23289
23838
  project_id: number;
23290
23839
  project_slug: string;
23291
23840
  transaction: string;
@@ -23293,10 +23842,10 @@ export type GetOrganizationTraceResponses = {
23293
23842
  errors: Array<{
23294
23843
  description: string;
23295
23844
  event_id: string;
23296
- event_type: string;
23297
23845
  project_id: number;
23298
23846
  project_slug: string;
23299
23847
  transaction: string;
23848
+ event_type: 'error' | 'occurrence';
23300
23849
  issue_id: number;
23301
23850
  level: string;
23302
23851
  start_timestamp: number;
@@ -23308,10 +23857,10 @@ export type GetOrganizationTraceResponses = {
23308
23857
  occurrences: Array<{
23309
23858
  description: string;
23310
23859
  event_id: string;
23311
- event_type: string;
23312
23860
  project_id: number;
23313
23861
  project_slug: string;
23314
23862
  transaction: string;
23863
+ event_type: 'error' | 'occurrence';
23315
23864
  issue_id: number;
23316
23865
  level: string;
23317
23866
  start_timestamp: number;
@@ -23321,15 +23870,15 @@ export type GetOrganizationTraceResponses = {
23321
23870
  issue_type: number;
23322
23871
  }>;
23323
23872
  duration: number;
23324
- end_timestamp: string;
23873
+ end_timestamp: number;
23325
23874
  measurements: {
23326
- [key: string]: unknown;
23875
+ [key: string]: number;
23327
23876
  };
23328
23877
  browser_web_vital: {
23329
- [key: string]: unknown;
23878
+ [key: string]: number;
23330
23879
  };
23331
23880
  mobile_app_vital: {
23332
- [key: string]: unknown;
23881
+ [key: string]: number;
23333
23882
  };
23334
23883
  op: string;
23335
23884
  name: string;
@@ -23337,7 +23886,7 @@ export type GetOrganizationTraceResponses = {
23337
23886
  profile_id: string;
23338
23887
  profiler_id: string;
23339
23888
  sdk_name: string;
23340
- start_timestamp: string;
23889
+ start_timestamp: number;
23341
23890
  is_transaction: boolean;
23342
23891
  transaction_id: string;
23343
23892
  additional_attributes?: {
@@ -23346,10 +23895,10 @@ export type GetOrganizationTraceResponses = {
23346
23895
  } | {
23347
23896
  description: string;
23348
23897
  event_id: string;
23349
- event_type: string;
23350
23898
  project_id: number;
23351
23899
  project_slug: string;
23352
23900
  transaction: string;
23901
+ event_type: 'error' | 'occurrence';
23353
23902
  issue_id: number;
23354
23903
  level: string;
23355
23904
  start_timestamp: number;
@@ -23360,14 +23909,13 @@ export type GetOrganizationTraceResponses = {
23360
23909
  } | {
23361
23910
  description: string;
23362
23911
  event_id: string;
23363
- event_type: string;
23364
23912
  project_id: number;
23365
23913
  project_slug: string;
23366
23914
  transaction: string;
23915
+ event_type: 'uptime_check';
23367
23916
  children: Array<{
23368
23917
  description: string;
23369
23918
  event_id: string;
23370
- event_type: string;
23371
23919
  project_id: number;
23372
23920
  project_slug: string;
23373
23921
  transaction: string;
@@ -23375,10 +23923,10 @@ export type GetOrganizationTraceResponses = {
23375
23923
  errors: Array<{
23376
23924
  description: string;
23377
23925
  event_id: string;
23378
- event_type: string;
23379
23926
  project_id: number;
23380
23927
  project_slug: string;
23381
23928
  transaction: string;
23929
+ event_type: 'error' | 'occurrence';
23382
23930
  issue_id: number;
23383
23931
  level: string;
23384
23932
  start_timestamp: number;
@@ -23390,10 +23938,10 @@ export type GetOrganizationTraceResponses = {
23390
23938
  occurrences: Array<{
23391
23939
  description: string;
23392
23940
  event_id: string;
23393
- event_type: string;
23394
23941
  project_id: number;
23395
23942
  project_slug: string;
23396
23943
  transaction: string;
23944
+ event_type: 'error' | 'occurrence';
23397
23945
  issue_id: number;
23398
23946
  level: string;
23399
23947
  start_timestamp: number;
@@ -25645,6 +26193,7 @@ export type GetProjectResponses = {
25645
26193
  verifySSL: boolean;
25646
26194
  scrubIPAddresses: boolean;
25647
26195
  scrapeJavaScript: boolean;
26196
+ enableAutoReleaseCreation: boolean;
25648
26197
  highlightTags: Array<string>;
25649
26198
  highlightContext: {
25650
26199
  [key: string]: unknown;
@@ -25766,6 +26315,10 @@ export type UpdateProjectData = {
25766
26315
  * E.g. `['release', 'environment']`
25767
26316
  */
25768
26317
  highlightTags?: Array<string>;
26318
+ /**
26319
+ * Automatically create releases from ingested events. When disabled, releases must be created manually (e.g. via the Sentry CLI).
26320
+ */
26321
+ enableAutoReleaseCreation?: boolean;
25769
26322
  /**
25770
26323
  * Enable on-demand source context fetching from SCM integrations for stack traces.
25771
26324
  */
@@ -25872,6 +26425,7 @@ export type UpdateProjectResponses = {
25872
26425
  verifySSL: boolean;
25873
26426
  scrubIPAddresses: boolean;
25874
26427
  scrapeJavaScript: boolean;
26428
+ enableAutoReleaseCreation: boolean;
25875
26429
  highlightTags: Array<string>;
25876
26430
  highlightContext: {
25877
26431
  [key: string]: unknown;
@@ -26228,7 +26782,7 @@ export type ListProjectEventsResponses = {
26228
26782
  crashFile: string | null;
26229
26783
  metadata: {
26230
26784
  [key: string]: unknown;
26231
- } | null;
26785
+ };
26232
26786
  }>;
26233
26787
  };
26234
26788
  export type ListProjectEventsResponse = ListProjectEventsResponses[keyof ListProjectEventsResponses];
@@ -26306,18 +26860,49 @@ export type GetProjectEventResponses = {
26306
26860
  entries: Array<unknown>;
26307
26861
  dist: string | null;
26308
26862
  sdk: {
26309
- [key: string]: string;
26310
- };
26863
+ name: string | null;
26864
+ version: string | null;
26865
+ } | null;
26311
26866
  context: {
26312
26867
  [key: string]: unknown;
26313
26868
  } | null;
26314
26869
  packages: {
26315
26870
  [key: string]: unknown;
26316
26871
  };
26317
- type: string;
26318
- metadata: unknown;
26319
- errors: Array<unknown>;
26320
- occurrence: unknown;
26872
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
26873
+ metadata: {
26874
+ [key: string]: unknown;
26875
+ };
26876
+ errors: Array<{
26877
+ type: string;
26878
+ message: string;
26879
+ data: {
26880
+ [key: string]: unknown;
26881
+ };
26882
+ }>;
26883
+ occurrence: {
26884
+ id: string;
26885
+ projectId: number;
26886
+ eventId: string;
26887
+ fingerprint: Array<string>;
26888
+ issueTitle: string;
26889
+ subtitle: string;
26890
+ resourceId: string | null;
26891
+ evidenceData: {
26892
+ [key: string]: unknown;
26893
+ };
26894
+ evidenceDisplay: Array<{
26895
+ name: string;
26896
+ value: string;
26897
+ important: boolean;
26898
+ }>;
26899
+ type: number;
26900
+ detectionTime: number;
26901
+ level: string | null;
26902
+ culprit: string | null;
26903
+ assignee: string | null;
26904
+ priority: number | null;
26905
+ } | null;
26321
26906
  _meta: {
26322
26907
  [key: string]: unknown;
26323
26908
  };
@@ -26325,11 +26910,26 @@ export type GetProjectEventResponses = {
26325
26910
  culprit?: string | null;
26326
26911
  dateCreated?: string;
26327
26912
  fingerprints?: Array<string>;
26328
- groupingConfig?: unknown;
26329
- startTimestamp?: string;
26330
- endTimestamp?: string;
26331
- measurements?: unknown;
26332
- breakdowns?: unknown;
26913
+ groupingConfig?: {
26914
+ id: string;
26915
+ enhancements: string;
26916
+ };
26917
+ startTimestamp?: number;
26918
+ endTimestamp?: number;
26919
+ measurements?: {
26920
+ [key: string]: {
26921
+ value: number;
26922
+ unit: string | null;
26923
+ };
26924
+ } | null;
26925
+ breakdowns?: {
26926
+ [key: string]: {
26927
+ [key: string]: {
26928
+ value: number;
26929
+ unit: string | null;
26930
+ };
26931
+ };
26932
+ } | null;
26333
26933
  release: {
26334
26934
  id?: number;
26335
26935
  commitCount?: number;
@@ -26471,7 +27071,12 @@ export type GetProjectEventAttachmentData = {
26471
27071
  */
26472
27072
  attachment_id: string;
26473
27073
  };
26474
- query?: never;
27074
+ query?: {
27075
+ /**
27076
+ * If this parameter is present, the response will be a binary file download instead of JSON metadata. The value does not matter — any value (including empty) triggers the download.
27077
+ */
27078
+ download?: string;
27079
+ };
26475
27080
  url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/{event_id}/attachments/{attachment_id}/';
26476
27081
  };
26477
27082
  export type GetProjectEventAttachmentErrors = {
@@ -27249,7 +27854,7 @@ export type ListProjectMembersResponses = {
27249
27854
  id: string;
27250
27855
  email: string;
27251
27856
  name: string;
27252
- user?: {
27857
+ user: {
27253
27858
  identities?: Array<{
27254
27859
  id: string;
27255
27860
  name: string;
@@ -27294,7 +27899,7 @@ export type ListProjectMembersResponses = {
27294
27899
  email: string;
27295
27900
  is_verified: boolean;
27296
27901
  }>;
27297
- };
27902
+ } | null;
27298
27903
  orgRole: string;
27299
27904
  pending: boolean;
27300
27905
  expired: boolean;
@@ -28503,6 +29108,65 @@ export type GetProjectPreprodSizeAnalysisStatusCheckRulesResponses = {
28503
29108
  };
28504
29109
  };
28505
29110
  export type GetProjectPreprodSizeAnalysisStatusCheckRulesResponse = GetProjectPreprodSizeAnalysisStatusCheckRulesResponses[keyof GetProjectPreprodSizeAnalysisStatusCheckRulesResponses];
29111
+ export type CreateProjectPreprodSizeAnalysisSkippedStatusCheckData = {
29112
+ body: {
29113
+ /**
29114
+ * The full 40-character lowercase commit SHA.
29115
+ */
29116
+ sha: string;
29117
+ /**
29118
+ * The repository name in `owner/name` format.
29119
+ */
29120
+ repository: string;
29121
+ /**
29122
+ * The repository integration provider.
29123
+ *
29124
+ * * `github`
29125
+ * * `github_enterprise`
29126
+ */
29127
+ provider: 'github' | 'github_enterprise';
29128
+ };
29129
+ path: {
29130
+ /**
29131
+ * The ID or slug of the organization the resource belongs to.
29132
+ */
29133
+ organization_id_or_slug: string;
29134
+ /**
29135
+ * The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.
29136
+ */
29137
+ project_id_or_slug: string;
29138
+ };
29139
+ query?: never;
29140
+ url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/preprod/size-analysis/status-checks/skip/';
29141
+ };
29142
+ export type CreateProjectPreprodSizeAnalysisSkippedStatusCheckErrors = {
29143
+ /**
29144
+ * Bad Request
29145
+ */
29146
+ 400: unknown;
29147
+ /**
29148
+ * Forbidden
29149
+ */
29150
+ 403: unknown;
29151
+ /**
29152
+ * Not Found
29153
+ */
29154
+ 404: unknown;
29155
+ /**
29156
+ * Too Many Requests
29157
+ */
29158
+ 429: unknown;
29159
+ /**
29160
+ * Bad Gateway
29161
+ */
29162
+ 502: unknown;
29163
+ };
29164
+ export type CreateProjectPreprodSizeAnalysisSkippedStatusCheckResponses = {
29165
+ /**
29166
+ * Success
29167
+ */
29168
+ 200: unknown;
29169
+ };
28506
29170
  export type GetProjectPreprodSnapshotStatusCheckRulesData = {
28507
29171
  body?: never;
28508
29172
  path: {
@@ -28540,6 +29204,65 @@ export type GetProjectPreprodSnapshotStatusCheckRulesResponses = {
28540
29204
  };
28541
29205
  };
28542
29206
  export type GetProjectPreprodSnapshotStatusCheckRulesResponse = GetProjectPreprodSnapshotStatusCheckRulesResponses[keyof GetProjectPreprodSnapshotStatusCheckRulesResponses];
29207
+ export type CreateProjectPreprodSnapshotSkippedStatusCheckData = {
29208
+ body: {
29209
+ /**
29210
+ * The full 40-character lowercase commit SHA.
29211
+ */
29212
+ sha: string;
29213
+ /**
29214
+ * The repository name in `owner/name` format.
29215
+ */
29216
+ repository: string;
29217
+ /**
29218
+ * The repository integration provider.
29219
+ *
29220
+ * * `github`
29221
+ * * `github_enterprise`
29222
+ */
29223
+ provider: 'github' | 'github_enterprise';
29224
+ };
29225
+ path: {
29226
+ /**
29227
+ * The ID or slug of the organization the resource belongs to.
29228
+ */
29229
+ organization_id_or_slug: string;
29230
+ /**
29231
+ * The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.
29232
+ */
29233
+ project_id_or_slug: string;
29234
+ };
29235
+ query?: never;
29236
+ url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/preprod/snapshots/status-checks/skip/';
29237
+ };
29238
+ export type CreateProjectPreprodSnapshotSkippedStatusCheckErrors = {
29239
+ /**
29240
+ * Bad Request
29241
+ */
29242
+ 400: unknown;
29243
+ /**
29244
+ * Forbidden
29245
+ */
29246
+ 403: unknown;
29247
+ /**
29248
+ * Not Found
29249
+ */
29250
+ 404: unknown;
29251
+ /**
29252
+ * Too Many Requests
29253
+ */
29254
+ 429: unknown;
29255
+ /**
29256
+ * Bad Gateway
29257
+ */
29258
+ 502: unknown;
29259
+ };
29260
+ export type CreateProjectPreprodSnapshotSkippedStatusCheckResponses = {
29261
+ /**
29262
+ * Success
29263
+ */
29264
+ 200: unknown;
29265
+ };
28543
29266
  export type GetProjectInstallableBuildLatestData = {
28544
29267
  body?: never;
28545
29268
  path: {
@@ -28566,9 +29289,9 @@ export type GetProjectInstallableBuildLatestData = {
28566
29289
  */
28567
29290
  buildVersion?: string;
28568
29291
  /**
28569
- * Current build number. Either this or mainBinaryIdentifier must be provided when buildVersion is set.
29292
+ * Current build number. Accepts a plain integer (e.g. 42) or a version string of two to three period-separated integers (e.g. 1.2.3), each up to 6 digits — the format used by build identifiers such as Apple's CFBundleVersion. Either this or mainBinaryIdentifier must be provided when buildVersion is set.
28570
29293
  */
28571
- buildNumber?: number;
29294
+ buildNumber?: number | string;
28572
29295
  /**
28573
29296
  * UUID of the main binary (e.g. Mach-O UUID for Apple builds). Either this or buildNumber must be provided when buildVersion is set.
28574
29297
  */
@@ -28974,6 +29697,8 @@ export type ListProjectReleaseCommitsResponses = {
28974
29697
  title: string | null;
28975
29698
  message: string | null;
28976
29699
  dateCreated: string;
29700
+ mergedAt: string | null;
29701
+ status: 'merged' | 'open' | 'closed' | 'draft' | 'unknown' | null;
28977
29702
  repository: {
28978
29703
  url?: string | null;
28979
29704
  provider?: {
@@ -30928,6 +31653,7 @@ export type GetSentryAppResponses = {
30928
31653
  photoType: string;
30929
31654
  }>;
30930
31655
  events: Array<string>;
31656
+ webhookEvents: Array<string>;
30931
31657
  featureData: Array<string>;
30932
31658
  isAlertable: boolean;
30933
31659
  metadata: string;
@@ -31042,6 +31768,7 @@ export type UpdateSentryAppResponses = {
31042
31768
  photoType: string;
31043
31769
  }>;
31044
31770
  events: Array<string>;
31771
+ webhookEvents: Array<string>;
31045
31772
  featureData: Array<string>;
31046
31773
  isAlertable: boolean;
31047
31774
  metadata: string;
@@ -32923,6 +33650,17 @@ export type GetOrganizationIssueResponses = {
32923
33650
  userCount?: number;
32924
33651
  firstSeen?: string | null;
32925
33652
  lastSeen?: string | null;
33653
+ derivedData?: {
33654
+ blocker: string;
33655
+ progress: string;
33656
+ status: string;
33657
+ viewCount: number;
33658
+ hasOpenFixPr: boolean;
33659
+ isAssigned: boolean;
33660
+ hasRootCause: boolean;
33661
+ lastCompletedAutofixStep: string;
33662
+ lastProgressedAt: string | null;
33663
+ };
32926
33664
  id: string;
32927
33665
  shareId: string | null;
32928
33666
  shortId: string;
@@ -32930,10 +33668,9 @@ export type GetOrganizationIssueResponses = {
32930
33668
  culprit: string | null;
32931
33669
  permalink: string;
32932
33670
  logger: string | null;
32933
- level: string;
32934
- status: string;
33671
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
33672
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
32935
33673
  statusDetails: {
32936
- autoResolved?: boolean;
32937
33674
  ignoreCount?: number;
32938
33675
  ignoreUntil?: string;
32939
33676
  ignoreUserCount?: number;
@@ -32989,12 +33726,16 @@ export type GetOrganizationIssueResponses = {
32989
33726
  inRelease?: string;
32990
33727
  inCommit?: string;
32991
33728
  pendingEvents?: number;
32992
- info?: unknown;
33729
+ info?: {
33730
+ dateCreated: string;
33731
+ syncCount: number;
33732
+ totalEvents: number;
33733
+ } | null;
32993
33734
  };
32994
- substatus: string | null;
33735
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
32995
33736
  isPublic: boolean;
32996
33737
  platform: string | null;
32997
- priority: string | null;
33738
+ priority: 'low' | 'medium' | 'high' | null;
32998
33739
  priorityLockedAt: string | null;
32999
33740
  seerFixabilityScore: number | null;
33000
33741
  seerAutofixLastTriggered: string | null;
@@ -33005,7 +33746,7 @@ export type GetOrganizationIssueResponses = {
33005
33746
  slug: string;
33006
33747
  platform: string | null;
33007
33748
  };
33008
- type: string;
33749
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
33009
33750
  issueType: string;
33010
33751
  issueCategory: string;
33011
33752
  metadata: {
@@ -33233,6 +33974,17 @@ export type UpdateOrganizationIssueResponses = {
33233
33974
  userCount?: number;
33234
33975
  firstSeen?: string | null;
33235
33976
  lastSeen?: string | null;
33977
+ derivedData?: {
33978
+ blocker: string;
33979
+ progress: string;
33980
+ status: string;
33981
+ viewCount: number;
33982
+ hasOpenFixPr: boolean;
33983
+ isAssigned: boolean;
33984
+ hasRootCause: boolean;
33985
+ lastCompletedAutofixStep: string;
33986
+ lastProgressedAt: string | null;
33987
+ };
33236
33988
  id: string;
33237
33989
  shareId: string | null;
33238
33990
  shortId: string;
@@ -33240,10 +33992,9 @@ export type UpdateOrganizationIssueResponses = {
33240
33992
  culprit: string | null;
33241
33993
  permalink: string;
33242
33994
  logger: string | null;
33243
- level: string;
33244
- status: string;
33995
+ level: 'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown';
33996
+ status: 'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved';
33245
33997
  statusDetails: {
33246
- autoResolved?: boolean;
33247
33998
  ignoreCount?: number;
33248
33999
  ignoreUntil?: string;
33249
34000
  ignoreUserCount?: number;
@@ -33299,12 +34050,16 @@ export type UpdateOrganizationIssueResponses = {
33299
34050
  inRelease?: string;
33300
34051
  inCommit?: string;
33301
34052
  pendingEvents?: number;
33302
- info?: unknown;
34053
+ info?: {
34054
+ dateCreated: string;
34055
+ syncCount: number;
34056
+ totalEvents: number;
34057
+ } | null;
33303
34058
  };
33304
- substatus: string | null;
34059
+ substatus: 'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | null;
33305
34060
  isPublic: boolean;
33306
34061
  platform: string | null;
33307
- priority: string | null;
34062
+ priority: 'low' | 'medium' | 'high' | null;
33308
34063
  priorityLockedAt: string | null;
33309
34064
  seerFixabilityScore: number | null;
33310
34065
  seerAutofixLastTriggered: string | null;
@@ -33315,7 +34070,7 @@ export type UpdateOrganizationIssueResponses = {
33315
34070
  slug: string;
33316
34071
  platform: string | null;
33317
34072
  };
33318
- type: string;
34073
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
33319
34074
  issueType: string;
33320
34075
  issueCategory: string;
33321
34076
  metadata: {
@@ -33439,6 +34194,10 @@ export type StartOrganizationIssueAutofixData = {
33439
34194
  * Referrer identifying where the issue fix was triggered from.
33440
34195
  */
33441
34196
  referrer?: string;
34197
+ /**
34198
+ * Override bash mode tools.
34199
+ */
34200
+ enable_bash_tools?: boolean;
33442
34201
  };
33443
34202
  path: {
33444
34203
  /**
@@ -33592,7 +34351,7 @@ export type ListOrganizationIssueEventsResponses = {
33592
34351
  crashFile: string | null;
33593
34352
  metadata: {
33594
34353
  [key: string]: unknown;
33595
- } | null;
34354
+ };
33596
34355
  }>;
33597
34356
  };
33598
34357
  export type ListOrganizationIssueEventsResponse = ListOrganizationIssueEventsResponses[keyof ListOrganizationIssueEventsResponses];
@@ -33674,18 +34433,49 @@ export type GetOrganizationIssueEventResponses = {
33674
34433
  entries: Array<unknown>;
33675
34434
  dist: string | null;
33676
34435
  sdk: {
33677
- [key: string]: string;
33678
- };
34436
+ name: string | null;
34437
+ version: string | null;
34438
+ } | null;
33679
34439
  context: {
33680
34440
  [key: string]: unknown;
33681
34441
  } | null;
33682
34442
  packages: {
33683
34443
  [key: string]: unknown;
33684
34444
  };
33685
- type: string;
33686
- metadata: unknown;
33687
- errors: Array<unknown>;
33688
- occurrence: unknown;
34445
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
34446
+ metadata: {
34447
+ [key: string]: unknown;
34448
+ };
34449
+ errors: Array<{
34450
+ type: string;
34451
+ message: string;
34452
+ data: {
34453
+ [key: string]: unknown;
34454
+ };
34455
+ }>;
34456
+ occurrence: {
34457
+ id: string;
34458
+ projectId: number;
34459
+ eventId: string;
34460
+ fingerprint: Array<string>;
34461
+ issueTitle: string;
34462
+ subtitle: string;
34463
+ resourceId: string | null;
34464
+ evidenceData: {
34465
+ [key: string]: unknown;
34466
+ };
34467
+ evidenceDisplay: Array<{
34468
+ name: string;
34469
+ value: string;
34470
+ important: boolean;
34471
+ }>;
34472
+ type: number;
34473
+ detectionTime: number;
34474
+ level: string | null;
34475
+ culprit: string | null;
34476
+ assignee: string | null;
34477
+ priority: number | null;
34478
+ } | null;
33689
34479
  _meta: {
33690
34480
  [key: string]: unknown;
33691
34481
  };
@@ -33693,11 +34483,26 @@ export type GetOrganizationIssueEventResponses = {
33693
34483
  culprit?: string | null;
33694
34484
  dateCreated?: string;
33695
34485
  fingerprints?: Array<string>;
33696
- groupingConfig?: unknown;
33697
- startTimestamp?: string;
33698
- endTimestamp?: string;
33699
- measurements?: unknown;
33700
- breakdowns?: unknown;
34486
+ groupingConfig?: {
34487
+ id: string;
34488
+ enhancements: string;
34489
+ };
34490
+ startTimestamp?: number;
34491
+ endTimestamp?: number;
34492
+ measurements?: {
34493
+ [key: string]: {
34494
+ value: number;
34495
+ unit: string | null;
34496
+ };
34497
+ } | null;
34498
+ breakdowns?: {
34499
+ [key: string]: {
34500
+ [key: string]: {
34501
+ value: number;
34502
+ unit: string | null;
34503
+ };
34504
+ };
34505
+ } | null;
33701
34506
  release: {
33702
34507
  id?: number;
33703
34508
  commitCount?: number;
@@ -33862,18 +34667,49 @@ export type ListOrganizationIssueHashesResponses = {
33862
34667
  entries: Array<unknown>;
33863
34668
  dist: string | null;
33864
34669
  sdk: {
33865
- [key: string]: string;
33866
- };
34670
+ name: string | null;
34671
+ version: string | null;
34672
+ } | null;
33867
34673
  context: {
33868
34674
  [key: string]: unknown;
33869
34675
  } | null;
33870
34676
  packages: {
33871
34677
  [key: string]: unknown;
33872
34678
  };
33873
- type: string;
33874
- metadata: unknown;
33875
- errors: Array<unknown>;
33876
- occurrence: unknown;
34679
+ type: 'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback';
34680
+ metadata: {
34681
+ [key: string]: unknown;
34682
+ };
34683
+ errors: Array<{
34684
+ type: string;
34685
+ message: string;
34686
+ data: {
34687
+ [key: string]: unknown;
34688
+ };
34689
+ }>;
34690
+ occurrence: {
34691
+ id: string;
34692
+ projectId: number;
34693
+ eventId: string;
34694
+ fingerprint: Array<string>;
34695
+ issueTitle: string;
34696
+ subtitle: string;
34697
+ resourceId: string | null;
34698
+ evidenceData: {
34699
+ [key: string]: unknown;
34700
+ };
34701
+ evidenceDisplay: Array<{
34702
+ name: string;
34703
+ value: string;
34704
+ important: boolean;
34705
+ }>;
34706
+ type: number;
34707
+ detectionTime: number;
34708
+ level: string | null;
34709
+ culprit: string | null;
34710
+ assignee: string | null;
34711
+ priority: number | null;
34712
+ } | null;
33877
34713
  _meta: {
33878
34714
  [key: string]: unknown;
33879
34715
  };
@@ -33881,11 +34717,26 @@ export type ListOrganizationIssueHashesResponses = {
33881
34717
  culprit?: string | null;
33882
34718
  dateCreated?: string;
33883
34719
  fingerprints?: Array<string>;
33884
- groupingConfig?: unknown;
33885
- startTimestamp?: string;
33886
- endTimestamp?: string;
33887
- measurements?: unknown;
33888
- breakdowns?: unknown;
34720
+ groupingConfig?: {
34721
+ id: string;
34722
+ enhancements: string;
34723
+ };
34724
+ startTimestamp?: number;
34725
+ endTimestamp?: number;
34726
+ measurements?: {
34727
+ [key: string]: {
34728
+ value: number;
34729
+ unit: string | null;
34730
+ };
34731
+ } | null;
34732
+ breakdowns?: {
34733
+ [key: string]: {
34734
+ [key: string]: {
34735
+ value: number;
34736
+ unit: string | null;
34737
+ };
34738
+ };
34739
+ } | null;
33889
34740
  } | {
33890
34741
  id: string;
33891
34742
  'event.type': string;
@@ -33919,7 +34770,7 @@ export type ListOrganizationIssueHashesResponses = {
33919
34770
  crashFile: string | null;
33920
34771
  metadata: {
33921
34772
  [key: string]: unknown;
33922
- } | null;
34773
+ };
33923
34774
  } | {
33924
34775
  [key: string]: unknown;
33925
34776
  } | null;
@@ -33928,6 +34779,223 @@ export type ListOrganizationIssueHashesResponses = {
33928
34779
  }>;
33929
34780
  };
33930
34781
  export type ListOrganizationIssueHashesResponse = ListOrganizationIssueHashesResponses[keyof ListOrganizationIssueHashesResponses];
34782
+ export type DeleteOrganizationIssueIntegrationData = {
34783
+ body?: never;
34784
+ path: {
34785
+ /**
34786
+ * The ID or slug of the organization the resource belongs to.
34787
+ */
34788
+ organization_id_or_slug: string;
34789
+ /**
34790
+ * The ID of the issue you'd like to query.
34791
+ */
34792
+ issue_id: string;
34793
+ /**
34794
+ * The ID of the integration installed on the organization.
34795
+ */
34796
+ integration_id: string;
34797
+ };
34798
+ query: {
34799
+ /**
34800
+ * The ID of the `ExternalIssue` link to remove.
34801
+ */
34802
+ externalIssue: number;
34803
+ };
34804
+ url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/integrations/{integration_id}/';
34805
+ };
34806
+ export type DeleteOrganizationIssueIntegrationErrors = {
34807
+ /**
34808
+ * Bad Request
34809
+ */
34810
+ 400: unknown;
34811
+ /**
34812
+ * Forbidden
34813
+ */
34814
+ 403: unknown;
34815
+ /**
34816
+ * Not Found
34817
+ */
34818
+ 404: unknown;
34819
+ };
34820
+ export type DeleteOrganizationIssueIntegrationResponses = {
34821
+ /**
34822
+ * No Content
34823
+ */
34824
+ 204: void;
34825
+ };
34826
+ export type DeleteOrganizationIssueIntegrationResponse = DeleteOrganizationIssueIntegrationResponses[keyof DeleteOrganizationIssueIntegrationResponses];
34827
+ export type GetOrganizationIssueIntegrationData = {
34828
+ body?: never;
34829
+ path: {
34830
+ /**
34831
+ * The ID or slug of the organization the resource belongs to.
34832
+ */
34833
+ organization_id_or_slug: string;
34834
+ /**
34835
+ * The ID of the issue you'd like to query.
34836
+ */
34837
+ issue_id: string;
34838
+ /**
34839
+ * The ID of the integration installed on the organization.
34840
+ */
34841
+ integration_id: string;
34842
+ };
34843
+ query: {
34844
+ /**
34845
+ * Whether to fetch the config for linking an existing external issue (`link`) or creating a new one (`create`).
34846
+ */
34847
+ action: 'create' | 'link';
34848
+ };
34849
+ url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/integrations/{integration_id}/';
34850
+ };
34851
+ export type GetOrganizationIssueIntegrationErrors = {
34852
+ /**
34853
+ * Bad Request
34854
+ */
34855
+ 400: unknown;
34856
+ /**
34857
+ * Unauthorized
34858
+ */
34859
+ 401: unknown;
34860
+ /**
34861
+ * Forbidden
34862
+ */
34863
+ 403: unknown;
34864
+ /**
34865
+ * Not Found
34866
+ */
34867
+ 404: unknown;
34868
+ };
34869
+ export type GetOrganizationIssueIntegrationResponses = {
34870
+ 200: {
34871
+ id: string;
34872
+ name: string;
34873
+ icon: string | null;
34874
+ domainName: string | null;
34875
+ accountType: string | null;
34876
+ scopes: Array<string> | null;
34877
+ outOfDate: boolean | null;
34878
+ status: string;
34879
+ provider: {
34880
+ key: string;
34881
+ slug: string;
34882
+ name: string;
34883
+ canAdd: boolean;
34884
+ canDisable: boolean;
34885
+ features: Array<string>;
34886
+ aspects: {
34887
+ [key: string]: unknown;
34888
+ };
34889
+ };
34890
+ linkIssueConfig?: Array<{
34891
+ [key: string]: unknown;
34892
+ }>;
34893
+ createIssueConfig?: Array<{
34894
+ [key: string]: unknown;
34895
+ }>;
34896
+ };
34897
+ };
34898
+ export type GetOrganizationIssueIntegrationResponse = GetOrganizationIssueIntegrationResponses[keyof GetOrganizationIssueIntegrationResponses];
34899
+ export type CreateOrganizationIssueIntegrationData = {
34900
+ body: {
34901
+ /**
34902
+ * The title of the external issue to create.
34903
+ */
34904
+ title: string;
34905
+ /**
34906
+ * The description (body) of the external issue to create.
34907
+ */
34908
+ description?: string;
34909
+ };
34910
+ path: {
34911
+ /**
34912
+ * The ID or slug of the organization the resource belongs to.
34913
+ */
34914
+ organization_id_or_slug: string;
34915
+ /**
34916
+ * The ID of the issue you'd like to query.
34917
+ */
34918
+ issue_id: string;
34919
+ /**
34920
+ * The ID of the integration installed on the organization.
34921
+ */
34922
+ integration_id: string;
34923
+ };
34924
+ query?: never;
34925
+ url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/integrations/{integration_id}/';
34926
+ };
34927
+ export type CreateOrganizationIssueIntegrationErrors = {
34928
+ /**
34929
+ * Bad Request
34930
+ */
34931
+ 400: unknown;
34932
+ /**
34933
+ * Unauthorized
34934
+ */
34935
+ 401: unknown;
34936
+ /**
34937
+ * Not Found
34938
+ */
34939
+ 404: unknown;
34940
+ };
34941
+ export type CreateOrganizationIssueIntegrationResponses = {
34942
+ 201: {
34943
+ id: number;
34944
+ key: string;
34945
+ url: string;
34946
+ integrationId: number;
34947
+ displayName: string;
34948
+ };
34949
+ };
34950
+ export type CreateOrganizationIssueIntegrationResponse = CreateOrganizationIssueIntegrationResponses[keyof CreateOrganizationIssueIntegrationResponses];
34951
+ export type UpdateOrganizationIssueIntegrationData = {
34952
+ body: {
34953
+ /**
34954
+ * The identifier of the existing external issue to link, as understood by the provider (such as a Jira issue key).
34955
+ */
34956
+ externalIssue: string;
34957
+ };
34958
+ path: {
34959
+ /**
34960
+ * The ID or slug of the organization the resource belongs to.
34961
+ */
34962
+ organization_id_or_slug: string;
34963
+ /**
34964
+ * The ID of the issue you'd like to query.
34965
+ */
34966
+ issue_id: string;
34967
+ /**
34968
+ * The ID of the integration installed on the organization.
34969
+ */
34970
+ integration_id: string;
34971
+ };
34972
+ query?: never;
34973
+ url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/integrations/{integration_id}/';
34974
+ };
34975
+ export type UpdateOrganizationIssueIntegrationErrors = {
34976
+ /**
34977
+ * Bad Request
34978
+ */
34979
+ 400: unknown;
34980
+ /**
34981
+ * Unauthorized
34982
+ */
34983
+ 401: unknown;
34984
+ /**
34985
+ * Not Found
34986
+ */
34987
+ 404: unknown;
34988
+ };
34989
+ export type UpdateOrganizationIssueIntegrationResponses = {
34990
+ 201: {
34991
+ id: number;
34992
+ key: string;
34993
+ url: string;
34994
+ integrationId: number;
34995
+ displayName: string;
34996
+ };
34997
+ };
34998
+ export type UpdateOrganizationIssueIntegrationResponse = UpdateOrganizationIssueIntegrationResponses[keyof UpdateOrganizationIssueIntegrationResponses];
33931
34999
  export type GetOrganizationIssueTagData = {
33932
35000
  body?: never;
33933
35001
  path: {