The AiQL SDKs are typed wrappers around the AiQL API. They handle authentication, request building, and response parsing so you can work with workspaces, ingestions, queries, and tools using native language constructs.

Available SDKs

Python

Install with pip and call the API from any Python 3.9+ application.

TypeScript

Install with npm and use in Node.js or the browser with full type safety.

What the SDKs cover

Both SDKs expose the same resources:
  • Workspaces — create, read, update, and delete workspaces.
  • Ingestions — start ingestions, check status, cancel, and retry.
  • Queries — run queries and fetch results.
  • Tools — convert, split, shape, and extract data.

Authentication

Every SDK is configured with an API key. Generate one in the Dashboard and provide it when you create the client. Keep your key in an environment variable rather than committing it to source control.
The SDKs default to the production API at https://api.aiql.io. Override the base URL to point at a local or staging server.