You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/ai-credits-api.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
'@mermaidchart/sdk': patch
3
3
---
4
4
5
-
feat: expose AI credit remaining API in SDK. Added getAICredits method to MermaidChart class and AICreditsUsage interface for fetching user's AI credits from /rest-api/users/me/ai-credit-usage endpoint
5
+
feat: expose AI credit remaining API in SDK
6
+
7
+
Add `getAICredits` method to the SDK for fetching user's AI credits from `/rest-api/users/me/ai-credit-usage` endpoint
0 commit comments