The GraphQL API is designed for external integrations. All operations require proper authentication and respect your organization’s access controls.
Get Started
The Wisdom API provides real-time access to structured data insights via a WebSocket-based subscription model. Users can ask questions related to business intelligence and receive structured responses, including tabular data and SQL queries. The Wisdom AI GraphQL API provides a single endpoint for all operations:WebSocket Connection
Use the following URL to establish the WebSocket connection:Authentication
The APIs require authentication using a JWT session token obtained via the Descope authentication system. The authentication flow consists of the following steps:1
Obtain Access Key
Contact WisdomAI support at
support@askwisdom.ai
to obtain your dedicated access key.2
Exchange Access Key for JWT Token
Use WisdomAI’s GraphQL API
exchangeAccessToken
query to exchange your access key for a JWT token.-
GraphQL Query:
3
Pass Token in Requests
The session token is required in all API requests and WebSocket connection payload.
Error Handling
Error Code | Message | Cause |
---|---|---|
401 | Unauthorized | Invalid or missing authentication token |
400 | Bad Request | Malformed request payload |
500 | Internal Server Error | Unexpected API failure |
For any queries or support, contact our API team at support@askwisdom.ai.