@gitbook/api 0.194.0 → 0.195.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.
package/spec/openapi.json CHANGED
@@ -10257,6 +10257,7 @@
10257
10257
  "get": {
10258
10258
  "operationId": "listOrganizationIntegrationsStatus",
10259
10259
  "summary": "List all integration statuses",
10260
+ "description": "Returns integration installations in the organization. Use site or space with the matching target to efficiently scope the result to one resource.",
10260
10261
  "tags": [
10261
10262
  "integrations",
10262
10263
  "critical"
@@ -10284,6 +10285,22 @@
10284
10285
  "site"
10285
10286
  ]
10286
10287
  }
10288
+ },
10289
+ {
10290
+ "name": "site",
10291
+ "in": "query",
10292
+ "description": "Return installations for this site. Only valid when target is site.",
10293
+ "schema": {
10294
+ "type": "string"
10295
+ }
10296
+ },
10297
+ {
10298
+ "name": "space",
10299
+ "in": "query",
10300
+ "description": "Return installations for this space. Only valid when target is space.",
10301
+ "schema": {
10302
+ "type": "string"
10303
+ }
10287
10304
  }
10288
10305
  ],
10289
10306
  "responses": {
@@ -15345,9 +15362,12 @@
15345
15362
  {
15346
15363
  "name": "type",
15347
15364
  "in": "query",
15348
- "description": "Filter findings by type.",
15365
+ "description": "Filter findings by type. When multiple types are given, findings matching any of them are returned.",
15349
15366
  "schema": {
15350
- "$ref": "#/components/schemas/SiteFindingType"
15367
+ "type": "array",
15368
+ "items": {
15369
+ "$ref": "#/components/schemas/SiteFindingType"
15370
+ }
15351
15371
  }
15352
15372
  },
15353
15373
  {
@@ -15884,9 +15904,12 @@
15884
15904
  {
15885
15905
  "name": "type",
15886
15906
  "in": "query",
15887
- "description": "Filter findings by type.",
15907
+ "description": "Filter findings by type. When multiple types are given, findings matching any of them are returned.",
15888
15908
  "schema": {
15889
- "$ref": "#/components/schemas/SiteFindingType"
15909
+ "type": "array",
15910
+ "items": {
15911
+ "$ref": "#/components/schemas/SiteFindingType"
15912
+ }
15890
15913
  }
15891
15914
  },
15892
15915
  {
@@ -22725,6 +22748,25 @@
22725
22748
  "import"
22726
22749
  ]
22727
22750
  },
22751
+ "GitSyncOperationErrorAction": {
22752
+ "type": "object",
22753
+ "description": "An action the user can take to resolve a failed Git Sync operation.",
22754
+ "properties": {
22755
+ "label": {
22756
+ "type": "string",
22757
+ "description": "Label for the action."
22758
+ },
22759
+ "url": {
22760
+ "type": "string",
22761
+ "format": "uri",
22762
+ "description": "URL where the user can resolve the failure."
22763
+ }
22764
+ },
22765
+ "required": [
22766
+ "label",
22767
+ "url"
22768
+ ]
22769
+ },
22728
22770
  "GitSyncState": {
22729
22771
  "type": "object",
22730
22772
  "properties": {
@@ -22774,6 +22816,9 @@
22774
22816
  "error": {
22775
22817
  "type": "string",
22776
22818
  "description": "Why the operation failed, when it did."
22819
+ },
22820
+ "errorAction": {
22821
+ "$ref": "#/components/schemas/GitSyncOperationErrorAction"
22777
22822
  }
22778
22823
  },
22779
22824
  "required": [
@@ -32458,7 +32503,7 @@
32458
32503
  135001500,
32459
32504
  240006000,
32460
32505
  4200018000,
32461
- 6500035000
32506
+ 6000040000
32462
32507
  ]
32463
32508
  },
32464
32509
  "OrganizationBilling": {
@@ -32554,6 +32599,19 @@
32554
32599
  "type": "null"
32555
32600
  }
32556
32601
  ]
32602
+ },
32603
+ "aiCreditAlertThreshold": {
32604
+ "description": "Percentage of total AI credits remaining at which to send a low-balance alert, or null when the alert is disabled.",
32605
+ "oneOf": [
32606
+ {
32607
+ "type": "number",
32608
+ "minimum": 0,
32609
+ "maximum": 100
32610
+ },
32611
+ {
32612
+ "type": "null"
32613
+ }
32614
+ ]
32557
32615
  }
32558
32616
  },
32559
32617
  "required": [
@@ -32566,7 +32624,8 @@
32566
32624
  "usageAddons",
32567
32625
  "canChangeInterval",
32568
32626
  "canUseSAML",
32569
- "creditsBundle"
32627
+ "creditsBundle",
32628
+ "aiCreditAlertThreshold"
32570
32629
  ]
32571
32630
  },
32572
32631
  "BillingTrialStatus": {
@@ -34985,12 +35044,14 @@
34985
35044
  "sites-ai-search",
34986
35045
  "sites-ai-assistant",
34987
35046
  "sites-ai-insights",
35047
+ "sites-fix-broken-links",
34988
35048
  "sites-connections",
34989
35049
  "sites-content-gaps",
34990
35050
  "sites-channels",
34991
35051
  "sites-embed",
34992
35052
  "sites-api-playground",
34993
35053
  "sites-basic-customization",
35054
+ "sites-broken-links",
34994
35055
  "sites-custom-domain",
34995
35056
  "sites-custom-fonts",
34996
35057
  "sites-custom-subdirectory",
@@ -38351,12 +38412,72 @@
38351
38412
  }
38352
38413
  ]
38353
38414
  },
38415
+ "InstalledIntegrationTarget": {
38416
+ "description": "The resource on which an integration is installed.",
38417
+ "oneOf": [
38418
+ {
38419
+ "type": "object",
38420
+ "required": [
38421
+ "type",
38422
+ "organizationId"
38423
+ ],
38424
+ "properties": {
38425
+ "type": {
38426
+ "type": "string",
38427
+ "enum": [
38428
+ "organization"
38429
+ ]
38430
+ },
38431
+ "organizationId": {
38432
+ "type": "string"
38433
+ }
38434
+ }
38435
+ },
38436
+ {
38437
+ "type": "object",
38438
+ "required": [
38439
+ "type",
38440
+ "siteId"
38441
+ ],
38442
+ "properties": {
38443
+ "type": {
38444
+ "type": "string",
38445
+ "enum": [
38446
+ "site"
38447
+ ]
38448
+ },
38449
+ "siteId": {
38450
+ "type": "string"
38451
+ }
38452
+ }
38453
+ },
38454
+ {
38455
+ "type": "object",
38456
+ "required": [
38457
+ "type",
38458
+ "spaceId"
38459
+ ],
38460
+ "properties": {
38461
+ "type": {
38462
+ "type": "string",
38463
+ "enum": [
38464
+ "space"
38465
+ ]
38466
+ },
38467
+ "spaceId": {
38468
+ "type": "string"
38469
+ }
38470
+ }
38471
+ }
38472
+ ]
38473
+ },
38354
38474
  "InstalledIntegration": {
38355
38475
  "type": "object",
38356
- "description": "An installed integration with its current status",
38476
+ "description": "An integration installation, its current status, and the resource it targets.",
38357
38477
  "required": [
38358
38478
  "status",
38359
- "integration"
38479
+ "integration",
38480
+ "target"
38360
38481
  ],
38361
38482
  "properties": {
38362
38483
  "status": {
@@ -38364,6 +38485,9 @@
38364
38485
  },
38365
38486
  "integration": {
38366
38487
  "$ref": "#/components/schemas/Integration"
38488
+ },
38489
+ "target": {
38490
+ "$ref": "#/components/schemas/InstalledIntegrationTarget"
38367
38491
  }
38368
38492
  }
38369
38493
  },
@@ -41043,6 +41167,11 @@
41043
41167
  "assistant"
41044
41168
  ]
41045
41169
  },
41170
+ "CustomizationAIGreeting": {
41171
+ "type": "string",
41172
+ "description": "Initial greeting displayed by the AI Assistant when a visitor starts a conversation.",
41173
+ "maxLength": 256
41174
+ },
41046
41175
  "CustomizationSuggestedQuestion": {
41047
41176
  "type": "string",
41048
41177
  "minLength": 3,
@@ -41367,6 +41496,12 @@
41367
41496
  "mode": {
41368
41497
  "$ref": "#/components/schemas/CustomizationAIMode"
41369
41498
  },
41499
+ "greeting": {
41500
+ "$ref": "#/components/schemas/CustomizationAIGreeting"
41501
+ },
41502
+ "localizedGreeting": {
41503
+ "$ref": "#/components/schemas/LocalizedString128"
41504
+ },
41370
41505
  "suggestions": {
41371
41506
  "$ref": "#/components/schemas/CustomizationSuggestedQuestions"
41372
41507
  },
@@ -42277,11 +42412,12 @@
42277
42412
  },
42278
42413
  "SiteFindingType": {
42279
42414
  "type": "string",
42280
- "description": "Classification of a site finding:\n - Outdated content: The content was correct but is no longer up to date with external context and may be misleading or incorrect.\n - Incorrect content: The content is factually wrong or misleading, leading users astray regardless of whether it was ever correct.\n - Content gap: The content is missing important information that should be present to answer user questions effectively.\n - Other: Any other type of finding not covered by the above categories.",
42415
+ "description": "Classification of a site finding:\n - Outdated content: The content was correct but is no longer up to date with external context and may be misleading or incorrect.\n - Incorrect content: The content is factually wrong or misleading, leading users astray regardless of whether it was ever correct.\n - Content gap: The content is missing important information that should be present to answer user questions effectively.\n - Broken link: A URL on the site returns a 404, and can be resolved by creating a redirect or a new page.\n - Other: Any other type of finding not covered by the above categories.",
42281
42416
  "enum": [
42282
42417
  "content-outdated",
42283
42418
  "content-incorrect",
42284
42419
  "content-gap",
42420
+ "broken-link",
42285
42421
  "other"
42286
42422
  ]
42287
42423
  },
@@ -42321,6 +42457,162 @@
42321
42457
  "description": "Short finding title",
42322
42458
  "maxLength": 256
42323
42459
  },
42460
+ "SiteRedirectSourcePath": {
42461
+ "type": "string",
42462
+ "description": "The source path to redirect from.",
42463
+ "maxLength": 512,
42464
+ "pattern": "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$"
42465
+ },
42466
+ "SiteRedirectDestinationSiteSection": {
42467
+ "type": "object",
42468
+ "properties": {
42469
+ "kind": {
42470
+ "type": "string",
42471
+ "enum": [
42472
+ "site-section"
42473
+ ]
42474
+ },
42475
+ "siteSectionId": {
42476
+ "type": "string",
42477
+ "description": "Unique identifier for the site section to redirect to"
42478
+ }
42479
+ },
42480
+ "required": [
42481
+ "kind",
42482
+ "siteSectionId"
42483
+ ]
42484
+ },
42485
+ "SiteRedirectDestinationSiteSpace": {
42486
+ "type": "object",
42487
+ "properties": {
42488
+ "kind": {
42489
+ "type": "string",
42490
+ "enum": [
42491
+ "site-space"
42492
+ ]
42493
+ },
42494
+ "siteSpaceId": {
42495
+ "type": "string",
42496
+ "description": "Unique identifier for the site space to redirect to"
42497
+ }
42498
+ },
42499
+ "required": [
42500
+ "kind",
42501
+ "siteSpaceId"
42502
+ ]
42503
+ },
42504
+ "SiteRedirectDestinationPage": {
42505
+ "type": "object",
42506
+ "properties": {
42507
+ "kind": {
42508
+ "type": "string",
42509
+ "enum": [
42510
+ "site-page"
42511
+ ]
42512
+ },
42513
+ "siteSpaceId": {
42514
+ "type": "string",
42515
+ "description": "Unique identifier for the site space of the page"
42516
+ },
42517
+ "pageId": {
42518
+ "type": "string",
42519
+ "description": "Unique identifier for the page within the site space to redirect to"
42520
+ }
42521
+ },
42522
+ "required": [
42523
+ "kind",
42524
+ "siteSpaceId",
42525
+ "pageId"
42526
+ ]
42527
+ },
42528
+ "SiteRedirectDestinationExternal": {
42529
+ "type": "object",
42530
+ "properties": {
42531
+ "kind": {
42532
+ "type": "string",
42533
+ "enum": [
42534
+ "external"
42535
+ ]
42536
+ },
42537
+ "url": {
42538
+ "$ref": "#/components/schemas/URL"
42539
+ }
42540
+ },
42541
+ "required": [
42542
+ "kind",
42543
+ "url"
42544
+ ]
42545
+ },
42546
+ "SiteRedirectDestination": {
42547
+ "oneOf": [
42548
+ {
42549
+ "$ref": "#/components/schemas/SiteRedirectDestinationSiteSection"
42550
+ },
42551
+ {
42552
+ "$ref": "#/components/schemas/SiteRedirectDestinationSiteSpace"
42553
+ },
42554
+ {
42555
+ "$ref": "#/components/schemas/SiteRedirectDestinationPage"
42556
+ },
42557
+ {
42558
+ "$ref": "#/components/schemas/SiteRedirectDestinationExternal"
42559
+ }
42560
+ ]
42561
+ },
42562
+ "SiteRedirectInputDestinationPath": {
42563
+ "type": "object",
42564
+ "properties": {
42565
+ "kind": {
42566
+ "type": "string",
42567
+ "enum": [
42568
+ "path"
42569
+ ]
42570
+ },
42571
+ "spaceId": {
42572
+ "type": "string",
42573
+ "description": "Unique identifier for the space containing the page referenced by the path."
42574
+ },
42575
+ "path": {
42576
+ "type": "string",
42577
+ "description": "Path to the page within the space revision to resolve."
42578
+ }
42579
+ },
42580
+ "required": [
42581
+ "kind",
42582
+ "spaceId",
42583
+ "path"
42584
+ ]
42585
+ },
42586
+ "SiteRedirectInputDestination": {
42587
+ "oneOf": [
42588
+ {
42589
+ "$ref": "#/components/schemas/SiteRedirectDestination"
42590
+ },
42591
+ {
42592
+ "$ref": "#/components/schemas/SiteRedirectInputDestinationPath"
42593
+ }
42594
+ ]
42595
+ },
42596
+ "SiteFindingBrokenLinkAction": {
42597
+ "type": "object",
42598
+ "description": "Suggested fix for a broken-link finding, shaped as the input for `createSiteRedirect` so it can be applied directly. Absent when the finding has no directly applicable redirect (for example, a suggestion to create a new page).",
42599
+ "properties": {
42600
+ "source": {
42601
+ "$ref": "#/components/schemas/SiteRedirectSourcePath"
42602
+ },
42603
+ "captureWildcard": {
42604
+ "type": "boolean",
42605
+ "description": "Whether the redirect appends the wildcard-matched suffix of the source path to the destination."
42606
+ },
42607
+ "destination": {
42608
+ "$ref": "#/components/schemas/SiteRedirectInputDestination"
42609
+ }
42610
+ },
42611
+ "required": [
42612
+ "source",
42613
+ "destination"
42614
+ ]
42615
+ },
42324
42616
  "SiteFinding": {
42325
42617
  "type": "object",
42326
42618
  "properties": {
@@ -42380,6 +42672,9 @@
42380
42672
  "type": "boolean",
42381
42673
  "description": "Whether an AI agent should be able to fix this finding directly"
42382
42674
  },
42675
+ "brokenLinkAction": {
42676
+ "$ref": "#/components/schemas/SiteFindingBrokenLinkAction"
42677
+ },
42383
42678
  "createdAt": {
42384
42679
  "$ref": "#/components/schemas/Timestamp"
42385
42680
  },
@@ -44626,6 +44921,35 @@
44626
44921
  "changeRequestId"
44627
44922
  ]
44628
44923
  },
44924
+ "AIToolCallArchiveChangeRequest": {
44925
+ "type": "object",
44926
+ "properties": {
44927
+ "tool": {
44928
+ "type": "string",
44929
+ "enum": [
44930
+ "archiveChangeRequest"
44931
+ ]
44932
+ },
44933
+ "spaceId": {
44934
+ "type": "string",
44935
+ "description": "The ID of the space the change request belongs to."
44936
+ },
44937
+ "changeRequestId": {
44938
+ "type": "string",
44939
+ "description": "The ID of the change request."
44940
+ },
44941
+ "reason": {
44942
+ "type": "string",
44943
+ "description": "Why the agent gave up on implementing the change request."
44944
+ }
44945
+ },
44946
+ "required": [
44947
+ "tool",
44948
+ "spaceId",
44949
+ "changeRequestId",
44950
+ "reason"
44951
+ ]
44952
+ },
44629
44953
  "AIToolCallComment": {
44630
44954
  "type": "object",
44631
44955
  "properties": {
@@ -44886,6 +45210,9 @@
44886
45210
  {
44887
45211
  "$ref": "#/components/schemas/AIToolCallSetChangeRequestDetails"
44888
45212
  },
45213
+ {
45214
+ "$ref": "#/components/schemas/AIToolCallArchiveChangeRequest"
45215
+ },
44889
45216
  {
44890
45217
  "$ref": "#/components/schemas/AIToolCallComment"
44891
45218
  },
@@ -46999,6 +47326,36 @@
46999
47326
  {
47000
47327
  "$ref": "#/components/schemas/SiteInsightsQueryDateTimeColumn"
47001
47328
  },
47329
+ {
47330
+ "type": "object",
47331
+ "description": "Day of the week the event happened, in UTC, from 1 (Monday) to 7 (Sunday). Group by it alongside `hourOfDay` to fold any range into a weekly activity profile.",
47332
+ "required": [
47333
+ "column"
47334
+ ],
47335
+ "properties": {
47336
+ "column": {
47337
+ "type": "string",
47338
+ "enum": [
47339
+ "dayOfWeek"
47340
+ ]
47341
+ }
47342
+ }
47343
+ },
47344
+ {
47345
+ "type": "object",
47346
+ "description": "Hour of the day the event happened, in UTC, from 0 to 23.",
47347
+ "required": [
47348
+ "column"
47349
+ ],
47350
+ "properties": {
47351
+ "column": {
47352
+ "type": "string",
47353
+ "enum": [
47354
+ "hourOfDay"
47355
+ ]
47356
+ }
47357
+ }
47358
+ },
47002
47359
  {
47003
47360
  "type": "object",
47004
47361
  "required": [
@@ -47740,6 +48097,52 @@
47740
48097
  }
47741
48098
  }
47742
48099
  },
48100
+ {
48101
+ "type": "object",
48102
+ "required": [
48103
+ "column",
48104
+ "values"
48105
+ ],
48106
+ "properties": {
48107
+ "column": {
48108
+ "type": "string",
48109
+ "enum": [
48110
+ "dayOfWeek"
48111
+ ]
48112
+ },
48113
+ "values": {
48114
+ "type": "array",
48115
+ "items": {
48116
+ "type": "integer",
48117
+ "minimum": 1,
48118
+ "maximum": 7
48119
+ }
48120
+ }
48121
+ }
48122
+ },
48123
+ {
48124
+ "type": "object",
48125
+ "required": [
48126
+ "column",
48127
+ "values"
48128
+ ],
48129
+ "properties": {
48130
+ "column": {
48131
+ "type": "string",
48132
+ "enum": [
48133
+ "hourOfDay"
48134
+ ]
48135
+ },
48136
+ "values": {
48137
+ "type": "array",
48138
+ "items": {
48139
+ "type": "integer",
48140
+ "minimum": 0,
48141
+ "maximum": 23
48142
+ }
48143
+ }
48144
+ }
48145
+ },
47743
48146
  {
47744
48147
  "type": "object",
47745
48148
  "required": [
@@ -48973,108 +49376,6 @@
48973
49376
  }
48974
49377
  }
48975
49378
  },
48976
- "SiteRedirectSourcePath": {
48977
- "type": "string",
48978
- "description": "The source path to redirect from.",
48979
- "maxLength": 512,
48980
- "pattern": "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$"
48981
- },
48982
- "SiteRedirectDestinationSiteSection": {
48983
- "type": "object",
48984
- "properties": {
48985
- "kind": {
48986
- "type": "string",
48987
- "enum": [
48988
- "site-section"
48989
- ]
48990
- },
48991
- "siteSectionId": {
48992
- "type": "string",
48993
- "description": "Unique identifier for the site section to redirect to"
48994
- }
48995
- },
48996
- "required": [
48997
- "kind",
48998
- "siteSectionId"
48999
- ]
49000
- },
49001
- "SiteRedirectDestinationSiteSpace": {
49002
- "type": "object",
49003
- "properties": {
49004
- "kind": {
49005
- "type": "string",
49006
- "enum": [
49007
- "site-space"
49008
- ]
49009
- },
49010
- "siteSpaceId": {
49011
- "type": "string",
49012
- "description": "Unique identifier for the site space to redirect to"
49013
- }
49014
- },
49015
- "required": [
49016
- "kind",
49017
- "siteSpaceId"
49018
- ]
49019
- },
49020
- "SiteRedirectDestinationPage": {
49021
- "type": "object",
49022
- "properties": {
49023
- "kind": {
49024
- "type": "string",
49025
- "enum": [
49026
- "site-page"
49027
- ]
49028
- },
49029
- "siteSpaceId": {
49030
- "type": "string",
49031
- "description": "Unique identifier for the site space of the page"
49032
- },
49033
- "pageId": {
49034
- "type": "string",
49035
- "description": "Unique identifier for the page within the site space to redirect to"
49036
- }
49037
- },
49038
- "required": [
49039
- "kind",
49040
- "siteSpaceId",
49041
- "pageId"
49042
- ]
49043
- },
49044
- "SiteRedirectDestinationExternal": {
49045
- "type": "object",
49046
- "properties": {
49047
- "kind": {
49048
- "type": "string",
49049
- "enum": [
49050
- "external"
49051
- ]
49052
- },
49053
- "url": {
49054
- "$ref": "#/components/schemas/URL"
49055
- }
49056
- },
49057
- "required": [
49058
- "kind",
49059
- "url"
49060
- ]
49061
- },
49062
- "SiteRedirectDestination": {
49063
- "oneOf": [
49064
- {
49065
- "$ref": "#/components/schemas/SiteRedirectDestinationSiteSection"
49066
- },
49067
- {
49068
- "$ref": "#/components/schemas/SiteRedirectDestinationSiteSpace"
49069
- },
49070
- {
49071
- "$ref": "#/components/schemas/SiteRedirectDestinationPage"
49072
- },
49073
- {
49074
- "$ref": "#/components/schemas/SiteRedirectDestinationExternal"
49075
- }
49076
- ]
49077
- },
49078
49379
  "SiteRedirect": {
49079
49380
  "type": "object",
49080
49381
  "properties": {
@@ -49112,40 +49413,6 @@
49112
49413
  "destination"
49113
49414
  ]
49114
49415
  },
49115
- "SiteRedirectInputDestinationPath": {
49116
- "type": "object",
49117
- "properties": {
49118
- "kind": {
49119
- "type": "string",
49120
- "enum": [
49121
- "path"
49122
- ]
49123
- },
49124
- "spaceId": {
49125
- "type": "string",
49126
- "description": "Unique identifier for the space containing the page referenced by the path."
49127
- },
49128
- "path": {
49129
- "type": "string",
49130
- "description": "Path to the page within the space revision to resolve."
49131
- }
49132
- },
49133
- "required": [
49134
- "kind",
49135
- "spaceId",
49136
- "path"
49137
- ]
49138
- },
49139
- "SiteRedirectInputDestination": {
49140
- "oneOf": [
49141
- {
49142
- "$ref": "#/components/schemas/SiteRedirectDestination"
49143
- },
49144
- {
49145
- "$ref": "#/components/schemas/SiteRedirectInputDestinationPath"
49146
- }
49147
- ]
49148
- },
49149
49416
  "SiteMcpServerName": {
49150
49417
  "type": "string",
49151
49418
  "description": "Name of the MCP server",
@@ -50065,6 +50332,10 @@
50065
50332
  "description": "Percentage of remaining paid AI credits carried into the next billing period. Paid self-serve organizations default to 50% when unset.",
50066
50333
  "$ref": "#/components/schemas/OrganizationBillingPercentageOverride"
50067
50334
  },
50335
+ "aiCreditAlertThreshold": {
50336
+ "description": "Percentage of total AI credits remaining at which to send a low-balance alert.",
50337
+ "$ref": "#/components/schemas/OrganizationBillingPercentageOverride"
50338
+ },
50068
50339
  "minUsers": {
50069
50340
  "description": "Current minimum users override, when set.",
50070
50341
  "$ref": "#/components/schemas/OrganizationBillingNumericOverride"
@@ -50264,6 +50535,14 @@
50264
50535
  "type": "object",
50265
50536
  "description": "An object that describes the payload of site visitor info. It can include a jwt token with signed claims and/or a record of its unsigned claims.",
50266
50537
  "properties": {
50538
+ "type": {
50539
+ "type": "string",
50540
+ "enum": [
50541
+ "human",
50542
+ "agent"
50543
+ ],
50544
+ "description": "Whether the visitor is a human or an AI agent. Defaults to human when omitted."
50545
+ },
50267
50546
  "jwtToken": {
50268
50547
  "type": "string",
50269
50548
  "description": "JWT token generated for a authenticated access session."
@@ -51248,6 +51527,9 @@
51248
51527
  "error": {
51249
51528
  "type": "string",
51250
51529
  "description": "Error details, defined if state is `failure`."
51530
+ },
51531
+ "errorAction": {
51532
+ "$ref": "#/components/schemas/GitSyncOperationErrorAction"
51251
51533
  }
51252
51534
  },
51253
51535
  "required": [
@@ -51297,6 +51579,9 @@
51297
51579
  "type": "string",
51298
51580
  "description": "Error details, defined if state is `failure`."
51299
51581
  },
51582
+ "errorAction": {
51583
+ "$ref": "#/components/schemas/GitSyncOperationErrorAction"
51584
+ },
51300
51585
  "spaces": {
51301
51586
  "type": "object",
51302
51587
  "additionalProperties": {
@@ -51775,6 +52060,14 @@
51775
52060
  },
51776
52061
  "description": "List of spaces that the token is allowed to access."
51777
52062
  },
52063
+ "visitorType": {
52064
+ "type": "string",
52065
+ "enum": [
52066
+ "human",
52067
+ "agent"
52068
+ ],
52069
+ "description": "Whether the visitor, for which the token was generated, is a human or an AI agent. Defaults to human when omitted."
52070
+ },
51778
52071
  "claims": {
51779
52072
  "type": "object",
51780
52073
  "description": "Attributes or assertions that provide specific details about the visitor for which the token was generated.",