Skip to content

[WIP] Adding AI API monetizatino guide#326

Open
shanakama wants to merge 3 commits into
mainfrom
ai-api-monetization
Open

[WIP] Adding AI API monetizatino guide#326
shanakama wants to merge 3 commits into
mainfrom
ai-api-monetization

Conversation

@shanakama

@shanakama shanakama commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Purpose

$subject

related : https://github.com/wso2-enterprise/apim-gtm/issues/635

Checklist

  • Verified that llms.txt (located at en/docs/llms.txt) is updated for AI readiness content.
  • Ensured meaningful alt text for images and that the information contained in an image also appears in text so the relevant info exists in the body of the document.
  • Added or updated frontmatter for the respective pages.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

  • Unit tests

    Code coverage information

  • Integration tests

    Details about the test cases and coverage

Security checks

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 61247d72-f633-45d0-857c-aa4b2be6ce41

📥 Commits

Reviewing files that changed from the base of the PR and between 99dabb4 and 2bf4128.

📒 Files selected for processing (3)
  • en/docs/guides/monetization/ai-api-monetization.md
  • en/docs/llms.txt
  • en/mkdocs.yml
✅ Files skipped from review due to trivial changes (1)
  • en/docs/llms.txt

📝 Walkthrough

Added a new AI API monetization guide that walks through monetizing an Anthropic Claude LLM API with WSO2 AI Workspace and Moesif, including usage attribution, metering, rate limiting, billing setup, traffic generation, verification, and troubleshooting.

Updated the docs navigation and AI readiness index to surface the new AI monetization content alongside the existing monetization guides.

Walkthrough

This pull request replaces the AI API monetization guide with a new tutorial for monetizing an Anthropic Claude API using AI Workspace, Moesif usage metering, and Stripe billing. It adds setup, attribution, rate limiting, traffic generation, billing meter configuration, verification, troubleshooting, and next-step links, and updates the docs navigation and index to include the new guide.

Suggested reviewers: Krishanx92, nisan-abeywickrama

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is mostly template text and placeholders, with only a linked issue and no filled-in purpose, goals, approach, or test details. Replace placeholders with concrete purpose, goals, approach, user stories, release note, documentation, tests, and any other applicable sections.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the PR’s main change: adding an AI API monetization guide.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ai-api-monetization

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@shanakama shanakama changed the title Adding AI API monetizatino guide [WIP] Adding AI API monetizatino guide Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant