@gitbook/api 0.200.0 → 0.202.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
@@ -2010,6 +2010,9 @@
2010
2010
  {
2011
2011
  "$ref": "#/components/parameters/revisionMetadata"
2012
2012
  },
2013
+ {
2014
+ "$ref": "#/components/parameters/revisionCachedMetadata"
2015
+ },
2013
2016
  {
2014
2017
  "$ref": "#/components/parameters/revisionComputed"
2015
2018
  }
@@ -4885,6 +4888,9 @@
4885
4888
  {
4886
4889
  "$ref": "#/components/parameters/revisionMetadata"
4887
4890
  },
4891
+ {
4892
+ "$ref": "#/components/parameters/revisionCachedMetadata"
4893
+ },
4888
4894
  {
4889
4895
  "$ref": "#/components/parameters/revisionComputed"
4890
4896
  }
@@ -4998,6 +5004,9 @@
4998
5004
  {
4999
5005
  "$ref": "#/components/parameters/revisionMetadata"
5000
5006
  },
5007
+ {
5008
+ "$ref": "#/components/parameters/revisionCachedMetadata"
5009
+ },
5001
5010
  {
5002
5011
  "$ref": "#/components/parameters/revisionComputed"
5003
5012
  }
@@ -8841,6 +8850,7 @@
8841
8850
  "/orgs/{organizationId}/members": {
8842
8851
  "get": {
8843
8852
  "operationId": "listMembersInOrganizationById",
8853
+ "x-gitbook-mcp": true,
8844
8854
  "summary": "List all organization members",
8845
8855
  "tags": [
8846
8856
  "organization-members"
@@ -8913,6 +8923,7 @@
8913
8923
  "/orgs/{organizationId}/members/{userId}": {
8914
8924
  "get": {
8915
8925
  "operationId": "getMemberInOrganizationById",
8926
+ "x-gitbook-mcp": true,
8916
8927
  "summary": "Get an organization member by its ID",
8917
8928
  "tags": [
8918
8929
  "organization-members",
@@ -9178,6 +9189,7 @@
9178
9189
  "/orgs/{organizationId}/members/{userId}/teams": {
9179
9190
  "get": {
9180
9191
  "operationId": "listTeamsForOrganizationMember",
9192
+ "x-gitbook-mcp": true,
9181
9193
  "summary": "List all organization member teams",
9182
9194
  "tags": [
9183
9195
  "organization-members"
@@ -9261,6 +9273,7 @@
9261
9273
  "/orgs/{organizationId}/teams": {
9262
9274
  "get": {
9263
9275
  "operationId": "listTeamsInOrganizationById",
9276
+ "x-gitbook-mcp": true,
9264
9277
  "summary": "List all teams",
9265
9278
  "tags": [
9266
9279
  "teams"
@@ -9564,6 +9577,7 @@
9564
9577
  },
9565
9578
  "get": {
9566
9579
  "operationId": "listTeamMembersInOrganizationById",
9580
+ "x-gitbook-mcp": true,
9567
9581
  "summary": "List all team members",
9568
9582
  "description": "Lists members, and their roles, for the specified organization team.\n",
9569
9583
  "tags": [
@@ -10107,6 +10121,67 @@
10107
10121
  }
10108
10122
  }
10109
10123
  },
10124
+ "/orgs/{organizationId}/billing/ai-usage": {
10125
+ "get": {
10126
+ "operationId": "getOrganizationAIUsage",
10127
+ "summary": "Get AI credit usage by AI feature and time period",
10128
+ "description": "Returns recorded AI usage for an organization. Calendar buckets use UTC;\nweeks start on Monday. Requires organization administrator permissions.\n",
10129
+ "x-gitbook-mcp": true,
10130
+ "tags": [
10131
+ "billing"
10132
+ ],
10133
+ "security": [
10134
+ {
10135
+ "user": []
10136
+ }
10137
+ ],
10138
+ "parameters": [
10139
+ {
10140
+ "$ref": "#/components/parameters/organizationId"
10141
+ },
10142
+ {
10143
+ "name": "from",
10144
+ "in": "query",
10145
+ "required": true,
10146
+ "description": "Inclusive start timestamp. Cannot be older than two years from now.",
10147
+ "schema": {
10148
+ "type": "string",
10149
+ "format": "date-time"
10150
+ }
10151
+ },
10152
+ {
10153
+ "name": "to",
10154
+ "in": "query",
10155
+ "required": true,
10156
+ "description": "Exclusive end timestamp.",
10157
+ "schema": {
10158
+ "type": "string",
10159
+ "format": "date-time"
10160
+ }
10161
+ },
10162
+ {
10163
+ "name": "interval",
10164
+ "in": "query",
10165
+ "description": "Calendar interval used to aggregate usage.",
10166
+ "schema": {
10167
+ "$ref": "#/components/schemas/AIUsageInterval"
10168
+ }
10169
+ }
10170
+ ],
10171
+ "responses": {
10172
+ "200": {
10173
+ "description": "AI usage, including empty periods in the requested range.",
10174
+ "content": {
10175
+ "application/json": {
10176
+ "schema": {
10177
+ "$ref": "#/components/schemas/OrganizationAIUsage"
10178
+ }
10179
+ }
10180
+ }
10181
+ }
10182
+ }
10183
+ }
10184
+ },
10110
10185
  "/orgs/{organizationId}/search": {
10111
10186
  "get": {
10112
10187
  "operationId": "searchOrganizationContent",
@@ -19398,7 +19473,7 @@
19398
19473
  "null"
19399
19474
  ],
19400
19475
  "description": "The copyright text that is displayed in the footer. Set to null to reset the override.",
19401
- "maxLength": 300
19476
+ "maxLength": 512
19402
19477
  }
19403
19478
  }
19404
19479
  },
@@ -20514,7 +20589,7 @@
20514
20589
  "post": {
20515
20590
  "operationId": "createSiteStyleguideRun",
20516
20591
  "summary": "Start a style guide check run for a site",
20517
- "description": "Starts a style guide check: GitBook Agent reviews the given spaces against the site's style guide and proposes fixes. One draft change request is opened per space, each marked as belonging to the returned run. Fails if the site has no style guide.",
20592
+ "description": "Starts a style guide check: GitBook Agent reviews the given spaces against the site's style guide and proposes fixes. A space with no check open gets a new draft change request marked as belonging to the returned run; one whose check is still open has it taken over instead, so it stays marked with the run that opened it. Fails if the site has no style guide.",
20518
20593
  "x-gitbook-mcp": true,
20519
20594
  "tags": [
20520
20595
  "sites"
@@ -20574,7 +20649,7 @@
20574
20649
  },
20575
20650
  "changeRequests": {
20576
20651
  "type": "array",
20577
- "description": "The change requests opened by the run, one per space that could be started.",
20652
+ "description": "The change request each space's check runs in: opened by this run, or already open and taken over. One per space that could be started.",
20578
20653
  "items": {
20579
20654
  "$ref": "#/components/schemas/ChangeRequest"
20580
20655
  }
@@ -20704,7 +20779,7 @@
20704
20779
  "post": {
20705
20780
  "operationId": "aggregateSiteEvents",
20706
20781
  "summary": "Query a site's analytics events",
20707
- "description": "Runs an aggregation query over a published site's Insights events, grouped and filtered over a time range. Use it to answer analytics questions about how visitors engage with a site's documentation.",
20782
+ "description": "Runs an aggregation query over a published site's Insights events, grouped and filtered over a time range. Use it to answer analytics questions about how visitors engage with a site's documentation: page views, visitors, searches, referrers, and broken URLs (404s). A 404 is a `page_view` or `search_open_result` event whose `page` is `null`, in the `site` display context; filter `eventPageNotFoundType` not in `conditional` to leave out 404s that adaptive content explains. Group by `datetime` for a trend over time and by `urlPath` for the top broken URLs.",
20708
20783
  "x-gitbook-mcp": true,
20709
20784
  "security": [
20710
20785
  {
@@ -23278,28 +23353,28 @@
23278
23353
  "tokenUrl": "https://oauth.gitbook.com/token",
23279
23354
  "scopes": {
23280
23355
  "user:read": "Read your GitBook user profile.",
23281
- "organization:read": "Read organization settings and metadata.",
23282
- "organization:write": "Create and update organization settings.",
23283
- "organization:members:read": "Read organization members, invites and link invites.",
23284
- "organization:members:write": "Manage organization members, invites and link invites.",
23356
+ "organization:read": "Read the organizations you belong to, their settings and metadata, and their AI agent conversations.",
23357
+ "organization:write": "Create organizations, and update organization settings and AI agent conversations.",
23358
+ "organization:members:read": "Read organization members, teams, invites and link invites.",
23359
+ "organization:members:write": "Manage organization members, teams, invites and link invites.",
23285
23360
  "organization:ask": "Ask AI questions across an organization's content.",
23286
23361
  "organization:search": "Search across an organization's content.",
23287
- "space:read": "Read spaces and their content.",
23288
- "space:write": "Create, update and delete spaces and their content, including imports.",
23289
- "space:permissions:read": "Read space permissions.",
23290
- "space:permissions:write": "Manage space permissions.",
23291
- "change-request:merge": "Merge change requests, publishing their changes to the space.",
23292
- "site:read": "Read sites and their settings.",
23293
- "site:write": "Create, update and delete sites, sections and their settings.",
23362
+ "space:read": "Read spaces and their content, including pages, change requests and their reviews, comments, files and revision history.",
23363
+ "space:write": "Create, update and delete spaces and their content, including change requests (create, edit, review), comments, and content imports and exports. Merging a change request also requires change-request:merge.",
23364
+ "space:permissions:read": "Read the users and teams who have access to spaces and collections.",
23365
+ "space:permissions:write": "Manage who has access to spaces and collections, including inviting users and teams.",
23366
+ "change-request:merge": "Merge change requests, publishing their changes to the space. Creating, editing and reviewing change requests only requires space:write.",
23367
+ "site:read": "Read sites and their settings, including navigation structure, linked spaces, customization, redirects, topics, AI configuration and documentation issues.",
23368
+ "site:write": "Create, update and delete sites and their settings, including navigation structure (sections, linked spaces, external links), customization, redirects, topics and AI configuration.",
23294
23369
  "site:publish": "Publish and unpublish sites, controlling their public exposure.",
23295
- "site:permissions:read": "Read site permissions.",
23296
- "site:permissions:write": "Manage site permissions.",
23297
- "site:auth:read": "Read site authentication and security configuration.",
23298
- "site:auth:write": "Manage site authentication and security configuration.",
23299
- "site:insights:read": "Read site analytics and insights.",
23370
+ "site:permissions:read": "Read the users and teams who have access to sites.",
23371
+ "site:permissions:write": "Manage who has access to sites, including inviting users and teams.",
23372
+ "site:auth:read": "Read how visitors authenticate on a site and its security configuration, including private share links.",
23373
+ "site:auth:write": "Manage how visitors authenticate on a site and its security configuration, including private share links.",
23374
+ "site:insights:read": "Read site analytics and insights, including the questions visitors asked Ask AI and the answers they received.",
23300
23375
  "site:ask": "Ask AI questions across a site's content.",
23301
23376
  "site:search": "Search across a site's content.",
23302
- "integration:read": "Read integrations and where they are installed.",
23377
+ "integration:read": "Read integrations, their status and where they are installed.",
23303
23378
  "integration:installations:read": "Read integration installations and their configuration, which can include credentials for third-party services.",
23304
23379
  "integration:installations:write": "Install and configure integrations on an organization, its spaces and its sites.",
23305
23380
  "integration:publish": "Publish integrations, which can request their own permissions on your content, and route their events to a development tunnel.",
@@ -23482,6 +23557,15 @@
23482
23557
  "type": "string"
23483
23558
  }
23484
23559
  },
23560
+ "revisionCachedMetadata": {
23561
+ "name": "cachedMetadata",
23562
+ "in": "query",
23563
+ "description": "If `true` is passed, mutable Git metadata may be served from a cache.",
23564
+ "schema": {
23565
+ "type": "boolean",
23566
+ "default": false
23567
+ }
23568
+ },
23485
23569
  "reusableContentId": {
23486
23570
  "name": "reusableContentId",
23487
23571
  "in": "path",
@@ -29182,6 +29266,10 @@
29182
29266
  },
29183
29267
  "icon": {
29184
29268
  "$ref": "#/components/schemas/Icon"
29269
+ },
29270
+ "slug": {
29271
+ "description": "Stable identifier for this tab's selection, shared with every tab and button targeting the same slug. It is slugified before matching, so casing and spacing need not be exact. Omit it — or send an empty value, which counts as omitted — to derive one from the title, which is what makes same-named tabs across a site select together. A value that slugifies to nothing, such as emoji alone, also falls back to the title.",
29272
+ "type": "string"
29185
29273
  }
29186
29274
  }
29187
29275
  },
@@ -31098,6 +31186,10 @@
31098
31186
  "actions": {
31099
31187
  "type": "boolean",
31100
31188
  "description": "Should the page actions be visible on the page?"
31189
+ },
31190
+ "anchors": {
31191
+ "type": "boolean",
31192
+ "description": "Should the anchor links on headings and other linkable blocks be visible?"
31101
31193
  }
31102
31194
  },
31103
31195
  "required": [
@@ -31112,7 +31204,8 @@
31112
31204
  "pagination",
31113
31205
  "metadata",
31114
31206
  "tags",
31115
- "actions"
31207
+ "actions",
31208
+ "anchors"
31116
31209
  ]
31117
31210
  },
31118
31211
  "RevisionPageDocumentCoverTextColor": {
@@ -31822,7 +31915,7 @@
31822
31915
  "properties": {
31823
31916
  "id": {
31824
31917
  "type": "string",
31825
- "description": "The ID of an existing link, as served on the change request. Pass it back to update that link; omit it to add a new one. Links created before links were stored individually have no ID and are matched on their URL instead."
31918
+ "description": "The ID of an existing link, as served on the change request. Pass it back to update that link, or omit it to add a new one."
31826
31919
  },
31827
31920
  "ref": {
31828
31921
  "$ref": "#/components/schemas/ContentRefURL"
@@ -31940,13 +32033,16 @@
31940
32033
  "properties": {
31941
32034
  "id": {
31942
32035
  "type": "string",
31943
- "description": "The ID of the link. Absent on links not yet stored relationally."
32036
+ "description": "The ID of the link."
31944
32037
  },
31945
32038
  "expanded": {
31946
32039
  "$ref": "#/components/schemas/ChangeRequestLinkExpanded",
31947
32040
  "readOnly": true
31948
32041
  }
31949
- }
32042
+ },
32043
+ "required": [
32044
+ "id"
32045
+ ]
31950
32046
  }
31951
32047
  ]
31952
32048
  },
@@ -32050,7 +32146,7 @@
32050
32146
  },
32051
32147
  "styleguide": {
32052
32148
  "type": "object",
32053
- "description": "Style guide check run that opened the change request, when it came from one.",
32149
+ "description": "Style guide check that opened the change request, when it came from one. A check can be run again on the change request already open on a space, rather than opening a second one, so several checks can share a change request.\n",
32054
32150
  "properties": {
32055
32151
  "site": {
32056
32152
  "type": "string",
@@ -32063,6 +32159,10 @@
32063
32159
  "changedPages": {
32064
32160
  "type": "number",
32065
32161
  "description": "Number of pages the check changed, recorded when it finished. Absent while it is still running, or when it never completed.\n"
32162
+ },
32163
+ "checkedAt": {
32164
+ "$ref": "#/components/schemas/Timestamp",
32165
+ "description": "When the most recent style guide check on the change request finished. Later edits from anyone else do not move it. Absent while the first one is still running.\n"
32066
32166
  }
32067
32167
  },
32068
32168
  "required": [
@@ -40716,6 +40816,138 @@
40716
40816
  "summary"
40717
40817
  ]
40718
40818
  },
40819
+ "credits": {
40820
+ "type": "object",
40821
+ "description": "The AI credits of the current billing period, grouped the ways the billing screens display them.",
40822
+ "properties": {
40823
+ "grantedCredits": {
40824
+ "description": "Credits granted across every grant.",
40825
+ "type": "number"
40826
+ },
40827
+ "usedCredits": {
40828
+ "description": "Credits spent by the usage metered so far.",
40829
+ "type": "number"
40830
+ },
40831
+ "remainingCredits": {
40832
+ "description": "Credits still available across every grant.",
40833
+ "type": "number"
40834
+ },
40835
+ "coveredAmount": {
40836
+ "description": "Part of the metered AI usage paid by credits rather than billed, as a positive amount.",
40837
+ "type": "number"
40838
+ },
40839
+ "paid": {
40840
+ "description": "The credits the organization pays for.",
40841
+ "$ref": "#/components/schemas/BillingCreditsTotals"
40842
+ },
40843
+ "free": {
40844
+ "description": "The credits included at no extra cost, from the bundle, sites and rollover.",
40845
+ "$ref": "#/components/schemas/BillingCreditsTotals"
40846
+ },
40847
+ "bundle": {
40848
+ "description": "The credits of the monthly bundle, both paid and bonus.",
40849
+ "$ref": "#/components/schemas/BillingCreditsTotals"
40850
+ }
40851
+ },
40852
+ "required": [
40853
+ "grantedCredits",
40854
+ "usedCredits",
40855
+ "remainingCredits",
40856
+ "coveredAmount",
40857
+ "paid",
40858
+ "free",
40859
+ "bundle"
40860
+ ]
40861
+ },
40862
+ "creditGrants": {
40863
+ "type": "array",
40864
+ "description": "AI credits available for the current AI billing period. Empty when the organization is not billed for AI usage.",
40865
+ "items": {
40866
+ "type": "object",
40867
+ "description": "AI credits granted to the organization for the current AI billing period.",
40868
+ "properties": {
40869
+ "type": {
40870
+ "type": "string",
40871
+ "description": "Where the credits come from. `paid` is the credits the monthly bundle pays for, `bonus` the ones included with it, `site` the allowance of the organization's published paid sites, and `rollover` what was left of the previous period.",
40872
+ "enum": [
40873
+ "paid",
40874
+ "bonus",
40875
+ "site",
40876
+ "rollover"
40877
+ ]
40878
+ },
40879
+ "grantedCredits": {
40880
+ "description": "Credits the grant was created with.",
40881
+ "type": "number"
40882
+ },
40883
+ "usedCredits": {
40884
+ "description": "Credits of the grant spent by the usage metered so far.",
40885
+ "type": "number"
40886
+ },
40887
+ "remainingCredits": {
40888
+ "description": "Credits of the grant still available.",
40889
+ "type": "number"
40890
+ },
40891
+ "sites": {
40892
+ "description": "For a `site` grant, the published sites the credits come from.",
40893
+ "type": "array",
40894
+ "items": {
40895
+ "type": "object",
40896
+ "description": "The published sites of one type that the grant comes from.",
40897
+ "properties": {
40898
+ "siteType": {
40899
+ "$ref": "#/components/schemas/SiteType"
40900
+ },
40901
+ "count": {
40902
+ "description": "How many sites of this type are published.",
40903
+ "type": "number"
40904
+ },
40905
+ "creditsPerSite": {
40906
+ "description": "Credits included with one site of this type.",
40907
+ "type": "number"
40908
+ },
40909
+ "grantedCredits": {
40910
+ "description": "Credits these sites contribute to the grant.",
40911
+ "type": "number"
40912
+ }
40913
+ },
40914
+ "required": [
40915
+ "siteType",
40916
+ "count",
40917
+ "creditsPerSite",
40918
+ "grantedCredits"
40919
+ ]
40920
+ }
40921
+ }
40922
+ },
40923
+ "required": [
40924
+ "type",
40925
+ "grantedCredits",
40926
+ "usedCredits",
40927
+ "remainingCredits"
40928
+ ]
40929
+ }
40930
+ },
40931
+ "BillingCreditBalance": {
40932
+ "type": "object",
40933
+ "description": "Credit balance after an accepted bundle change, including grants pending webhook synchronization.",
40934
+ "properties": {
40935
+ "creditsBundle": {
40936
+ "$ref": "#/components/schemas/BillingCreditsBundle"
40937
+ },
40938
+ "credits": {
40939
+ "$ref": "#/components/schemas/credits"
40940
+ },
40941
+ "creditGrants": {
40942
+ "$ref": "#/components/schemas/creditGrants"
40943
+ }
40944
+ },
40945
+ "required": [
40946
+ "creditsBundle",
40947
+ "credits",
40948
+ "creditGrants"
40949
+ ]
40950
+ },
40719
40951
  "BillingUpgrade": {
40720
40952
  "oneOf": [
40721
40953
  {
@@ -40763,6 +40995,9 @@
40763
40995
  "enum": [
40764
40996
  "upgraded"
40765
40997
  ]
40998
+ },
40999
+ "creditBalance": {
41000
+ "$ref": "#/components/schemas/BillingCreditBalance"
40766
41001
  }
40767
41002
  },
40768
41003
  "required": [
@@ -40912,6 +41147,84 @@
40912
41147
  "switch_interval"
40913
41148
  ]
40914
41149
  },
41150
+ "AIUsageInterval": {
41151
+ "type": "string",
41152
+ "description": "UTC calendar interval for AI usage, with weeks starting on Monday.",
41153
+ "enum": [
41154
+ "day",
41155
+ "week",
41156
+ "month",
41157
+ "year"
41158
+ ],
41159
+ "default": "day"
41160
+ },
41161
+ "OrganizationAIUsage": {
41162
+ "type": "object",
41163
+ "required": [
41164
+ "periods",
41165
+ "from",
41166
+ "to"
41167
+ ],
41168
+ "properties": {
41169
+ "from": {
41170
+ "type": "string",
41171
+ "format": "date-time",
41172
+ "description": "Inclusive start of the queried range."
41173
+ },
41174
+ "to": {
41175
+ "type": "string",
41176
+ "format": "date-time",
41177
+ "description": "Exclusive end of the queried range, capped at the current instant."
41178
+ },
41179
+ "periods": {
41180
+ "type": "array",
41181
+ "description": "Chronological calendar buckets. Edge buckets include only the requested dates.",
41182
+ "items": {
41183
+ "type": "object",
41184
+ "required": [
41185
+ "date",
41186
+ "credits",
41187
+ "features"
41188
+ ],
41189
+ "properties": {
41190
+ "date": {
41191
+ "type": "string",
41192
+ "format": "date",
41193
+ "description": "UTC date at the start of this calendar bucket."
41194
+ },
41195
+ "credits": {
41196
+ "type": "number",
41197
+ "description": "Total credits used in this bucket."
41198
+ },
41199
+ "features": {
41200
+ "type": "array",
41201
+ "items": {
41202
+ "type": "object",
41203
+ "required": [
41204
+ "feature",
41205
+ "credits",
41206
+ "creditsPercent"
41207
+ ],
41208
+ "properties": {
41209
+ "feature": {
41210
+ "type": "string",
41211
+ "description": "AI feature category with recorded credit usage."
41212
+ },
41213
+ "credits": {
41214
+ "type": "number"
41215
+ },
41216
+ "creditsPercent": {
41217
+ "type": "number",
41218
+ "description": "Percentage of this bucket's total credits (0 to 100)."
41219
+ }
41220
+ }
41221
+ }
41222
+ }
41223
+ }
41224
+ }
41225
+ }
41226
+ }
41227
+ },
40915
41228
  "BillingMeterUsage": {
40916
41229
  "type": "object",
40917
41230
  "description": "Usage metrics for a billing meter",
@@ -40946,6 +41259,23 @@
40946
41259
  "entries"
40947
41260
  ]
40948
41261
  },
41262
+ "OrganizationFeature": {
41263
+ "type": "string",
41264
+ "description": "An organization feature used for plan access and upgrade prompts.",
41265
+ "enum": [
41266
+ "max-members",
41267
+ "ai-lens",
41268
+ "pdf-export",
41269
+ "ai-writing",
41270
+ "reusable-content",
41271
+ "translations",
41272
+ "members-advanced-roles",
41273
+ "members-teams",
41274
+ "members-team-owners",
41275
+ "security-saml",
41276
+ "change-requests-merge-rules"
41277
+ ]
41278
+ },
40949
41279
  "SearchSpaceResult": {
40950
41280
  "type": "object",
40951
41281
  "description": "Search result representing a space.",
@@ -42071,7 +42401,7 @@
42071
42401
  },
42072
42402
  "totalWords": {
42073
42403
  "type": "integer",
42074
- "description": "Total number of words translated"
42404
+ "description": "Total number of words counted toward translation usage over all runs"
42075
42405
  },
42076
42406
  "totalPages": {
42077
42407
  "type": "integer",
@@ -42091,7 +42421,7 @@
42091
42421
  },
42092
42422
  "latestWords": {
42093
42423
  "type": "integer",
42094
- "description": "Number of words translated in the latest run"
42424
+ "description": "Number of words counted toward translation usage in the latest run"
42095
42425
  }
42096
42426
  },
42097
42427
  "required": [
@@ -43976,7 +44306,7 @@
43976
44306
  },
43977
44307
  "copyright": {
43978
44308
  "type": "string",
43979
- "maxLength": 300
44309
+ "maxLength": 512
43980
44310
  }
43981
44311
  },
43982
44312
  "required": [
@@ -44666,6 +44996,11 @@
44666
44996
  "maxLength": 512,
44667
44997
  "description": "User-Agent the agent itself presented, for example `claude-code/1.2.3`. It is what identifies the harness the agent ran in."
44668
44998
  },
44999
+ "correlationId": {
45000
+ "type": "string",
45001
+ "maxLength": 100,
45002
+ "description": "Identifier the surface gave the agent for the call being reported, used to find that call in the surface's own logs. Not an identifier of this report."
45003
+ },
44669
45004
  "onDemand": {
44670
45005
  "type": "boolean",
44671
45006
  "default": false,
@@ -51724,6 +52059,7 @@
51724
52059
  ]
51725
52060
  },
51726
52061
  "values": {
52062
+ "description": "Pages to match. `null` matches events that resolved to no page, which for `page_view` events is a 404 (a broken URL).",
51727
52063
  "type": "array",
51728
52064
  "items": {
51729
52065
  "oneOf": [
@@ -54770,10 +55106,14 @@
54770
55106
  "$ref": "#/components/schemas/GitSyncOperationStage"
54771
55107
  },
54772
55108
  "dispatchedTasks": {
54773
- "type": "number"
55109
+ "type": "number",
55110
+ "deprecated": true,
55111
+ "description": "Always `0`. Task-level progress is no longer tracked; read `stage` instead."
54774
55112
  },
54775
55113
  "completedTasks": {
54776
- "type": "number"
55114
+ "type": "number",
55115
+ "deprecated": true,
55116
+ "description": "Always `0`. Task-level progress is no longer tracked; read `stage` instead."
54777
55117
  },
54778
55118
  "startedAt": {
54779
55119
  "description": "Date when the operation was started",