Skip to content

Commit cbbbe4c

Browse files
feat: Expose Search rollout access in org entitlements
Stainless-Generated-From: c6d763df764944d0f037891a630cbd37899e4559
1 parent f5c540c commit cbbbe4c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎src/kernel/types/organization/org_entitlements.py‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"FeaturesManagedProxies",
2222
"FeaturesProfiles",
2323
"FeaturesProxyBypassHosts",
24+
"FeaturesSearch",
2425
"FeaturesVaults",
2526
"Limits",
2627
"Plan",
@@ -115,6 +116,15 @@ class FeaturesProxyBypassHosts(BaseModel):
115116
"""Whether the organization is entitled to use this feature."""
116117

117118

119+
class FeaturesSearch(BaseModel):
120+
"""
121+
Whether the Search API is enabled for the organization by its rollout feature flag.
122+
"""
123+
124+
enabled: bool
125+
"""Whether the organization is entitled to use this feature."""
126+
127+
118128
class FeaturesVaults(BaseModel):
119129
"""
120130
Whether the organization can access vaults, using the same access check as vault API routes.
@@ -149,6 +159,12 @@ class Features(BaseModel):
149159

150160
proxy_bypass_hosts: FeaturesProxyBypassHosts
151161

162+
search: FeaturesSearch
163+
"""
164+
Whether the Search API is enabled for the organization by its rollout feature
165+
flag.
166+
"""
167+
152168
vaults: FeaturesVaults
153169
"""
154170
Whether the organization can access vaults, using the same access check as vault

0 commit comments

Comments
 (0)