Skip to content

Conversation

@kodster28
Copy link
Collaborator

@kodster28 kodster28 commented Jun 27, 2025

Updates to Pages / Workers AI / AI Gateway to use APIRequest where applicable.

Did a bit of cleanup re: output blocks and tabs too, since I was in there.

@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Jun 27, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Updated API documentation to incorporate the use of APIRequest for various API calls, enhancing clarity and consistency.

  • Replaced cURL examples with APIRequest components for API calls in multiple documentation files.
  • Streamlined the process of submitting feedback and retrieving logs in the AI Gateway documentation.
  • Improved the structure and readability of API usage examples across the documentation.

Modified Files

  • src/content/docs/ai-gateway/evaluations/add-human-feedback-api.mdx
  • src/content/docs/pages/configuration/api.mdx
  • src/content/docs/workers-ai/features/fine-tunes/loras.mdx
  • src/content/docs/workers-ai/features/fine-tunes/public-loras.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@github-actions github-actions bot added product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ product:pages product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ labels Jun 27, 2025
@github-actions
Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/ai-gateway/ @kathayl, @mchenco, @kodster28, @cloudflare/pcx-technical-writing
/src/content/docs/pages/ @cloudflare/workers-docs, @GregBrimble, @WalshyDev, @aninibread, @irvinebroque, @cloudflare/pcx-technical-writing, @kodster28
/src/content/docs/workers-ai/ @rita3ko, @craigsdennis, @markdembo, @mchenco, @kodster28, @cloudflare/pcx-technical-writing

@kodster28 kodster28 enabled auto-merge (squash) June 27, 2025 15:59
@kodster28 kodster28 merged commit 7037acb into production Jun 27, 2025
11 checks passed
@kodster28 kodster28 deleted the api-request-tweaks branch June 27, 2025 16:14
sdnts pushed a commit to sdnts/cloudflare-docs that referenced this pull request Jul 24, 2025
* Pages and Workers AI

* AI Gateway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ product:pages product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.