@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/dist/client.d.ts +172 -11
- package/dist/constants.d.ts +2 -0
- package/dist/index.cjs +40 -1
- package/dist/index.js +36 -1
- package/package.json +1 -1
- package/spec/openapi.json +371 -31
- package/spec/openapi.yaml +279 -27
package/spec/openapi.yaml
CHANGED
|
@@ -1369,6 +1369,7 @@ paths:
|
|
|
1369
1369
|
- $ref: "#/components/parameters/documentEvaluated"
|
|
1370
1370
|
- $ref: "#/components/parameters/documentDereferenced"
|
|
1371
1371
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
1372
|
+
- $ref: "#/components/parameters/revisionCachedMetadata"
|
|
1372
1373
|
- $ref: "#/components/parameters/revisionComputed"
|
|
1373
1374
|
responses:
|
|
1374
1375
|
"200":
|
|
@@ -2932,6 +2933,7 @@ paths:
|
|
|
2932
2933
|
- $ref: "#/components/parameters/documentEvaluated"
|
|
2933
2934
|
- $ref: "#/components/parameters/documentDereferenced"
|
|
2934
2935
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2936
|
+
- $ref: "#/components/parameters/revisionCachedMetadata"
|
|
2935
2937
|
- $ref: "#/components/parameters/revisionComputed"
|
|
2936
2938
|
responses:
|
|
2937
2939
|
"200":
|
|
@@ -2986,6 +2988,7 @@ paths:
|
|
|
2986
2988
|
- $ref: "#/components/parameters/documentEvaluated"
|
|
2987
2989
|
- $ref: "#/components/parameters/documentDereferenced"
|
|
2988
2990
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2991
|
+
- $ref: "#/components/parameters/revisionCachedMetadata"
|
|
2989
2992
|
- $ref: "#/components/parameters/revisionComputed"
|
|
2990
2993
|
responses:
|
|
2991
2994
|
"200":
|
|
@@ -5090,6 +5093,7 @@ paths:
|
|
|
5090
5093
|
/orgs/{organizationId}/members:
|
|
5091
5094
|
get:
|
|
5092
5095
|
operationId: listMembersInOrganizationById
|
|
5096
|
+
x-gitbook-mcp: true
|
|
5093
5097
|
summary: List all organization members
|
|
5094
5098
|
tags:
|
|
5095
5099
|
- organization-members
|
|
@@ -5124,6 +5128,7 @@ paths:
|
|
|
5124
5128
|
/orgs/{organizationId}/members/{userId}:
|
|
5125
5129
|
get:
|
|
5126
5130
|
operationId: getMemberInOrganizationById
|
|
5131
|
+
x-gitbook-mcp: true
|
|
5127
5132
|
summary: Get an organization member by its ID
|
|
5128
5133
|
tags:
|
|
5129
5134
|
- organization-members
|
|
@@ -5263,6 +5268,7 @@ paths:
|
|
|
5263
5268
|
/orgs/{organizationId}/members/{userId}/teams:
|
|
5264
5269
|
get:
|
|
5265
5270
|
operationId: listTeamsForOrganizationMember
|
|
5271
|
+
x-gitbook-mcp: true
|
|
5266
5272
|
summary: List all organization member teams
|
|
5267
5273
|
tags:
|
|
5268
5274
|
- organization-members
|
|
@@ -5307,6 +5313,7 @@ paths:
|
|
|
5307
5313
|
/orgs/{organizationId}/teams:
|
|
5308
5314
|
get:
|
|
5309
5315
|
operationId: listTeamsInOrganizationById
|
|
5316
|
+
x-gitbook-mcp: true
|
|
5310
5317
|
summary: List all teams
|
|
5311
5318
|
tags:
|
|
5312
5319
|
- teams
|
|
@@ -5471,6 +5478,7 @@ paths:
|
|
|
5471
5478
|
description: Members have been updated
|
|
5472
5479
|
get:
|
|
5473
5480
|
operationId: listTeamMembersInOrganizationById
|
|
5481
|
+
x-gitbook-mcp: true
|
|
5474
5482
|
summary: List all team members
|
|
5475
5483
|
description: |
|
|
5476
5484
|
Lists members, and their roles, for the specified organization team.
|
|
@@ -5766,6 +5774,46 @@ paths:
|
|
|
5766
5774
|
"404":
|
|
5767
5775
|
description: Organization not found
|
|
5768
5776
|
$ref: "#/components/responses/NotFoundError"
|
|
5777
|
+
/orgs/{organizationId}/billing/ai-usage:
|
|
5778
|
+
get:
|
|
5779
|
+
operationId: getOrganizationAIUsage
|
|
5780
|
+
summary: Get AI credit usage by AI feature and time period
|
|
5781
|
+
description: |
|
|
5782
|
+
Returns recorded AI usage for an organization. Calendar buckets use UTC;
|
|
5783
|
+
weeks start on Monday. Requires organization administrator permissions.
|
|
5784
|
+
x-gitbook-mcp: true
|
|
5785
|
+
tags:
|
|
5786
|
+
- billing
|
|
5787
|
+
security:
|
|
5788
|
+
- user: []
|
|
5789
|
+
parameters:
|
|
5790
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5791
|
+
- name: from
|
|
5792
|
+
in: query
|
|
5793
|
+
required: true
|
|
5794
|
+
description: Inclusive start timestamp. Cannot be older than two years from now.
|
|
5795
|
+
schema:
|
|
5796
|
+
type: string
|
|
5797
|
+
format: date-time
|
|
5798
|
+
- name: to
|
|
5799
|
+
in: query
|
|
5800
|
+
required: true
|
|
5801
|
+
description: Exclusive end timestamp.
|
|
5802
|
+
schema:
|
|
5803
|
+
type: string
|
|
5804
|
+
format: date-time
|
|
5805
|
+
- name: interval
|
|
5806
|
+
in: query
|
|
5807
|
+
description: Calendar interval used to aggregate usage.
|
|
5808
|
+
schema:
|
|
5809
|
+
$ref: "#/components/schemas/AIUsageInterval"
|
|
5810
|
+
responses:
|
|
5811
|
+
"200":
|
|
5812
|
+
description: AI usage, including empty periods in the requested range.
|
|
5813
|
+
content:
|
|
5814
|
+
application/json:
|
|
5815
|
+
schema:
|
|
5816
|
+
$ref: "#/components/schemas/OrganizationAIUsage"
|
|
5769
5817
|
/orgs/{organizationId}/search:
|
|
5770
5818
|
get:
|
|
5771
5819
|
operationId: searchOrganizationContent
|
|
@@ -10881,7 +10929,7 @@ paths:
|
|
|
10881
10929
|
- string
|
|
10882
10930
|
- "null"
|
|
10883
10931
|
description: The copyright text that is displayed in the footer. Set to null to reset the override.
|
|
10884
|
-
maxLength:
|
|
10932
|
+
maxLength: 512
|
|
10885
10933
|
themes:
|
|
10886
10934
|
type: object
|
|
10887
10935
|
properties:
|
|
@@ -11487,7 +11535,7 @@ paths:
|
|
|
11487
11535
|
post:
|
|
11488
11536
|
operationId: createSiteStyleguideRun
|
|
11489
11537
|
summary: Start a style guide check run for a site
|
|
11490
|
-
description: "Starts a style guide check: GitBook Agent reviews the given spaces against the site's style guide and proposes fixes.
|
|
11538
|
+
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."
|
|
11491
11539
|
x-gitbook-mcp: true
|
|
11492
11540
|
tags:
|
|
11493
11541
|
- sites
|
|
@@ -11526,7 +11574,7 @@ paths:
|
|
|
11526
11574
|
$ref: "#/components/schemas/SiteStyleguideRun"
|
|
11527
11575
|
changeRequests:
|
|
11528
11576
|
type: array
|
|
11529
|
-
description: The change
|
|
11577
|
+
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."
|
|
11530
11578
|
items:
|
|
11531
11579
|
$ref: "#/components/schemas/ChangeRequest"
|
|
11532
11580
|
required:
|
|
@@ -11595,7 +11643,7 @@ paths:
|
|
|
11595
11643
|
post:
|
|
11596
11644
|
operationId: aggregateSiteEvents
|
|
11597
11645
|
summary: Query a site's analytics events
|
|
11598
|
-
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.
|
|
11646
|
+
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."
|
|
11599
11647
|
x-gitbook-mcp: true
|
|
11600
11648
|
security:
|
|
11601
11649
|
- user: []
|
|
@@ -13095,28 +13143,28 @@ components:
|
|
|
13095
13143
|
tokenUrl: https://oauth.gitbook.com/token
|
|
13096
13144
|
scopes:
|
|
13097
13145
|
user:read: Read your GitBook user profile.
|
|
13098
|
-
organization:read: Read
|
|
13099
|
-
organization:write: Create and update organization settings.
|
|
13100
|
-
organization:members:read: Read organization members, invites and link invites.
|
|
13101
|
-
organization:members:write: Manage organization members, invites and link invites.
|
|
13146
|
+
organization:read: Read the organizations you belong to, their settings and metadata, and their AI agent conversations.
|
|
13147
|
+
organization:write: Create organizations, and update organization settings and AI agent conversations.
|
|
13148
|
+
organization:members:read: Read organization members, teams, invites and link invites.
|
|
13149
|
+
organization:members:write: Manage organization members, teams, invites and link invites.
|
|
13102
13150
|
organization:ask: Ask AI questions across an organization's content.
|
|
13103
13151
|
organization:search: Search across an organization's content.
|
|
13104
|
-
space:read: Read spaces and their content.
|
|
13105
|
-
space:write: Create, update and delete spaces and their content, including imports.
|
|
13106
|
-
space:permissions:read: Read
|
|
13107
|
-
space:permissions:write: Manage
|
|
13108
|
-
change-request:merge: Merge change requests, publishing their changes to the space.
|
|
13109
|
-
site:read: Read sites and their settings.
|
|
13110
|
-
site:write: Create, update and delete sites, sections and
|
|
13152
|
+
space:read: Read spaces and their content, including pages, change requests and their reviews, comments, files and revision history.
|
|
13153
|
+
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.
|
|
13154
|
+
space:permissions:read: Read the users and teams who have access to spaces and collections.
|
|
13155
|
+
space:permissions:write: Manage who has access to spaces and collections, including inviting users and teams.
|
|
13156
|
+
change-request:merge: Merge change requests, publishing their changes to the space. Creating, editing and reviewing change requests only requires space:write.
|
|
13157
|
+
site:read: Read sites and their settings, including navigation structure, linked spaces, customization, redirects, topics, AI configuration and documentation issues.
|
|
13158
|
+
site:write: Create, update and delete sites and their settings, including navigation structure (sections, linked spaces, external links), customization, redirects, topics and AI configuration.
|
|
13111
13159
|
site:publish: Publish and unpublish sites, controlling their public exposure.
|
|
13112
|
-
site:permissions:read: Read
|
|
13113
|
-
site:permissions:write: Manage
|
|
13114
|
-
site:auth:read: Read site
|
|
13115
|
-
site:auth:write: Manage site
|
|
13116
|
-
site:insights:read: Read site analytics and insights.
|
|
13160
|
+
site:permissions:read: Read the users and teams who have access to sites.
|
|
13161
|
+
site:permissions:write: Manage who has access to sites, including inviting users and teams.
|
|
13162
|
+
site:auth:read: Read how visitors authenticate on a site and its security configuration, including private share links.
|
|
13163
|
+
site:auth:write: Manage how visitors authenticate on a site and its security configuration, including private share links.
|
|
13164
|
+
site:insights:read: Read site analytics and insights, including the questions visitors asked Ask AI and the answers they received.
|
|
13117
13165
|
site:ask: Ask AI questions across a site's content.
|
|
13118
13166
|
site:search: Search across a site's content.
|
|
13119
|
-
integration:read: Read integrations and where they are installed.
|
|
13167
|
+
integration:read: Read integrations, their status and where they are installed.
|
|
13120
13168
|
integration:installations:read: Read integration installations and their configuration, which can include credentials for third-party services.
|
|
13121
13169
|
integration:installations:write: Install and configure integrations on an organization, its spaces and its sites.
|
|
13122
13170
|
integration:publish: Publish integrations, which can request their own permissions on your content, and route their events to a development tunnel.
|
|
@@ -13259,6 +13307,13 @@ components:
|
|
|
13259
13307
|
description: The path of the page in the revision.
|
|
13260
13308
|
schema:
|
|
13261
13309
|
type: string
|
|
13310
|
+
revisionCachedMetadata:
|
|
13311
|
+
name: cachedMetadata
|
|
13312
|
+
in: query
|
|
13313
|
+
description: If `true` is passed, mutable Git metadata may be served from a cache.
|
|
13314
|
+
schema:
|
|
13315
|
+
type: boolean
|
|
13316
|
+
default: false
|
|
13262
13317
|
reusableContentId:
|
|
13263
13318
|
name: reusableContentId
|
|
13264
13319
|
in: path
|
|
@@ -17066,6 +17121,9 @@ components:
|
|
|
17066
17121
|
type: string
|
|
17067
17122
|
icon:
|
|
17068
17123
|
$ref: "#/components/schemas/Icon"
|
|
17124
|
+
slug:
|
|
17125
|
+
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.
|
|
17126
|
+
type: string
|
|
17069
17127
|
meta:
|
|
17070
17128
|
type: object
|
|
17071
17129
|
properties:
|
|
@@ -18240,6 +18298,9 @@ components:
|
|
|
18240
18298
|
actions:
|
|
18241
18299
|
type: boolean
|
|
18242
18300
|
description: Should the page actions be visible on the page?
|
|
18301
|
+
anchors:
|
|
18302
|
+
type: boolean
|
|
18303
|
+
description: Should the anchor links on headings and other linkable blocks be visible?
|
|
18243
18304
|
required:
|
|
18244
18305
|
- width
|
|
18245
18306
|
- cover
|
|
@@ -18253,6 +18314,7 @@ components:
|
|
|
18253
18314
|
- metadata
|
|
18254
18315
|
- tags
|
|
18255
18316
|
- actions
|
|
18317
|
+
- anchors
|
|
18256
18318
|
RevisionPageDocumentCoverTextColor:
|
|
18257
18319
|
type: string
|
|
18258
18320
|
enum:
|
|
@@ -18702,7 +18764,7 @@ components:
|
|
|
18702
18764
|
properties:
|
|
18703
18765
|
id:
|
|
18704
18766
|
type: string
|
|
18705
|
-
description: The ID of an existing link, as served on the change request. Pass it back to update that link
|
|
18767
|
+
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.
|
|
18706
18768
|
ref:
|
|
18707
18769
|
$ref: "#/components/schemas/ContentRefURL"
|
|
18708
18770
|
title:
|
|
@@ -18781,10 +18843,12 @@ components:
|
|
|
18781
18843
|
properties:
|
|
18782
18844
|
id:
|
|
18783
18845
|
type: string
|
|
18784
|
-
description: The ID of the link.
|
|
18846
|
+
description: The ID of the link.
|
|
18785
18847
|
expanded:
|
|
18786
18848
|
$ref: "#/components/schemas/ChangeRequestLinkExpanded"
|
|
18787
18849
|
readOnly: true
|
|
18850
|
+
required:
|
|
18851
|
+
- id
|
|
18788
18852
|
ChangeRequestLinks:
|
|
18789
18853
|
type: array
|
|
18790
18854
|
description: External links associated with the change request.
|
|
@@ -18859,7 +18923,8 @@ components:
|
|
|
18859
18923
|
- topic
|
|
18860
18924
|
styleguide:
|
|
18861
18925
|
type: object
|
|
18862
|
-
description:
|
|
18926
|
+
description: |
|
|
18927
|
+
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.
|
|
18863
18928
|
properties:
|
|
18864
18929
|
site:
|
|
18865
18930
|
type: string
|
|
@@ -18871,6 +18936,10 @@ components:
|
|
|
18871
18936
|
type: number
|
|
18872
18937
|
description: |
|
|
18873
18938
|
Number of pages the check changed, recorded when it finished. Absent while it is still running, or when it never completed.
|
|
18939
|
+
checkedAt:
|
|
18940
|
+
$ref: "#/components/schemas/Timestamp"
|
|
18941
|
+
description: |
|
|
18942
|
+
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.
|
|
18874
18943
|
required:
|
|
18875
18944
|
- site
|
|
18876
18945
|
- run
|
|
@@ -24716,6 +24785,105 @@ components:
|
|
|
24716
24785
|
- remainingCustomerBalance
|
|
24717
24786
|
- lines
|
|
24718
24787
|
- summary
|
|
24788
|
+
credits:
|
|
24789
|
+
type: object
|
|
24790
|
+
description: The AI credits of the current billing period, grouped the ways the billing screens display them.
|
|
24791
|
+
properties:
|
|
24792
|
+
grantedCredits:
|
|
24793
|
+
description: Credits granted across every grant.
|
|
24794
|
+
type: number
|
|
24795
|
+
usedCredits:
|
|
24796
|
+
description: Credits spent by the usage metered so far.
|
|
24797
|
+
type: number
|
|
24798
|
+
remainingCredits:
|
|
24799
|
+
description: Credits still available across every grant.
|
|
24800
|
+
type: number
|
|
24801
|
+
coveredAmount:
|
|
24802
|
+
description: Part of the metered AI usage paid by credits rather than billed, as a positive amount.
|
|
24803
|
+
type: number
|
|
24804
|
+
paid:
|
|
24805
|
+
description: The credits the organization pays for.
|
|
24806
|
+
$ref: "#/components/schemas/BillingCreditsTotals"
|
|
24807
|
+
free:
|
|
24808
|
+
description: The credits included at no extra cost, from the bundle, sites and rollover.
|
|
24809
|
+
$ref: "#/components/schemas/BillingCreditsTotals"
|
|
24810
|
+
bundle:
|
|
24811
|
+
description: The credits of the monthly bundle, both paid and bonus.
|
|
24812
|
+
$ref: "#/components/schemas/BillingCreditsTotals"
|
|
24813
|
+
required:
|
|
24814
|
+
- grantedCredits
|
|
24815
|
+
- usedCredits
|
|
24816
|
+
- remainingCredits
|
|
24817
|
+
- coveredAmount
|
|
24818
|
+
- paid
|
|
24819
|
+
- free
|
|
24820
|
+
- bundle
|
|
24821
|
+
creditGrants:
|
|
24822
|
+
type: array
|
|
24823
|
+
description: AI credits available for the current AI billing period. Empty when the organization is not billed for AI usage.
|
|
24824
|
+
items:
|
|
24825
|
+
type: object
|
|
24826
|
+
description: AI credits granted to the organization for the current AI billing period.
|
|
24827
|
+
properties:
|
|
24828
|
+
type:
|
|
24829
|
+
type: string
|
|
24830
|
+
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.
|
|
24831
|
+
enum:
|
|
24832
|
+
- paid
|
|
24833
|
+
- bonus
|
|
24834
|
+
- site
|
|
24835
|
+
- rollover
|
|
24836
|
+
grantedCredits:
|
|
24837
|
+
description: Credits the grant was created with.
|
|
24838
|
+
type: number
|
|
24839
|
+
usedCredits:
|
|
24840
|
+
description: Credits of the grant spent by the usage metered so far.
|
|
24841
|
+
type: number
|
|
24842
|
+
remainingCredits:
|
|
24843
|
+
description: Credits of the grant still available.
|
|
24844
|
+
type: number
|
|
24845
|
+
sites:
|
|
24846
|
+
description: For a `site` grant, the published sites the credits come from.
|
|
24847
|
+
type: array
|
|
24848
|
+
items:
|
|
24849
|
+
type: object
|
|
24850
|
+
description: The published sites of one type that the grant comes from.
|
|
24851
|
+
properties:
|
|
24852
|
+
siteType:
|
|
24853
|
+
$ref: "#/components/schemas/SiteType"
|
|
24854
|
+
count:
|
|
24855
|
+
description: How many sites of this type are published.
|
|
24856
|
+
type: number
|
|
24857
|
+
creditsPerSite:
|
|
24858
|
+
description: Credits included with one site of this type.
|
|
24859
|
+
type: number
|
|
24860
|
+
grantedCredits:
|
|
24861
|
+
description: Credits these sites contribute to the grant.
|
|
24862
|
+
type: number
|
|
24863
|
+
required:
|
|
24864
|
+
- siteType
|
|
24865
|
+
- count
|
|
24866
|
+
- creditsPerSite
|
|
24867
|
+
- grantedCredits
|
|
24868
|
+
required:
|
|
24869
|
+
- type
|
|
24870
|
+
- grantedCredits
|
|
24871
|
+
- usedCredits
|
|
24872
|
+
- remainingCredits
|
|
24873
|
+
BillingCreditBalance:
|
|
24874
|
+
type: object
|
|
24875
|
+
description: Credit balance after an accepted bundle change, including grants pending webhook synchronization.
|
|
24876
|
+
properties:
|
|
24877
|
+
creditsBundle:
|
|
24878
|
+
$ref: "#/components/schemas/BillingCreditsBundle"
|
|
24879
|
+
credits:
|
|
24880
|
+
$ref: "#/components/schemas/credits"
|
|
24881
|
+
creditGrants:
|
|
24882
|
+
$ref: "#/components/schemas/creditGrants"
|
|
24883
|
+
required:
|
|
24884
|
+
- creditsBundle
|
|
24885
|
+
- credits
|
|
24886
|
+
- creditGrants
|
|
24719
24887
|
BillingUpgrade:
|
|
24720
24888
|
oneOf:
|
|
24721
24889
|
- type: object
|
|
@@ -24747,6 +24915,8 @@ components:
|
|
|
24747
24915
|
type: string
|
|
24748
24916
|
enum:
|
|
24749
24917
|
- upgraded
|
|
24918
|
+
creditBalance:
|
|
24919
|
+
$ref: "#/components/schemas/BillingCreditBalance"
|
|
24750
24920
|
required:
|
|
24751
24921
|
- result
|
|
24752
24922
|
- type: object
|
|
@@ -24845,6 +25015,64 @@ components:
|
|
|
24845
25015
|
- upgrade_passive
|
|
24846
25016
|
- downgrade
|
|
24847
25017
|
- switch_interval
|
|
25018
|
+
AIUsageInterval:
|
|
25019
|
+
type: string
|
|
25020
|
+
description: UTC calendar interval for AI usage, with weeks starting on Monday.
|
|
25021
|
+
enum:
|
|
25022
|
+
- day
|
|
25023
|
+
- week
|
|
25024
|
+
- month
|
|
25025
|
+
- year
|
|
25026
|
+
default: day
|
|
25027
|
+
OrganizationAIUsage:
|
|
25028
|
+
type: object
|
|
25029
|
+
required:
|
|
25030
|
+
- periods
|
|
25031
|
+
- from
|
|
25032
|
+
- to
|
|
25033
|
+
properties:
|
|
25034
|
+
from:
|
|
25035
|
+
type: string
|
|
25036
|
+
format: date-time
|
|
25037
|
+
description: Inclusive start of the queried range.
|
|
25038
|
+
to:
|
|
25039
|
+
type: string
|
|
25040
|
+
format: date-time
|
|
25041
|
+
description: Exclusive end of the queried range, capped at the current instant.
|
|
25042
|
+
periods:
|
|
25043
|
+
type: array
|
|
25044
|
+
description: Chronological calendar buckets. Edge buckets include only the requested dates.
|
|
25045
|
+
items:
|
|
25046
|
+
type: object
|
|
25047
|
+
required:
|
|
25048
|
+
- date
|
|
25049
|
+
- credits
|
|
25050
|
+
- features
|
|
25051
|
+
properties:
|
|
25052
|
+
date:
|
|
25053
|
+
type: string
|
|
25054
|
+
format: date
|
|
25055
|
+
description: UTC date at the start of this calendar bucket.
|
|
25056
|
+
credits:
|
|
25057
|
+
type: number
|
|
25058
|
+
description: Total credits used in this bucket.
|
|
25059
|
+
features:
|
|
25060
|
+
type: array
|
|
25061
|
+
items:
|
|
25062
|
+
type: object
|
|
25063
|
+
required:
|
|
25064
|
+
- feature
|
|
25065
|
+
- credits
|
|
25066
|
+
- creditsPercent
|
|
25067
|
+
properties:
|
|
25068
|
+
feature:
|
|
25069
|
+
type: string
|
|
25070
|
+
description: AI feature category with recorded credit usage.
|
|
25071
|
+
credits:
|
|
25072
|
+
type: number
|
|
25073
|
+
creditsPercent:
|
|
25074
|
+
type: number
|
|
25075
|
+
description: Percentage of this bucket's total credits (0 to 100).
|
|
24848
25076
|
BillingMeterUsage:
|
|
24849
25077
|
type: object
|
|
24850
25078
|
description: Usage metrics for a billing meter
|
|
@@ -24869,6 +25097,21 @@ components:
|
|
|
24869
25097
|
required:
|
|
24870
25098
|
- total
|
|
24871
25099
|
- entries
|
|
25100
|
+
OrganizationFeature:
|
|
25101
|
+
type: string
|
|
25102
|
+
description: An organization feature used for plan access and upgrade prompts.
|
|
25103
|
+
enum:
|
|
25104
|
+
- max-members
|
|
25105
|
+
- ai-lens
|
|
25106
|
+
- pdf-export
|
|
25107
|
+
- ai-writing
|
|
25108
|
+
- reusable-content
|
|
25109
|
+
- translations
|
|
25110
|
+
- members-advanced-roles
|
|
25111
|
+
- members-teams
|
|
25112
|
+
- members-team-owners
|
|
25113
|
+
- security-saml
|
|
25114
|
+
- change-requests-merge-rules
|
|
24872
25115
|
SearchSpaceResult:
|
|
24873
25116
|
type: object
|
|
24874
25117
|
description: Search result representing a space.
|
|
@@ -25658,7 +25901,7 @@ components:
|
|
|
25658
25901
|
description: Total number of times the translation has been run
|
|
25659
25902
|
totalWords:
|
|
25660
25903
|
type: integer
|
|
25661
|
-
description: Total number of words
|
|
25904
|
+
description: Total number of words counted toward translation usage over all runs
|
|
25662
25905
|
totalPages:
|
|
25663
25906
|
type: integer
|
|
25664
25907
|
description: Total number of unique pages translated
|
|
@@ -25673,7 +25916,7 @@ components:
|
|
|
25673
25916
|
description: Number of unique pages translated in the latest run
|
|
25674
25917
|
latestWords:
|
|
25675
25918
|
type: integer
|
|
25676
|
-
description: Number of words
|
|
25919
|
+
description: Number of words counted toward translation usage in the latest run
|
|
25677
25920
|
required:
|
|
25678
25921
|
- runs
|
|
25679
25922
|
- totalWords
|
|
@@ -27031,7 +27274,7 @@ components:
|
|
|
27031
27274
|
$ref: "#/components/schemas/CustomizationFooterGroup"
|
|
27032
27275
|
copyright:
|
|
27033
27276
|
type: string
|
|
27034
|
-
maxLength:
|
|
27277
|
+
maxLength: 512
|
|
27035
27278
|
required:
|
|
27036
27279
|
- groups
|
|
27037
27280
|
announcement:
|
|
@@ -27505,6 +27748,10 @@ components:
|
|
|
27505
27748
|
type: string
|
|
27506
27749
|
maxLength: 512
|
|
27507
27750
|
description: User-Agent the agent itself presented, for example `claude-code/1.2.3`. It is what identifies the harness the agent ran in.
|
|
27751
|
+
correlationId:
|
|
27752
|
+
type: string
|
|
27753
|
+
maxLength: 100
|
|
27754
|
+
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.
|
|
27508
27755
|
onDemand:
|
|
27509
27756
|
type: boolean
|
|
27510
27757
|
default: false
|
|
@@ -32262,6 +32509,7 @@ components:
|
|
|
32262
32509
|
enum:
|
|
32263
32510
|
- page
|
|
32264
32511
|
values:
|
|
32512
|
+
description: Pages to match. `null` matches events that resolved to no page, which for `page_view` events is a 404 (a broken URL).
|
|
32265
32513
|
type: array
|
|
32266
32514
|
items:
|
|
32267
32515
|
oneOf:
|
|
@@ -34286,8 +34534,12 @@ components:
|
|
|
34286
34534
|
$ref: "#/components/schemas/GitSyncOperationStage"
|
|
34287
34535
|
dispatchedTasks:
|
|
34288
34536
|
type: number
|
|
34537
|
+
deprecated: true
|
|
34538
|
+
description: Always `0`. Task-level progress is no longer tracked; read `stage` instead.
|
|
34289
34539
|
completedTasks:
|
|
34290
34540
|
type: number
|
|
34541
|
+
deprecated: true
|
|
34542
|
+
description: Always `0`. Task-level progress is no longer tracked; read `stage` instead.
|
|
34291
34543
|
startedAt:
|
|
34292
34544
|
description: Date when the operation was started
|
|
34293
34545
|
$ref: "#/components/schemas/Timestamp"
|