Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
53c2e1f
chore(api): update composite API spec
stainless-app[bot] Apr 15, 2026
e17fb79
codegen metadata
stainless-app[bot] Apr 15, 2026
33fd9e6
codegen metadata
stainless-app[bot] Apr 15, 2026
e7ee358
chore(api): update composite API spec
stainless-app[bot] Apr 15, 2026
5ec0a7b
feat: feat(radar): add AI markdown for agents and agent readiness end…
stainless-app[bot] Apr 15, 2026
435c73d
feat: feat(registrar): add registrar registrations list method on main
stainless-app[bot] Apr 15, 2026
919dbc1
codegen metadata
stainless-app[bot] Apr 15, 2026
1373bb4
feat: feat: enable treeshaking and client options for setting zone an…
stainless-app[bot] Apr 15, 2026
29a0e8f
feat: feat(api): Add mapping for `/dlp/settings` endpoint for DLP-454…
stainless-app[bot] Apr 15, 2026
c69cf24
codegen metadata
stainless-app[bot] Apr 15, 2026
7a61c6f
codegen metadata
stainless-app[bot] Apr 15, 2026
384f624
codegen metadata
stainless-app[bot] Apr 15, 2026
de3711e
codegen metadata
stainless-app[bot] Apr 15, 2026
458012e
feat: feat(ai_search): RAG-934 add namespace endpoints and remove non…
stainless-app[bot] Apr 15, 2026
6505fee
codegen metadata
stainless-app[bot] Apr 15, 2026
dd4f5d0
chore(api): update composite API spec
stainless-app[bot] Apr 15, 2026
ed35936
codegen metadata
stainless-app[bot] Apr 15, 2026
2685e87
codegen metadata
stainless-app[bot] Apr 16, 2026
1f4de90
chore(api): update composite API spec
stainless-app[bot] Apr 16, 2026
be02a41
chore(api): update composite API spec
stainless-app[bot] Apr 16, 2026
18a17f5
codegen metadata
stainless-app[bot] Apr 16, 2026
45b58ae
chore(internal): codegen related update
stainless-app[bot] Apr 16, 2026
becb369
codegen metadata
stainless-app[bot] Apr 16, 2026
926d1ec
chore(api): update composite API spec
stainless-app[bot] Apr 16, 2026
3a1b2f7
chore(api): update composite API spec
stainless-app[bot] Apr 17, 2026
8d31f23
codegen metadata
stainless-app[bot] Apr 17, 2026
ab9ac01
chore(api): update composite API spec
stainless-app[bot] Apr 17, 2026
ab4bf86
feat: chore: skip tests
stainless-app[bot] Apr 17, 2026
fc1a60d
feat: chore: trigger build
stainless-app[bot] Apr 17, 2026
905f27f
feat: fix: add test skips for custom_pages.assets, fix YAML syntax
stainless-app[bot] Apr 17, 2026
0d64642
chore(api): upload stainless config from cloudflare-config
stainless-app[bot] Apr 22, 2026
3b83baa
feat(api): api update
stainless-app[bot] Apr 19, 2026
802fde1
codegen metadata
stainless-app[bot] Apr 20, 2026
42c4dbf
chore(api): update composite API spec
stainless-app[bot] Apr 20, 2026
46a538c
codegen metadata
stainless-app[bot] Apr 20, 2026
0a576fa
chore(internal): version bump
stainless-app[bot] Apr 20, 2026
4560e3c
codegen metadata
stainless-app[bot] Apr 21, 2026
0fd3baf
chore(api): update composite API spec
stainless-app[bot] Apr 21, 2026
67db9e9
chore(api): update composite API spec
stainless-app[bot] Apr 21, 2026
fd0fca0
chore(api): update composite API spec
stainless-app[bot] Apr 21, 2026
c7b5b51
feat: feat(cache): Add origin cloud regions resource to docs/sdk for …
stainless-app[bot] Apr 21, 2026
90d72f0
codegen metadata
stainless-app[bot] Apr 22, 2026
6bf05ea
chore(api): update composite API spec
stainless-app[bot] Apr 22, 2026
0ee5719
chore(api): update composite API spec
stainless-app[bot] Apr 22, 2026
73ab202
codegen metadata
stainless-app[bot] Apr 22, 2026
13b6d32
Merge remote-tracking branch 'origin/next' into staging-next
musa-cf Apr 22, 2026
cb00d08
feat: feat(iam): add user_groups and user_group_members terraform res…
stainless-app[bot] Apr 22, 2026
4a89216
Merge remote-tracking branch 'origin/next' into staging-next
stainless-app[bot] Apr 22, 2026
511b508
chore(api): update composite API spec
stainless-app[bot] Apr 23, 2026
988df86
feat: chore: remove account_id and zone_id client options
stainless-app[bot] Apr 23, 2026
4e50276
codegen metadata
stainless-app[bot] Apr 23, 2026
6810580
feat: feat: add organization audit logs endpoint
stainless-app[bot] Apr 23, 2026
9707100
Merge pull request #2695 from cloudflare/staging-next
musa-cf Apr 24, 2026
2802feb
chore: sync shared codegen files from staging-next
musa-cf Apr 30, 2026
f22897e
chore(aisearch): update generated types and methods
musa-cf Apr 30, 2026
fed88d6
fix: resolve pre-existing codegen type errors
musa-cf Apr 30, 2026
d33af8b
fix(pipelines): add BaseModel base to response SchemaFieldStruct/Sche…
musa-cf Apr 30, 2026
b258ec8
test(dns): add skip annotations for scan_list and scan_review tests
musa-cf Apr 30, 2026
5929e33
Merge pull request #2707 from cloudflare/sync/staging-next-2026-04-29
musa-cf Apr 30, 2026
70d934a
docs: add Authentication section to README
musa-cf Apr 30, 2026
e4b3835
Merge pull request #2708 from cloudflare/docs/add-authentication-section
musa-cf Apr 30, 2026
2f283c2
chore: apply shared infrastructure changes (rye -> uv migration)
musa-cf Apr 30, 2026
7ff4adf
chore(accounts): update generated types
musa-cf Apr 30, 2026
e20c138
chore(aisearch): update generated types, remove unused tests
musa-cf Apr 30, 2026
878e3d4
chore(email_security): remove deprecated type definitions
musa-cf Apr 30, 2026
771c7e4
chore(fraud): update generated types and methods
musa-cf Apr 30, 2026
2e7856d
chore(r2): update generated types
musa-cf Apr 30, 2026
d721964
chore(radar): update to_markdown type ignore comments
musa-cf Apr 30, 2026
f342310
chore(workers_for_platforms): update generated types
musa-cf Apr 30, 2026
342b5a8
fix(_models): add polymorphic_serialization parameter to model_dump o…
musa-cf Apr 30, 2026
fac9404
fix(radar): move type: ignore[call-arg] to call site for mypy
musa-cf Apr 30, 2026
3259115
fix(ci): run tests with single Python version and pydantic v2 only
musa-cf Apr 30, 2026
86676bc
fix(ci): pin single Python version to match pre-uv test behavior
musa-cf Apr 30, 2026
8179b62
Merge pull request #2709 from cloudflare/sync/staging-next-2026-04-30
musa-cf Apr 30, 2026
6b44004
release: 5.0.0
stainless-app[bot] Apr 30, 2026
0e138b9
chore: v5.0.0 changelog and migration guide
musa-cf Apr 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(api): update composite API spec
  • Loading branch information
stainless-app[bot] committed Apr 16, 2026
commit 1f4de907b104586b6ccf02f4d01411f7b26f207b
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 2163
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4169ee95b14da30c92adc40665601f23402b6062088a1c3f34bafeab0c5147cf.yml
openapi_spec_hash: 67c46cedb1c6e2c903e16c17b06486c8
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7675b265d629354e193126ffad8e93efb804186cd581c0d45059547a015b7151.yml
openapi_spec_hash: 12d024b8abf3333c2326cf51a933ba39
config_hash: aebbf0fc2e33e6126d43d201bfa58e25
3 changes: 1 addition & 2 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -11209,7 +11209,6 @@ from cloudflare.types.aisearch import (
NamespaceCreateResponse,
NamespaceUpdateResponse,
NamespaceListResponse,
NamespaceDeleteResponse,
NamespaceChatCompletionsResponse,
NamespaceReadResponse,
NamespaceSearchResponse,
Expand All @@ -11221,7 +11220,7 @@ Methods:
- <code title="post /accounts/{account_id}/ai-search/namespaces">client.aisearch.namespaces.<a href="./src/cloudflare/resources/aisearch/namespaces/namespaces.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/aisearch/namespace_create_params.py">params</a>) -> <a href="./src/cloudflare/types/aisearch/namespace_create_response.py">NamespaceCreateResponse</a></code>
- <code title="put /accounts/{account_id}/ai-search/namespaces/{name}">client.aisearch.namespaces.<a href="./src/cloudflare/resources/aisearch/namespaces/namespaces.py">update</a>(name, \*, account_id, \*\*<a href="src/cloudflare/types/aisearch/namespace_update_params.py">params</a>) -> <a href="./src/cloudflare/types/aisearch/namespace_update_response.py">NamespaceUpdateResponse</a></code>
- <code title="get /accounts/{account_id}/ai-search/namespaces">client.aisearch.namespaces.<a href="./src/cloudflare/resources/aisearch/namespaces/namespaces.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/aisearch/namespace_list_params.py">params</a>) -> <a href="./src/cloudflare/types/aisearch/namespace_list_response.py">SyncV4PagePaginationArray[NamespaceListResponse]</a></code>
- <code title="delete /accounts/{account_id}/ai-search/namespaces/{name}">client.aisearch.namespaces.<a href="./src/cloudflare/resources/aisearch/namespaces/namespaces.py">delete</a>(name, \*, account_id) -> <a href="./src/cloudflare/types/aisearch/namespace_delete_response.py">NamespaceDeleteResponse</a></code>
- <code title="delete /accounts/{account_id}/ai-search/namespaces/{name}">client.aisearch.namespaces.<a href="./src/cloudflare/resources/aisearch/namespaces/namespaces.py">delete</a>(name, \*, account_id) -> object</code>
- <code title="post /accounts/{account_id}/ai-search/namespaces/{name}/chat/completions">client.aisearch.namespaces.<a href="./src/cloudflare/resources/aisearch/namespaces/namespaces.py">chat_completions</a>(name, \*, account_id, \*\*<a href="src/cloudflare/types/aisearch/namespace_chat_completions_params.py">params</a>) -> <a href="./src/cloudflare/types/aisearch/namespace_chat_completions_response.py">NamespaceChatCompletionsResponse</a></code>
- <code title="get /accounts/{account_id}/ai-search/namespaces/{name}">client.aisearch.namespaces.<a href="./src/cloudflare/resources/aisearch/namespaces/namespaces.py">read</a>(name, \*, account_id) -> <a href="./src/cloudflare/types/aisearch/namespace_read_response.py">NamespaceReadResponse</a></code>
- <code title="post /accounts/{account_id}/ai-search/namespaces/{name}/search">client.aisearch.namespaces.<a href="./src/cloudflare/resources/aisearch/namespaces/namespaces.py">search</a>(name, \*, account_id, \*\*<a href="src/cloudflare/types/aisearch/namespace_search_params.py">params</a>) -> <a href="./src/cloudflare/types/aisearch/namespace_search_response.py">NamespaceSearchResponse</a></code>
Expand Down
43 changes: 22 additions & 21 deletions src/cloudflare/resources/aisearch/namespaces/namespaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
from ....types.aisearch.namespace_list_response import NamespaceListResponse
from ....types.aisearch.namespace_read_response import NamespaceReadResponse
from ....types.aisearch.namespace_create_response import NamespaceCreateResponse
from ....types.aisearch.namespace_delete_response import NamespaceDeleteResponse
from ....types.aisearch.namespace_search_response import NamespaceSearchResponse
from ....types.aisearch.namespace_update_response import NamespaceUpdateResponse
from ....types.aisearch.namespace_chat_completions_response import NamespaceChatCompletionsResponse
Expand Down Expand Up @@ -84,7 +83,7 @@ def create(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> NamespaceCreateResponse:
"""
Create a new namespaces.
Create a new namespace.

Args:
description: Optional description for the namespace. Max 256 characters.
Expand Down Expand Up @@ -171,10 +170,9 @@ def list(
self,
*,
account_id: str | None = None,
order_by: Literal["created_at"] | Omit = omit,
order_by_direction: Literal["asc", "desc"] | Omit = omit,
page: int | Omit = omit,
per_page: int | Omit = omit,
search: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -186,9 +184,12 @@ def list(
List namespaces.

Args:
order_by: Order By Column Name
page: Page number (1-indexed).

order_by_direction: Order By Direction
per_page: Number of results per page.

search: Filter namespaces whose name or description contains this string
(case-insensitive).

extra_headers: Send extra headers

Expand All @@ -212,10 +213,9 @@ def list(
timeout=timeout,
query=maybe_transform(
{
"order_by": order_by,
"order_by_direction": order_by_direction,
"page": page,
"per_page": per_page,
"search": search,
},
namespace_list_params.NamespaceListParams,
),
Expand All @@ -234,7 +234,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> NamespaceDeleteResponse:
) -> object:
"""
Delete namespace.

Expand All @@ -260,9 +260,9 @@ def delete(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
post_parser=ResultWrapper[NamespaceDeleteResponse]._unwrapper,
post_parser=ResultWrapper[object]._unwrapper,
),
cast_to=cast(Type[NamespaceDeleteResponse], ResultWrapper[NamespaceDeleteResponse]),
cast_to=cast(Type[object], ResultWrapper[object]),
)

def chat_completions(
Expand Down Expand Up @@ -487,7 +487,7 @@ async def create(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> NamespaceCreateResponse:
"""
Create a new namespaces.
Create a new namespace.

Args:
description: Optional description for the namespace. Max 256 characters.
Expand Down Expand Up @@ -576,10 +576,9 @@ def list(
self,
*,
account_id: str | None = None,
order_by: Literal["created_at"] | Omit = omit,
order_by_direction: Literal["asc", "desc"] | Omit = omit,
page: int | Omit = omit,
per_page: int | Omit = omit,
search: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -591,9 +590,12 @@ def list(
List namespaces.

Args:
order_by: Order By Column Name
page: Page number (1-indexed).

per_page: Number of results per page.

order_by_direction: Order By Direction
search: Filter namespaces whose name or description contains this string
(case-insensitive).

extra_headers: Send extra headers

Expand All @@ -617,10 +619,9 @@ def list(
timeout=timeout,
query=maybe_transform(
{
"order_by": order_by,
"order_by_direction": order_by_direction,
"page": page,
"per_page": per_page,
"search": search,
},
namespace_list_params.NamespaceListParams,
),
Expand All @@ -639,7 +640,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> NamespaceDeleteResponse:
) -> object:
"""
Delete namespace.

Expand All @@ -665,9 +666,9 @@ async def delete(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
post_parser=ResultWrapper[NamespaceDeleteResponse]._unwrapper,
post_parser=ResultWrapper[object]._unwrapper,
),
cast_to=cast(Type[NamespaceDeleteResponse], ResultWrapper[NamespaceDeleteResponse]),
cast_to=cast(Type[object], ResultWrapper[object]),
)

async def chat_completions(
Expand Down
1 change: 0 additions & 1 deletion src/cloudflare/types/aisearch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
from .instance_search_response import InstanceSearchResponse as InstanceSearchResponse
from .instance_update_response import InstanceUpdateResponse as InstanceUpdateResponse
from .namespace_create_response import NamespaceCreateResponse as NamespaceCreateResponse
from .namespace_delete_response import NamespaceDeleteResponse as NamespaceDeleteResponse
from .namespace_search_response import NamespaceSearchResponse as NamespaceSearchResponse
from .namespace_update_response import NamespaceUpdateResponse as NamespaceUpdateResponse
from .instance_chat_completions_params import InstanceChatCompletionsParams as InstanceChatCompletionsParams
Expand Down
17 changes: 0 additions & 17 deletions src/cloudflare/types/aisearch/namespace_delete_response.py

This file was deleted.

16 changes: 9 additions & 7 deletions src/cloudflare/types/aisearch/namespace_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@

from __future__ import annotations

from typing_extensions import Literal, TypedDict
from typing_extensions import TypedDict

__all__ = ["NamespaceListParams"]


class NamespaceListParams(TypedDict, total=False):
account_id: str

order_by: Literal["created_at"]
"""Order By Column Name"""

order_by_direction: Literal["asc", "desc"]
"""Order By Direction"""

page: int
"""Page number (1-indexed)."""

per_page: int
"""Number of results per page."""

search: str
"""
Filter namespaces whose name or description contains this string
(case-insensitive).
"""
59 changes: 59 additions & 0 deletions src/cloudflare/types/url_scanner/scan_get_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
"MetaProcessorsAgentReadinessChecksBotAccessControlWebBotAuthEvidenceRequest",
"MetaProcessorsAgentReadinessChecksBotAccessControlWebBotAuthEvidenceResponse",
"MetaProcessorsAgentReadinessChecksCommerce",
"MetaProcessorsAgentReadinessChecksCommerceAcp",
"MetaProcessorsAgentReadinessChecksCommerceAcpEvidence",
"MetaProcessorsAgentReadinessChecksCommerceAcpEvidenceFinding",
"MetaProcessorsAgentReadinessChecksCommerceAcpEvidenceRequest",
"MetaProcessorsAgentReadinessChecksCommerceAcpEvidenceResponse",
"MetaProcessorsAgentReadinessChecksCommerceAp2",
"MetaProcessorsAgentReadinessChecksCommerceAp2Evidence",
"MetaProcessorsAgentReadinessChecksCommerceAp2EvidenceFinding",
Expand Down Expand Up @@ -766,6 +771,58 @@ class MetaProcessorsAgentReadinessChecksBotAccessControl(BaseModel):
web_bot_auth: MetaProcessorsAgentReadinessChecksBotAccessControlWebBotAuth = FieldInfo(alias="webBotAuth")


class MetaProcessorsAgentReadinessChecksCommerceAcpEvidenceFinding(BaseModel):
outcome: str

summary: str


class MetaProcessorsAgentReadinessChecksCommerceAcpEvidenceRequest(BaseModel):
method: str

url: str

headers: Optional[object] = None


class MetaProcessorsAgentReadinessChecksCommerceAcpEvidenceResponse(BaseModel):
status: int

status_text: str = FieldInfo(alias="statusText")

body_preview: Optional[str] = FieldInfo(alias="bodyPreview", default=None)

body_size: Optional[int] = FieldInfo(alias="bodySize", default=None)

headers: Optional[object] = None

redirected_to: Optional[str] = FieldInfo(alias="redirectedTo", default=None)


class MetaProcessorsAgentReadinessChecksCommerceAcpEvidence(BaseModel):
action: str

label: str

finding: Optional[MetaProcessorsAgentReadinessChecksCommerceAcpEvidenceFinding] = None

request: Optional[MetaProcessorsAgentReadinessChecksCommerceAcpEvidenceRequest] = None

response: Optional[MetaProcessorsAgentReadinessChecksCommerceAcpEvidenceResponse] = None


class MetaProcessorsAgentReadinessChecksCommerceAcp(BaseModel):
status: str

details: Optional[object] = None

duration_ms: Optional[float] = FieldInfo(alias="durationMs", default=None)

evidence: Optional[List[MetaProcessorsAgentReadinessChecksCommerceAcpEvidence]] = None

message: Optional[str] = None


class MetaProcessorsAgentReadinessChecksCommerceAp2EvidenceFinding(BaseModel):
outcome: str

Expand Down Expand Up @@ -923,6 +980,8 @@ class MetaProcessorsAgentReadinessChecksCommerceX402(BaseModel):


class MetaProcessorsAgentReadinessChecksCommerce(BaseModel):
acp: MetaProcessorsAgentReadinessChecksCommerceAcp

ap2: MetaProcessorsAgentReadinessChecksCommerceAp2

ucp: MetaProcessorsAgentReadinessChecksCommerceUcp
Expand Down
Loading
Loading