@vibexp/api-client 0.91.0 → 0.93.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.
@@ -4465,25 +4465,29 @@ export type UpdateTeamSearchSettingsRequest = {
4465
4465
  rank_half_life_days: number;
4466
4466
  };
4467
4467
  /**
4468
- * The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n and max_output_tokens caps, and whether the team can currently use AI summaries at all.
4468
+ * The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, and whether the team can currently use AI summaries at all. `max_top_n` and `max_output_tokens_ceiling` are deprecated and report the hard code limits.
4469
4469
  *
4470
4470
  */
4471
4471
  export type TeamAiSummarySettings = {
4472
4472
  /**
4473
- * Where the effective values come from. `instance` means the team has no override and inherits the deployment defaults; `team` means the team has stored its own profile.
4473
+ * Where the effective values come from. `instance` means the team has no override and inherits the instance defaults; `team` means the team has stored its own profile.
4474
4474
  *
4475
4475
  */
4476
4476
  source: 'instance' | 'team';
4477
4477
  values: TeamAiSummarySettingsValues;
4478
4478
  instance_defaults: TeamAiSummarySettingsValues;
4479
4479
  /**
4480
- * Instance-owned ceiling on `top_n`, from `ai_summary.max_top_n`. Not team-configurable — exposed so clients can bound their own input control instead of guessing.
4480
+ * The hard code limit on `top_n` (always 10); kept for client compatibility, to be removed in a later minor. No instance setting narrows it any more.
4481
+ *
4481
4482
  *
4483
+ * @deprecated
4482
4484
  */
4483
4485
  max_top_n: number;
4484
4486
  /**
4485
- * Instance-owned ceiling on `max_output_tokens`, from `ai_summary.max_output_tokens_ceiling`. Not team-configurable — exposed so clients can bound their own input control instead of guessing.
4487
+ * The hard code limit on `max_output_tokens` (always 32768); kept for client compatibility, to be removed in a later minor. No instance setting narrows it any more.
4486
4488
  *
4489
+ *
4490
+ * @deprecated
4487
4491
  */
4488
4492
  max_output_tokens_ceiling: number;
4489
4493
  /**
@@ -4506,7 +4510,7 @@ export type TeamAiSummarySettingsValues = {
4506
4510
  */
4507
4511
  model_provider_id: string | null;
4508
4512
  /**
4509
- * How many top-ranked documents are fed to the summarizer. Bounded above by the instance's max_top_n.
4513
+ * How many top-ranked documents are fed to the summarizer. At most 10 (the hard limit).
4510
4514
  */
4511
4515
  top_n: number;
4512
4516
  /**
@@ -4514,12 +4518,12 @@ export type TeamAiSummarySettingsValues = {
4514
4518
  */
4515
4519
  style: 'concise' | 'balanced' | 'detailed';
4516
4520
  /**
4517
- * Upper bound on tokens the summarizer may generate, within the instance cap.
4521
+ * Upper bound on tokens the summarizer may generate. At most 32768 (the hard limit).
4518
4522
  */
4519
4523
  max_output_tokens: number;
4520
4524
  };
4521
4525
  /**
4522
- * A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n`, `max_output_tokens_ceiling` and `available` are deliberately absent — all are computed, not settable.
4526
+ * A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `top_n` is at most 10 and `max_output_tokens` at most 32768 (the hard limits; a larger value is rejected with 400). `max_top_n`, `max_output_tokens_ceiling` and `available` are deliberately absent — all are computed, not settable.
4523
4527
  *
4524
4528
  */
4525
4529
  export type UpdateTeamAiSummarySettingsRequest = {
@@ -5530,11 +5534,17 @@ export type AdminTeamAiSummaryConfig = {
5530
5534
  */
5531
5535
  model_provider_name: string | null;
5532
5536
  /**
5533
- * Instance-owned upper bound on `top_n`.
5537
+ * The hard code limit on `top_n` (always 10); kept for client compatibility, to be removed in a later minor.
5538
+ *
5539
+ *
5540
+ * @deprecated
5534
5541
  */
5535
5542
  max_top_n: number;
5536
5543
  /**
5537
- * Instance-owned upper bound on `max_output_tokens`.
5544
+ * The hard code limit on `max_output_tokens` (always 32768); kept for client compatibility, to be removed in a later minor.
5545
+ *
5546
+ *
5547
+ * @deprecated
5538
5548
  */
5539
5549
  max_output_tokens_ceiling: number;
5540
5550
  /**
@@ -6226,9 +6236,12 @@ export type AdminInstanceEmailSettings = {
6226
6236
  };
6227
6237
  /**
6228
6238
  * One append-only change to an instance setting. `before` and `after` are
6229
- * REDACTED snapshots: they never contain a credential, only
6230
- * `has_credential` and, on an upsert's `after`, a `secret` marker saying
6231
- * whether the credential was `changed` or `unchanged`.
6239
+ * snapshots of the setting's values, filtered to that setting's allowlisted
6240
+ * keys, and never contain a credential. For `email_provider` they report
6241
+ * only `has_credential` and, on an upsert's `after`, a `secret` marker
6242
+ * saying whether the credential was `changed` or `unchanged`; the `search`
6243
+ * and `ai_summary` snapshots are the settings' values, which hold no
6244
+ * credential.
6232
6245
  *
6233
6246
  */
6234
6247
  export type AdminInstanceSettingsAuditEntry = {
@@ -6239,7 +6252,7 @@ export type AdminInstanceSettingsAuditEntry = {
6239
6252
  /**
6240
6253
  * The instance setting the entry describes.
6241
6254
  */
6242
- setting: string;
6255
+ setting: 'email_provider' | 'search' | 'ai_summary';
6243
6256
  /**
6244
6257
  * `upsert` (created or replaced by an admin), `delete` (removed by an
6245
6258
  * admin) or `import` (the boot-time import from config.yaml, which has no
@@ -6284,6 +6297,222 @@ export type AdminInstanceSettingsAuditPage = {
6284
6297
  */
6285
6298
  next_cursor: string | null;
6286
6299
  };
6300
+ /**
6301
+ * Where the instance values come from: `instance` when an instance admin (or
6302
+ * the boot-time config import) stored them, `default` when nothing is stored
6303
+ * and the built-in defaults apply.
6304
+ *
6305
+ */
6306
+ export type AdminInstanceSettingsSource = 'instance' | 'default';
6307
+ /**
6308
+ * The instance search ranking defaults. Every team without its own search
6309
+ * settings ranks with these; `rank_candidate_cap` is instance-only and applies
6310
+ * to every team.
6311
+ *
6312
+ */
6313
+ export type AdminInstanceSearchValues = {
6314
+ /**
6315
+ * Whether search results are re-ranked by recency.
6316
+ */
6317
+ recency_ranking_enabled: boolean;
6318
+ /**
6319
+ * Weight of semantic relevance. The three weights must not all be zero.
6320
+ */
6321
+ rank_weight_relevance: number;
6322
+ /**
6323
+ * Weight of creation recency.
6324
+ */
6325
+ rank_weight_created: number;
6326
+ /**
6327
+ * Weight of update recency.
6328
+ */
6329
+ rank_weight_updated: number;
6330
+ /**
6331
+ * Recency half-life in days.
6332
+ */
6333
+ rank_half_life_days: number;
6334
+ /**
6335
+ * How many rows are pulled and re-ranked per search.
6336
+ */
6337
+ rank_candidate_cap: number;
6338
+ };
6339
+ /**
6340
+ * The hard bounds the search values are validated against, for form validation.
6341
+ */
6342
+ export type AdminInstanceSearchLimits = {
6343
+ /**
6344
+ * The smallest allowed weight. The three weights must also not all be zero.
6345
+ */
6346
+ rank_weight_min: number;
6347
+ /**
6348
+ * The largest allowed half-life, in days. The half-life must also be positive.
6349
+ */
6350
+ rank_half_life_days_max: number;
6351
+ rank_candidate_cap_min: number;
6352
+ rank_candidate_cap_max: number;
6353
+ };
6354
+ /**
6355
+ * The instance search ranking defaults in effect, where they come from and
6356
+ * how many teams ignore them because they store search settings of their own.
6357
+ *
6358
+ */
6359
+ export type AdminInstanceSearchSettings = {
6360
+ values: AdminInstanceSearchValues;
6361
+ source: AdminInstanceSettingsSource;
6362
+ built_in_defaults: AdminInstanceSearchValues;
6363
+ limits: AdminInstanceSearchLimits;
6364
+ /**
6365
+ * How many teams store search settings of their own, so a change here does not reach them.
6366
+ */
6367
+ teams_with_override: number;
6368
+ /**
6369
+ * When the values were last stored; null when `source` is `default`.
6370
+ */
6371
+ updated_at: string | null;
6372
+ /**
6373
+ * The admin who last stored the values. Null when `source` is `default`,
6374
+ * for the boot-time import, or once that user has been deleted.
6375
+ *
6376
+ */
6377
+ updated_by_user_id: string | null;
6378
+ /**
6379
+ * That admin's display name (or email), when it could be resolved.
6380
+ */
6381
+ updated_by_name: string | null;
6382
+ /**
6383
+ * The stored row's optimistic-lock version; null when nothing is stored.
6384
+ * Send it back as `expected_version` to reject a save that would
6385
+ * overwrite someone else's change.
6386
+ *
6387
+ */
6388
+ version: number | null;
6389
+ };
6390
+ /**
6391
+ * A whole replacement of the instance search ranking defaults. Every value is
6392
+ * required. `expected_version` is optional: when present, the save is
6393
+ * rejected with 409 unless it equals the stored version (and when nothing is
6394
+ * stored, any `expected_version` other than null is a conflict). Omit it for
6395
+ * last-write-wins.
6396
+ *
6397
+ */
6398
+ export type AdminInstanceSearchSettingsUpdate = {
6399
+ recency_ranking_enabled: boolean;
6400
+ rank_weight_relevance: number;
6401
+ rank_weight_created: number;
6402
+ rank_weight_updated: number;
6403
+ rank_half_life_days: number;
6404
+ rank_candidate_cap: number;
6405
+ /**
6406
+ * The `version` the caller last read; omit or null for last-write-wins.
6407
+ */
6408
+ expected_version?: number | null;
6409
+ };
6410
+ /**
6411
+ * How detailed a summary is.
6412
+ */
6413
+ export type AdminInstanceAiSummaryStyle = 'concise' | 'balanced' | 'detailed';
6414
+ /**
6415
+ * The instance AI summary defaults and budgets. `enabled`, `top_n`, `style`
6416
+ * and `max_output_tokens` are the defaults every team without its own AI
6417
+ * summary settings uses; the character budgets and the request timeout are
6418
+ * instance-only and apply to every team.
6419
+ *
6420
+ */
6421
+ export type AdminInstanceAiSummaryValues = {
6422
+ enabled: boolean;
6423
+ /**
6424
+ * How many search results a summary reads.
6425
+ */
6426
+ top_n: number;
6427
+ style: AdminInstanceAiSummaryStyle;
6428
+ max_output_tokens: number;
6429
+ /**
6430
+ * How many characters of each document a summary reads.
6431
+ */
6432
+ per_document_chars: number;
6433
+ /**
6434
+ * The total character budget of one summary's context; at least `per_document_chars`.
6435
+ */
6436
+ total_context_chars: number;
6437
+ /**
6438
+ * The summary request timeout, in milliseconds.
6439
+ */
6440
+ request_timeout_ms: number;
6441
+ };
6442
+ /**
6443
+ * The hard bounds the AI summary values are validated against, for form validation.
6444
+ */
6445
+ export type AdminInstanceAiSummaryLimits = {
6446
+ top_n_min: number;
6447
+ top_n_max: number;
6448
+ max_output_tokens_min: number;
6449
+ max_output_tokens_max: number;
6450
+ /**
6451
+ * The smallest allowed character budget. `total_context_chars` must also be at least `per_document_chars`.
6452
+ */
6453
+ chars_min: number;
6454
+ chars_max: number;
6455
+ request_timeout_ms_min: number;
6456
+ request_timeout_ms_max: number;
6457
+ };
6458
+ /**
6459
+ * The instance AI summary defaults in effect, where they come from and how
6460
+ * many teams ignore the defaults because they store AI summary settings of
6461
+ * their own. The instance-only budgets reach every team regardless.
6462
+ *
6463
+ */
6464
+ export type AdminInstanceAiSummarySettings = {
6465
+ values: AdminInstanceAiSummaryValues;
6466
+ source: AdminInstanceSettingsSource;
6467
+ built_in_defaults: AdminInstanceAiSummaryValues;
6468
+ limits: AdminInstanceAiSummaryLimits;
6469
+ /**
6470
+ * How many teams store AI summary settings of their own, so a change to the team defaults does not reach them.
6471
+ */
6472
+ teams_with_override: number;
6473
+ /**
6474
+ * When the values were last stored; null when `source` is `default`.
6475
+ */
6476
+ updated_at: string | null;
6477
+ /**
6478
+ * The admin who last stored the values. Null when `source` is `default`,
6479
+ * for the boot-time import, or once that user has been deleted.
6480
+ *
6481
+ */
6482
+ updated_by_user_id: string | null;
6483
+ /**
6484
+ * That admin's display name (or email), when it could be resolved.
6485
+ */
6486
+ updated_by_name: string | null;
6487
+ /**
6488
+ * The stored row's optimistic-lock version; null when nothing is stored.
6489
+ * Send it back as `expected_version` to reject a save that would
6490
+ * overwrite someone else's change.
6491
+ *
6492
+ */
6493
+ version: number | null;
6494
+ };
6495
+ /**
6496
+ * A whole replacement of the instance AI summary settings. Every value is
6497
+ * required. `expected_version` is optional: when present, the save is
6498
+ * rejected with 409 unless it equals the stored version (and when nothing is
6499
+ * stored, any `expected_version` other than null is a conflict). Omit it for
6500
+ * last-write-wins.
6501
+ *
6502
+ */
6503
+ export type AdminInstanceAiSummarySettingsUpdate = {
6504
+ enabled: boolean;
6505
+ top_n: number;
6506
+ style: AdminInstanceAiSummaryStyle;
6507
+ max_output_tokens: number;
6508
+ per_document_chars: number;
6509
+ total_context_chars: number;
6510
+ request_timeout_ms: number;
6511
+ /**
6512
+ * The `version` the caller last read; omit or null for last-write-wins.
6513
+ */
6514
+ expected_version?: number | null;
6515
+ };
6287
6516
  export type ProjectResponse = Project & {
6288
6517
  /**
6289
6518
  * Whether the project's git URL matches a repository accessible via the team's GitHub App installation
@@ -14981,6 +15210,248 @@ export type ListAdminInstanceEmailSettingsAuditResponses = {
14981
15210
  200: AdminInstanceSettingsAuditPage;
14982
15211
  };
14983
15212
  export type ListAdminInstanceEmailSettingsAuditResponse = ListAdminInstanceEmailSettingsAuditResponses[keyof ListAdminInstanceEmailSettingsAuditResponses];
15213
+ export type ResetAdminSearchSettingsData = {
15214
+ body?: never;
15215
+ path?: never;
15216
+ query?: never;
15217
+ url: '/api/v1/admin/settings/search';
15218
+ };
15219
+ export type ResetAdminSearchSettingsErrors = {
15220
+ /**
15221
+ * Not found — the caller is not an instance admin
15222
+ */
15223
+ 404: ErrorResponse;
15224
+ /**
15225
+ * Internal server error
15226
+ */
15227
+ 500: ErrorResponse;
15228
+ };
15229
+ export type ResetAdminSearchSettingsError = ResetAdminSearchSettingsErrors[keyof ResetAdminSearchSettingsErrors];
15230
+ export type ResetAdminSearchSettingsResponses = {
15231
+ /**
15232
+ * The built-in defaults now apply
15233
+ */
15234
+ 204: void;
15235
+ };
15236
+ export type ResetAdminSearchSettingsResponse = ResetAdminSearchSettingsResponses[keyof ResetAdminSearchSettingsResponses];
15237
+ export type GetAdminSearchSettingsData = {
15238
+ body?: never;
15239
+ path?: never;
15240
+ query?: never;
15241
+ url: '/api/v1/admin/settings/search';
15242
+ };
15243
+ export type GetAdminSearchSettingsErrors = {
15244
+ /**
15245
+ * Not found — the caller is not an instance admin
15246
+ */
15247
+ 404: ErrorResponse;
15248
+ /**
15249
+ * Internal server error
15250
+ */
15251
+ 500: ErrorResponse;
15252
+ };
15253
+ export type GetAdminSearchSettingsError = GetAdminSearchSettingsErrors[keyof GetAdminSearchSettingsErrors];
15254
+ export type GetAdminSearchSettingsResponses = {
15255
+ /**
15256
+ * The instance search ranking settings
15257
+ */
15258
+ 200: AdminInstanceSearchSettings;
15259
+ };
15260
+ export type GetAdminSearchSettingsResponse = GetAdminSearchSettingsResponses[keyof GetAdminSearchSettingsResponses];
15261
+ export type UpdateAdminSearchSettingsData = {
15262
+ body: AdminInstanceSearchSettingsUpdate;
15263
+ path?: never;
15264
+ query?: never;
15265
+ url: '/api/v1/admin/settings/search';
15266
+ };
15267
+ export type UpdateAdminSearchSettingsErrors = {
15268
+ /**
15269
+ * Bad request — a value is out of bounds (`INSTANCE_SETTINGS_VALIDATION_FAILED`,
15270
+ * with `validation_errors` naming each offending field), or the body is
15271
+ * malformed, omits or nulls a value field (every value is required), or
15272
+ * carries an unknown field
15273
+ *
15274
+ */
15275
+ 400: ErrorResponse;
15276
+ /**
15277
+ * Not found — the caller is not an instance admin
15278
+ */
15279
+ 404: ErrorResponse;
15280
+ /**
15281
+ * Conflict — `expected_version` does not match the stored version (`INSTANCE_SETTINGS_VERSION_CONFLICT`); nothing was changed
15282
+ */
15283
+ 409: ErrorResponse;
15284
+ /**
15285
+ * Internal server error
15286
+ */
15287
+ 500: ErrorResponse;
15288
+ };
15289
+ export type UpdateAdminSearchSettingsError = UpdateAdminSearchSettingsErrors[keyof UpdateAdminSearchSettingsErrors];
15290
+ export type UpdateAdminSearchSettingsResponses = {
15291
+ /**
15292
+ * The stored settings (`source` is `instance`)
15293
+ */
15294
+ 200: AdminInstanceSearchSettings;
15295
+ };
15296
+ export type UpdateAdminSearchSettingsResponse = UpdateAdminSearchSettingsResponses[keyof UpdateAdminSearchSettingsResponses];
15297
+ export type ListAdminSearchSettingsAuditData = {
15298
+ body?: never;
15299
+ path?: never;
15300
+ query?: {
15301
+ /**
15302
+ * Opaque cursor from a previous page's `next_cursor`.
15303
+ */
15304
+ cursor?: string;
15305
+ /**
15306
+ * Page size.
15307
+ */
15308
+ limit?: number;
15309
+ };
15310
+ url: '/api/v1/admin/settings/search/audit';
15311
+ };
15312
+ export type ListAdminSearchSettingsAuditErrors = {
15313
+ /**
15314
+ * Bad request — malformed cursor, or `limit` out of range
15315
+ */
15316
+ 400: ErrorResponse;
15317
+ /**
15318
+ * Not found — the caller is not an instance admin
15319
+ */
15320
+ 404: ErrorResponse;
15321
+ /**
15322
+ * Internal server error
15323
+ */
15324
+ 500: ErrorResponse;
15325
+ };
15326
+ export type ListAdminSearchSettingsAuditError = ListAdminSearchSettingsAuditErrors[keyof ListAdminSearchSettingsAuditErrors];
15327
+ export type ListAdminSearchSettingsAuditResponses = {
15328
+ /**
15329
+ * One page of audit entries, newest first
15330
+ */
15331
+ 200: AdminInstanceSettingsAuditPage;
15332
+ };
15333
+ export type ListAdminSearchSettingsAuditResponse = ListAdminSearchSettingsAuditResponses[keyof ListAdminSearchSettingsAuditResponses];
15334
+ export type ResetAdminAiSummarySettingsData = {
15335
+ body?: never;
15336
+ path?: never;
15337
+ query?: never;
15338
+ url: '/api/v1/admin/settings/ai-summary';
15339
+ };
15340
+ export type ResetAdminAiSummarySettingsErrors = {
15341
+ /**
15342
+ * Not found — the caller is not an instance admin
15343
+ */
15344
+ 404: ErrorResponse;
15345
+ /**
15346
+ * Internal server error
15347
+ */
15348
+ 500: ErrorResponse;
15349
+ };
15350
+ export type ResetAdminAiSummarySettingsError = ResetAdminAiSummarySettingsErrors[keyof ResetAdminAiSummarySettingsErrors];
15351
+ export type ResetAdminAiSummarySettingsResponses = {
15352
+ /**
15353
+ * The built-in defaults now apply
15354
+ */
15355
+ 204: void;
15356
+ };
15357
+ export type ResetAdminAiSummarySettingsResponse = ResetAdminAiSummarySettingsResponses[keyof ResetAdminAiSummarySettingsResponses];
15358
+ export type GetAdminAiSummarySettingsData = {
15359
+ body?: never;
15360
+ path?: never;
15361
+ query?: never;
15362
+ url: '/api/v1/admin/settings/ai-summary';
15363
+ };
15364
+ export type GetAdminAiSummarySettingsErrors = {
15365
+ /**
15366
+ * Not found — the caller is not an instance admin
15367
+ */
15368
+ 404: ErrorResponse;
15369
+ /**
15370
+ * Internal server error
15371
+ */
15372
+ 500: ErrorResponse;
15373
+ };
15374
+ export type GetAdminAiSummarySettingsError = GetAdminAiSummarySettingsErrors[keyof GetAdminAiSummarySettingsErrors];
15375
+ export type GetAdminAiSummarySettingsResponses = {
15376
+ /**
15377
+ * The instance AI summary settings
15378
+ */
15379
+ 200: AdminInstanceAiSummarySettings;
15380
+ };
15381
+ export type GetAdminAiSummarySettingsResponse = GetAdminAiSummarySettingsResponses[keyof GetAdminAiSummarySettingsResponses];
15382
+ export type UpdateAdminAiSummarySettingsData = {
15383
+ body: AdminInstanceAiSummarySettingsUpdate;
15384
+ path?: never;
15385
+ query?: never;
15386
+ url: '/api/v1/admin/settings/ai-summary';
15387
+ };
15388
+ export type UpdateAdminAiSummarySettingsErrors = {
15389
+ /**
15390
+ * Bad request — a value is out of bounds (`INSTANCE_SETTINGS_VALIDATION_FAILED`,
15391
+ * with `validation_errors` naming each offending field), or the body is
15392
+ * malformed, omits or nulls a value field (every value is required), or
15393
+ * carries an unknown field
15394
+ *
15395
+ */
15396
+ 400: ErrorResponse;
15397
+ /**
15398
+ * Not found — the caller is not an instance admin
15399
+ */
15400
+ 404: ErrorResponse;
15401
+ /**
15402
+ * Conflict — `expected_version` does not match the stored version (`INSTANCE_SETTINGS_VERSION_CONFLICT`); nothing was changed
15403
+ */
15404
+ 409: ErrorResponse;
15405
+ /**
15406
+ * Internal server error
15407
+ */
15408
+ 500: ErrorResponse;
15409
+ };
15410
+ export type UpdateAdminAiSummarySettingsError = UpdateAdminAiSummarySettingsErrors[keyof UpdateAdminAiSummarySettingsErrors];
15411
+ export type UpdateAdminAiSummarySettingsResponses = {
15412
+ /**
15413
+ * The stored settings (`source` is `instance`)
15414
+ */
15415
+ 200: AdminInstanceAiSummarySettings;
15416
+ };
15417
+ export type UpdateAdminAiSummarySettingsResponse = UpdateAdminAiSummarySettingsResponses[keyof UpdateAdminAiSummarySettingsResponses];
15418
+ export type ListAdminAiSummarySettingsAuditData = {
15419
+ body?: never;
15420
+ path?: never;
15421
+ query?: {
15422
+ /**
15423
+ * Opaque cursor from a previous page's `next_cursor`.
15424
+ */
15425
+ cursor?: string;
15426
+ /**
15427
+ * Page size.
15428
+ */
15429
+ limit?: number;
15430
+ };
15431
+ url: '/api/v1/admin/settings/ai-summary/audit';
15432
+ };
15433
+ export type ListAdminAiSummarySettingsAuditErrors = {
15434
+ /**
15435
+ * Bad request — malformed cursor, or `limit` out of range
15436
+ */
15437
+ 400: ErrorResponse;
15438
+ /**
15439
+ * Not found — the caller is not an instance admin
15440
+ */
15441
+ 404: ErrorResponse;
15442
+ /**
15443
+ * Internal server error
15444
+ */
15445
+ 500: ErrorResponse;
15446
+ };
15447
+ export type ListAdminAiSummarySettingsAuditError = ListAdminAiSummarySettingsAuditErrors[keyof ListAdminAiSummarySettingsAuditErrors];
15448
+ export type ListAdminAiSummarySettingsAuditResponses = {
15449
+ /**
15450
+ * One page of audit entries, newest first
15451
+ */
15452
+ 200: AdminInstanceSettingsAuditPage;
15453
+ };
15454
+ export type ListAdminAiSummarySettingsAuditResponse = ListAdminAiSummarySettingsAuditResponses[keyof ListAdminAiSummarySettingsAuditResponses];
14984
15455
  export type ListCommentsData = {
14985
15456
  body?: never;
14986
15457
  path: {