Client SDKs

Client Overview

Learn the shared v1 route surface used by the Python, TypeScript, and curl examples.

Datafuse keeps the public app contract simple: authenticate, list integrations, resolve tools, invoke a tool, and inspect audit logs. The same flow works from Python, TypeScript, or raw HTTP.


Shared Route Surface

RoutePurpose
GET /api/v1/integrationsList the current user's integrations.
POST /api/v1/integrations/{id}/resolve-toolsDiscover the tool keys available for an integration.
POST /api/v1/integrations/{id}/invokeExecute a selected tool with a JSON payload.
GET /api/v1/audit/logsRead the latest compliance audit events.

Common Configuration

Both client examples and the curl guide use the same environment variables:

  • DATAFUSE_API_URL: The gateway host, defaulting to https://api.datafuse.xyz.
  • DF_TOKEN: A user access token from the app's authentication flow.

Next Steps