API Reference
Ask Sage API
Build custom applications with programmatic access to Ask Sage's powerful AI models
Table of Contents
Instance-Specific Base URL: The endpoints and configuration shown reflect the instance at chat.asksage.ai. The api. prefix and path suffix stay the same across deployments — only the instance segment in the middle changes based on which Ask Sage instance you are logging into. Always use the instance approved by your organization and applicable regulatory requirements, and match the base URL in your configuration to the instance you authenticate against.
API Documentation
The Ask Sage API provides comprehensive Swagger documentation for seamless integration. Choose the API surface that matches your needs:
Pro Tip: Swagger documentation provides interactive API exploration with request/response examples, parameter details, and authentication requirements.
Creating an API Key
Follow these steps to generate your API key:
- Navigate to Settings in the Ask Sage platform
- Switch to the Account tab
- Scroll down to find Manage your API Keys in the sidebar
- Click to generate your new API key
Security Notice: Keep your API key secure and never share it publicly. Treat it like a password and rotate keys regularly for enhanced security.