Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
0be54b1
codegen metadata
stainless-app[bot] Mar 2, 2026
c5144a0
codegen metadata
stainless-app[bot] Mar 2, 2026
3ed409f
codegen metadata
stainless-app[bot] Mar 3, 2026
559adb6
codegen metadata
stainless-app[bot] Mar 4, 2026
c1fdeae
feat: feat(workers): WO-989 Adds Workers>Observability>Destinations r…
stainless-app[bot] Mar 4, 2026
bcafc86
feat: feat(zero_trust_device_subnet): onboard new terraform resource …
stainless-app[bot] Mar 4, 2026
fe2b21d
feat: feat(ip_profile): onboard new terraform resource cloudflare_zer…
stainless-app[bot] Mar 5, 2026
2358e0a
feat: chore(zero_trust_device_ip_profile): skip go prism tests
stainless-app[bot] Mar 5, 2026
76eacbb
codegen metadata
stainless-app[bot] Mar 5, 2026
31cc167
chore(api): update composite API spec
stainless-app[bot] Mar 5, 2026
d0805c4
chore(api): update composite API spec
stainless-app[bot] Mar 5, 2026
e6917d2
feat: feat(tags): GRM-385 add resource_tagging routes
stainless-app[bot] Mar 5, 2026
160c7be
chore(api): update composite API spec
stainless-app[bot] Mar 6, 2026
1c6ee63
chore(api): update composite API spec
stainless-app[bot] Mar 6, 2026
fe38437
codegen metadata
stainless-app[bot] Mar 6, 2026
8270297
feat: feat: add billable usage PayGo endpoint to billing resource
stainless-app[bot] Mar 6, 2026
df8b0db
chore(api): update composite API spec
stainless-app[bot] Mar 6, 2026
f29b337
codegen metadata
stainless-app[bot] Mar 6, 2026
3e08ae0
codegen metadata
stainless-app[bot] Mar 6, 2026
f7bd429
codegen metadata
stainless-app[bot] Mar 9, 2026
22abcb9
chore(api): update composite API spec
stainless-app[bot] Mar 9, 2026
9c384f3
chore(api): update composite API spec
stainless-app[bot] Mar 9, 2026
049acfc
codegen metadata
stainless-app[bot] Mar 10, 2026
9dac694
chore(api): update composite API spec
stainless-app[bot] Mar 10, 2026
ce6abd1
chore(api): update composite API spec
stainless-app[bot] Mar 10, 2026
f79025e
feat: feat: DISCO-101 add google_tag_gateway resource
stainless-app[bot] Mar 10, 2026
c22dae8
codegen metadata
stainless-app[bot] Mar 10, 2026
b6e4985
codegen metadata
stainless-app[bot] Mar 10, 2026
d7fb232
chore(api): update composite API spec
stainless-app[bot] Mar 11, 2026
b558171
codegen metadata
stainless-app[bot] Mar 12, 2026
2cd5464
codegen metadata
stainless-app[bot] Mar 12, 2026
e38d97d
codegen metadata
stainless-app[bot] Mar 12, 2026
4b6739a
codegen metadata
stainless-app[bot] Mar 12, 2026
e57f80d
codegen metadata
stainless-app[bot] Mar 13, 2026
294b2fe
codegen metadata
stainless-app[bot] Mar 13, 2026
c525e9c
feat: feat(brand_protection): add v2 endpoints
stainless-app[bot] Mar 13, 2026
e05c02f
chore(api): update composite API spec
stainless-app[bot] Mar 13, 2026
1b205b5
chore(api): update composite API spec
stainless-app[bot] Mar 13, 2026
118d227
codegen metadata
stainless-app[bot] Mar 16, 2026
36b3662
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
5075977
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
c4576f7
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
707a709
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
1057e25
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
3b3b332
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
41b73af
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
b3c3741
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
9bbb013
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
56c85e1
codegen metadata
stainless-app[bot] Mar 17, 2026
329d0a1
codegen metadata
stainless-app[bot] Mar 17, 2026
3504ba6
codegen metadata
stainless-app[bot] Mar 17, 2026
09212fa
chore(api): update composite API spec
stainless-app[bot] Mar 17, 2026
93a4c51
chore(api): update composite API spec
stainless-app[bot] Mar 17, 2026
4c4fb7a
feat: chore: skip prism PUT test for workers domain
stainless-app[bot] Mar 17, 2026
69b040b
chore(api): update composite API spec
stainless-app[bot] Mar 17, 2026
b9a8b40
chore(api): update composite API spec
stainless-app[bot] Mar 17, 2026
f2397ba
chore(api): update composite API spec
stainless-app[bot] Mar 17, 2026
a129f4c
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
f5688fd
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
5170136
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
f6cef98
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
236f6c4
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
7f2d577
codegen metadata
stainless-app[bot] Mar 18, 2026
79b761d
codegen metadata
stainless-app[bot] Mar 18, 2026
7f41ef1
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
0a18e81
chore(api): update composite API spec
stainless-app[bot] Mar 19, 2026
6afb257
chore(api): update composite API spec
stainless-app[bot] Mar 19, 2026
fa3d248
chore(api): update composite API spec
stainless-app[bot] Mar 19, 2026
a70c3a8
codegen metadata
stainless-app[bot] Mar 19, 2026
49429f6
chore(api): update composite API spec
stainless-app[bot] Mar 20, 2026
7a5d5f8
feat: feat(stainless): add WARP Connector connections and failover en…
stainless-app[bot] Mar 20, 2026
e5d5273
chore(api): update composite API spec
stainless-app[bot] Mar 20, 2026
44e1823
chore(api): update composite API spec
stainless-app[bot] Mar 20, 2026
1d9ca4a
codegen metadata
stainless-app[bot] Mar 20, 2026
fb77d7b
feat: feat(email_sending): EMAIL-1451: add send/send_raw endpoints an…
stainless-app[bot] Mar 23, 2026
3d240b0
chore(api): update composite API spec
stainless-app[bot] Mar 23, 2026
47ddd9a
chore(api): update composite API spec
stainless-app[bot] Mar 23, 2026
e10b21f
codegen metadata
stainless-app[bot] Mar 23, 2026
60894d8
chore(api): update composite API spec
stainless-app[bot] Mar 23, 2026
f8c67c4
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
3904470
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
860f0f1
feat: feat(api_gateway): WAM-1196: add stainless SDK bindings for lab…
stainless-app[bot] Mar 24, 2026
59cb824
codegen metadata
stainless-app[bot] Mar 24, 2026
5210f01
codegen metadata
stainless-app[bot] Mar 24, 2026
af117cb
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
0fe8dc4
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
9352ebc
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
8150ef4
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
ad1f9f3
codegen metadata
stainless-app[bot] Mar 25, 2026
5afb2e7
chore(api): update composite API spec
stainless-app[bot] Mar 25, 2026
8badf30
codegen metadata
stainless-app[bot] Mar 25, 2026
45b3efc
chore(api): update composite API spec
stainless-app[bot] Mar 25, 2026
dd0c648
codegen metadata
stainless-app[bot] Mar 25, 2026
c7719a0
chore(api): update composite API spec
stainless-app[bot] Mar 25, 2026
e234d53
chore(api): update composite API spec
stainless-app[bot] Mar 25, 2026
25a89d1
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
9796acc
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
2079723
codegen metadata
stainless-app[bot] Mar 26, 2026
8f69d18
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
5b6114b
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
0369387
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
f4a0a19
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
77630b3
codegen metadata
stainless-app[bot] Mar 27, 2026
00c000e
feat: feat: add dns_records/usage endpoints (DNS-12466)
stainless-app[bot] Mar 27, 2026
83bf4b4
codegen metadata
stainless-app[bot] Mar 27, 2026
0086545
chore(api): update composite API spec
stainless-app[bot] Mar 27, 2026
5e263aa
codegen metadata
stainless-app[bot] Mar 30, 2026
719a778
feat: feat(terraform): add custom_page_asset resource for custom assets
stainless-app[bot] Mar 30, 2026
203088b
chore(api): update composite API spec
stainless-app[bot] Mar 30, 2026
68290fb
codegen metadata
stainless-app[bot] Mar 31, 2026
adeda00
chore(api): update composite API spec
stainless-app[bot] Mar 31, 2026
d75f3a2
chore(api): update composite API spec
stainless-app[bot] Mar 31, 2026
2431f72
feat: feat(zones): onboard zone environments endpoints for SDK genera…
stainless-app[bot] Mar 31, 2026
d1f482b
chore(api): update composite API spec
stainless-app[bot] Mar 31, 2026
fdf5570
chore(api): update composite API spec
stainless-app[bot] Mar 31, 2026
68d8c28
codegen metadata
stainless-app[bot] Mar 31, 2026
b5a35fd
codegen metadata
stainless-app[bot] Apr 1, 2026
dc40062
codegen metadata
stainless-app[bot] Apr 2, 2026
15fddc0
codegen metadata
stainless-app[bot] Apr 3, 2026
9ad597b
feat: feat: BRAPI-1051 add browser rendering devtools methods
stainless-app[bot] Apr 10, 2026
8b72e87
chore(api): update composite API spec
stainless-app[bot] Apr 10, 2026
59c43b8
codegen metadata
stainless-app[bot] Apr 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 2041
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9ba099b7936091cc984d2a24fc4d32c3ffcb1d71d86412c8c9084d201e16b3ac.yml
openapi_spec_hash: 45edc9a107cf5a5e3b204b230b0d336d
config_hash: be3f6e9410db673744447f9dbe92d922
configured_endpoints: 2098
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-1697c62901bae8e6e7468a8d683915fea9594c4361cf73318ea4c37176950c3e.yml
openapi_spec_hash: 7e52a69b643162118c88325bb2c6bbd7
config_hash: e5ee85e7627f53eaa934ba6ecf47d64d
692 changes: 511 additions & 181 deletions api.md

Large diffs are not rendered by default.

192 changes: 115 additions & 77 deletions src/cloudflare/_client.py

Large diffs are not rendered by default.

18 changes: 14 additions & 4 deletions src/cloudflare/resources/abuse_reports/abuse_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def create(
host_notification: Literal["send", "send-anon"],
justification: str,
name: str,
owner_notification: Literal["send", "send-anon", "none"],
owner_notification: Literal["send", "send-anon"],
urls: str,
comments: str | Omit = omit,
company: str | Omit = omit,
Expand Down Expand Up @@ -631,6 +631,7 @@ def create(
urls: str,
comments: str | Omit = omit,
company: str | Omit = omit,
reg_who_request: abuse_report_create_params.AbuseReportsRegistrarWhoisReportRegWhoRequest | Omit = omit,
reported_country: str | Omit = omit,
reported_user_agent: str | Omit = omit,
tele: str | Omit = omit,
Expand Down Expand Up @@ -671,6 +672,8 @@ def create(
company: Text not exceeding 100 characters. This field may be released by Cloudflare to
third parties such as the Lumen Database (https://lumendatabase.org/).

reg_who_request: RDP-mandated fields for registrar WHOIS data disclosure requests.

reported_country: Text containing 2 characters

reported_user_agent: Text not exceeding 255 characters
Expand Down Expand Up @@ -866,7 +869,7 @@ def create(
host_notification: Literal["send"] | Literal["send", "send-anon"] | Omit = omit,
name: str,
original_work: str | Omit = omit,
owner_notification: Literal["send"] | Literal["send", "send-anon", "none"] | Literal["send", "send-anon"],
owner_notification: Literal["send"] | Literal["send", "send-anon"] | Literal["send", "send-anon", "none"],
signature: str | Omit = omit,
state: str | Omit = omit,
urls: str,
Expand All @@ -884,6 +887,7 @@ def create(
ports_protocols: str | Omit = omit,
source_ips: str | Omit = omit,
ncmec_notification: Literal["send", "send-anon"] | Omit = omit,
reg_who_request: abuse_report_create_params.AbuseReportsRegistrarWhoisReportRegWhoRequest | Omit = omit,
ncsei_subject_representation: bool | 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.
Expand Down Expand Up @@ -929,6 +933,7 @@ def create(
"ports_protocols": ports_protocols,
"source_ips": source_ips,
"ncmec_notification": ncmec_notification,
"reg_who_request": reg_who_request,
"ncsei_subject_representation": ncsei_subject_representation,
},
abuse_report_create_params.AbuseReportCreateParams,
Expand Down Expand Up @@ -1299,7 +1304,7 @@ async def create(
host_notification: Literal["send", "send-anon"],
justification: str,
name: str,
owner_notification: Literal["send", "send-anon", "none"],
owner_notification: Literal["send", "send-anon"],
urls: str,
comments: str | Omit = omit,
company: str | Omit = omit,
Expand Down Expand Up @@ -1657,6 +1662,7 @@ async def create(
urls: str,
comments: str | Omit = omit,
company: str | Omit = omit,
reg_who_request: abuse_report_create_params.AbuseReportsRegistrarWhoisReportRegWhoRequest | Omit = omit,
reported_country: str | Omit = omit,
reported_user_agent: str | Omit = omit,
tele: str | Omit = omit,
Expand Down Expand Up @@ -1697,6 +1703,8 @@ async def create(
company: Text not exceeding 100 characters. This field may be released by Cloudflare to
third parties such as the Lumen Database (https://lumendatabase.org/).

reg_who_request: RDP-mandated fields for registrar WHOIS data disclosure requests.

reported_country: Text containing 2 characters

reported_user_agent: Text not exceeding 255 characters
Expand Down Expand Up @@ -1892,7 +1900,7 @@ async def create(
host_notification: Literal["send"] | Literal["send", "send-anon"] | Omit = omit,
name: str,
original_work: str | Omit = omit,
owner_notification: Literal["send"] | Literal["send", "send-anon", "none"] | Literal["send", "send-anon"],
owner_notification: Literal["send"] | Literal["send", "send-anon"] | Literal["send", "send-anon", "none"],
signature: str | Omit = omit,
state: str | Omit = omit,
urls: str,
Expand All @@ -1910,6 +1918,7 @@ async def create(
ports_protocols: str | Omit = omit,
source_ips: str | Omit = omit,
ncmec_notification: Literal["send", "send-anon"] | Omit = omit,
reg_who_request: abuse_report_create_params.AbuseReportsRegistrarWhoisReportRegWhoRequest | Omit = omit,
ncsei_subject_representation: bool | 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.
Expand Down Expand Up @@ -1955,6 +1964,7 @@ async def create(
"ports_protocols": ports_protocols,
"source_ips": source_ips,
"ncmec_notification": ncmec_notification,
"reg_who_request": reg_who_request,
"ncsei_subject_representation": ncsei_subject_representation,
},
abuse_report_create_params.AbuseReportCreateParams,
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/resources/abuse_reports/mitigations.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def list(
status: Literal["pending", "active", "in_review", "cancelled", "removed"] | Omit = omit,
type: Literal[
"legal_block",
"misleading_interstitial",
"phishing_interstitial",
"network_block",
"rate_limit_cache",
Expand Down Expand Up @@ -230,6 +231,7 @@ def list(
status: Literal["pending", "active", "in_review", "cancelled", "removed"] | Omit = omit,
type: Literal[
"legal_block",
"misleading_interstitial",
"phishing_interstitial",
"network_block",
"rate_limit_cache",
Expand Down
18 changes: 4 additions & 14 deletions src/cloudflare/resources/accounts/logs/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,8 @@ def list(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncCursorPaginationAfter[AuditListResponse]:
"""Gets a list of audit logs for an account.

<br /> <br /> This is the beta release
of Audit Logs Version 2. Since this is a beta version, there may be gaps or
missing entries in the available audit logs. Be aware of the following
limitations. <br /> <ul> <li>Audit logs are available only for the past 30 days.
<br /></li> <li>Error handling is not yet implemented. <br /> </li> </ul>
"""
Gets a list of audit logs for an account.

Args:
account_id: The unique id that identifies the account.
Expand Down Expand Up @@ -226,13 +221,8 @@ def list(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncPaginator[AuditListResponse, AsyncCursorPaginationAfter[AuditListResponse]]:
"""Gets a list of audit logs for an account.

<br /> <br /> This is the beta release
of Audit Logs Version 2. Since this is a beta version, there may be gaps or
missing entries in the available audit logs. Be aware of the following
limitations. <br /> <ul> <li>Audit logs are available only for the past 30 days.
<br /></li> <li>Error handling is not yet implemented. <br /> </li> </ul>
"""
Gets a list of audit logs for an account.

Args:
account_id: The unique id that identifies the account.
Expand Down
4 changes: 2 additions & 2 deletions src/cloudflare/resources/ai/authors.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncSinglePage[object]:
"""
Author Search
Searches Workers AI models by author or organization name.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -106,7 +106,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncPaginator[object, AsyncSinglePage[object]]:
"""
Author Search
Searches Workers AI models by author or organization name.

Args:
extra_headers: Send extra headers
Expand Down
4 changes: 2 additions & 2 deletions src/cloudflare/resources/ai/finetunes/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def create(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AssetCreateResponse:
"""
Upload a Finetune Asset
Uploads training data assets for a Workers AI fine-tuning job.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -130,7 +130,7 @@ async def create(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AssetCreateResponse:
"""
Upload a Finetune Asset
Uploads training data assets for a Workers AI fine-tuning job.

Args:
extra_headers: Send extra headers
Expand Down
8 changes: 4 additions & 4 deletions src/cloudflare/resources/ai/finetunes/finetunes.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def create(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> FinetuneCreateResponse:
"""
Create a new Finetune
Creates a new fine-tuning job for a Workers AI model using custom training data.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -131,7 +131,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> FinetuneListResponse:
"""
List Finetunes
Lists all fine-tuning jobs created by the account, including status and metrics.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -201,7 +201,7 @@ async def create(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> FinetuneCreateResponse:
"""
Create a new Finetune
Creates a new fine-tuning job for a Workers AI model using custom training data.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -247,7 +247,7 @@ async def list(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> FinetuneListResponse:
"""
List Finetunes
Lists all fine-tuning jobs created by the account, including status and metrics.

Args:
extra_headers: Send extra headers
Expand Down
4 changes: 2 additions & 2 deletions src/cloudflare/resources/ai/finetunes/public.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncSinglePage[PublicListResponse]:
"""
List Public Finetunes
Lists publicly available fine-tuned models that can be used with Workers AI.

Args:
limit: Pagination Limit
Expand Down Expand Up @@ -132,7 +132,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncPaginator[PublicListResponse, AsyncSinglePage[PublicListResponse]]:
"""
List Public Finetunes
Lists publicly available fine-tuned models that can be used with Workers AI.

Args:
limit: Pagination Limit
Expand Down
4 changes: 2 additions & 2 deletions src/cloudflare/resources/ai/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncV4PagePaginationArray[object]:
"""
Model Search
Searches Workers AI models by name or description.

Args:
author: Filter by Author
Expand Down Expand Up @@ -163,7 +163,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncPaginator[object, AsyncV4PagePaginationArray[object]]:
"""
Model Search
Searches Workers AI models by name or description.

Args:
author: Filter by Author
Expand Down
4 changes: 2 additions & 2 deletions src/cloudflare/resources/ai/models/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SchemaGetResponse:
"""
Get Model Schema
Retrieves the input and output JSON schema definition for a Workers AI model.

Args:
model: Model Name
Expand Down Expand Up @@ -119,7 +119,7 @@ async def get(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SchemaGetResponse:
"""
Get Model Schema
Retrieves the input and output JSON schema definition for a Workers AI model.

Args:
model: Model Name
Expand Down
4 changes: 2 additions & 2 deletions src/cloudflare/resources/ai/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncSinglePage[object]:
"""
Task Search
Searches Workers AI models by task type (e.g., text-generation, embeddings).

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -106,7 +106,7 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncPaginator[object, AsyncSinglePage[object]]:
"""
Task Search
Searches Workers AI models by task type (e.g., text-generation, embeddings).

Args:
extra_headers: Send extra headers
Expand Down
8 changes: 4 additions & 4 deletions src/cloudflare/resources/ai/to_markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def supported(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncSinglePage[ToMarkdownSupportedResponse]:
"""
Get all converted formats supported
Lists all file formats supported for conversion to Markdown.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -92,7 +92,7 @@ def transform(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncSinglePage[ToMarkdownTransformResponse]:
"""
Convert Files into Markdown
Converts uploaded files into Markdown format using Workers AI.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -156,7 +156,7 @@ def supported(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncPaginator[ToMarkdownSupportedResponse, AsyncSinglePage[ToMarkdownSupportedResponse]]:
"""
Get all converted formats supported
Lists all file formats supported for conversion to Markdown.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -191,7 +191,7 @@ def transform(
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncPaginator[ToMarkdownTransformResponse, AsyncSinglePage[ToMarkdownTransformResponse]]:
"""
Convert Files into Markdown
Converts uploaded files into Markdown format using Workers AI.

Args:
extra_headers: Send extra headers
Expand Down
Loading
Loading