Skip to main content
Sift provides official client libraries for: All libraries use ingestion-config-based streaming over gRPC. For the full protocol buffers reference, see the gRPC API reference.
The Python client library is named sift_client and is imported into your own code. It is not a command-line tool. For a standalone command-line tool, see the Sift CLI (sift-cli).

Before you begin

  • API key: You need a Sift API key to authenticate requests. To create one, go to Sift > your profile icon > Manage > API Keys > + Create API Key. For full steps, see Create an API key.
  • gRPC URI: Your gRPC endpoint is shown on the API Keys page in Sift, in the gRPC API URL field.
  • REST URI: Your REST endpoint is shown on the same page, in the REST API URL field. Required by the Python client.
In the code examples below, these values are read from environment variables (SIFT_API_KEY, SIFT_URI, BASE_URI). Set them before running any example.

Python

Install

Resources

Imports

Data source

Ingestion config

Connect, create a Run, and stream data

Backwards compatibilityFor a given client_key, adding new flows and channels is a safe and backwards compatible operation. Existing flows and channels should not be modified; this type of change is not backwards compatible and will lead to unexpected behavior.

Go

Install

Resources

Imports

Data source

Flow and channel config

Get or create ingestion config

Create a Run

Main function

Rust

Install

TokioTokio is required to work with sift_rs; it is the runtime that tonic relies on. The Tokio runtime flavor to use is dependent on your requirements.

Resources

Imports

Data source

Channel and flow config

Get or create ingestion config

Create a Run

Run metadataCreateRunRequest supports additional metadata fields such as description, tags, client_key, and stop_time. For the full list of available fields, see the CreateRunRequest documentation in sift_rs. These fields are also documented in the Run API reference.

Main function