Skip to content

docs(base44-sdk): AI gateway requires server-side service-role calls - #166

Merged
yardend-wix merged 3 commits into
mainfrom
docs/ai-gateway-service-role
Oct 14, 2026
Merged

yardend-wix merged 3 commits into
mainfrom
docs/ai-gateway-service-role

Conversation

@yardend-wix

@yardend-wix yardend-wix commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

AI gateway requests must be made server-side with the app's service role (base44.asServiceRole.aiGateway.connection()). Calls from the browser or with a user's token get 403, error code ai_gateway_requires_service_role. The private/workspace user-token exception is a one-line note.

Updated references/ai-gateway.md (Methods caveat, Token note, token type comment) and the aiGateway.connection line in references/QUICK_REFERENCE.md. The mintlify mirror and llms.txt regenerate from this repo.

Companion PRs: base44-dev/mintlify-docs#2569, base44/javascript-sdk#330.

🤖 Generated with Claude Code

yardend-wix and others added 3 commits October 14, 2026 11:41
…orkspace apps

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…pp's service role

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@yardend-wix yardend-wix changed the title docs(base44-sdk): AI gateway needs the service role outside private/workspace apps docs(base44-sdk): AI gateway requires server-side service-role calls Oct 14, 2026
@yardend-wix
yardend-wix merged commit c3ae9cb into main Oct 14, 2026
@yardend-wix
yardend-wix deleted the docs/ai-gateway-service-role branch October 14, 2026 11:10
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