Runnable examples for the skyflow-flowvault-python SDK — one file per operation. See the
flowvault README for the full SDK guide.
Python 3.9+
pip install skyflow-flowvault-python
A FlowVault vault and Skyflow credentials (a service-account credentials.json, an API key, or a
bearer token).
Each sample has placeholders near the top — replace them with your own values:
credentials = {'path' : '<PATH_TO_YOUR_CREDENTIALS_JSON>' } # or 'api_key' / 'token' / 'credentials_string'
vault_config = {
'vault_id' : '<YOUR_VAULT_ID>' ,
'cluster_id' : '<YOUR_CLUSTER_ID>' ,
'env' : Env .PROD ,
'credentials' : credentials ,
}
python flowvault/samples/vault_api/insert_records.py
Sample
Demonstrates
deidentify_string.py
De-identify sensitive data in a string with a configuration_id or an inline DetectConfiguration
deidentify_file.py
De-identify a file; submit-only, submit-and-poll with PollOptions, and presigned URL source
get_run.py
Retrieve the status and outputs of a detect file run, branching on DetectRunStatus
reidentify_string.py
De-identify to a vault token group, then re-identify the tokens in the string
reidentify_file.py
Re-identify tokens in a file (synchronous)
check_guardrails.py
Screen text for toxicity and denied topics
Custom headers & HTTP config
Service account (token generation)