Create seamless integrations with WisdomAI using our comprehensive GraphQL API. Access domains, tables, and analytics data programmatically to build custom applications and workflows.Documentation Index
Fetch the complete documentation index at: https://docs.wisdom.ai/llms.txt
Use this file to discover all available pages before exploring further.
The GraphQL API is designed for external integrations. All operations require proper authentication and respect your organization’s access controls.
Get started
The WisdomAI GraphQL API provides a single endpoint for all operations:Replace
{ACCOUNT}.askwisdom.ai with the base URL of your WisdomAI tenant, the same domain you use to log in. Both askwisdom.ai and wisdom.ai are valid depending on your deployment.WebSocket connection
For real-time subscriptions, use the following WebSocket endpoint:Authentication
WisdomAI supports two authentication flows depending on your use case:API authentication
For direct API access, authenticate using a JWT session token obtained via the Descope authentication system.Obtain access key
Contact WisdomAI support at
support@askwisdom.ai to obtain your dedicated access key.Exchange access key for JWT token
Use WisdomAI’s GraphQL API
exchangeAccessToken query to exchange your access key for a JWT token.Embedded user authentication
For embedding scenarios, the flow is different. Instead ofexchangeAccessToken, you call impersonateUser with your Descope access key to obtain a short-lived JWT for the embedded user. That JWT is passed as the token query parameter in the iframe URL, not in an Authorization header.
See the Embedding overview for the full end-to-end flow.
Error handling
For any queries or support, contact our API team at support@askwisdom.ai.
Related articles
GraphQL primer
New to GraphQL? Start here for a REST developer’s introduction
Exchange Access Token
Authenticate with the GraphQL API using access keys
Queries
Learn about available queries for fetching data
Mutations
Discover mutations for creating and updating resources
Subscriptions
Real-time data subscriptions and live updates
Error handling
How to handle HTTP 200 failures and mutation status codes