Skip to main content

veltro-sdk

Python client for VectorFlow and Sigmatic, with frozen Warden API bindings. It uses the standard library only and is Apache-2.0.

pip install veltro-sdk

Sigmatic

Create a personal access token in your Sigmatic stack's identity settings. Pass it to the product gateway prefix:

from veltro_sdk import BearerToken, SigmaticClient

sigmatic = SigmaticClient("https://sigmatic.example.com/sigmatic", auth=BearerToken(pat))
sources = sigmatic.data_sources.list()

For an identity session, use the canonical namespace:

from veltro_sdk import VeltroClient

suite = VeltroClient.login("https://sigmatic.example.com", email, password)
sources = suite.sigmatic.data_sources.list()

The former detection client name, namespace and gateway prefix have been removed without aliases. Each product stack has its own identity; credentials do not cross stack boundaries.

VectorFlow

REST v1 requires an environment-scoped service-account key, not an identity PAT or browser session:

from veltro_sdk import BearerToken, VectorFlowClient

vectorflow = VectorFlowClient(
    "https://vectorflow.example.com/vectorflow",
    auth=BearerToken("vf_live_…"),
)
pipelines = vectorflow.pipelines.list()

VeltroClient also exposes vectorflow when given vectorflow_key or vectorflow_auth. Missing credentials fail locally with MissingCredential. The warden namespace and WardenClient retain the frozen Warden contract; Warden has no supported new install path.

Calling convention

Every operation is a method on a resource namespace. Path parameters are positional and percent-encoded; everything else is a keyword option passed to the transport:

client.data_sources.get("ds-123")                       # path parameter
client.alerts.list(params={"status": "open", "limit": 50})
client.rules.create(json={"title": "…", "sigma_yaml": "…"})
client.export.download(raw=True)                        # bytes, not JSON
Option Meaning
params query parameters (None values dropped, lists repeat the key)
json JSON request body
data raw request body
headers extra headers, applied after the credential
timeout per-request timeout override (seconds)
raw return bytes instead of parsed JSON

Responses are the products' JSON, decoded — the SDK does not reshape them. The field-level reference is each product's OpenAPI document (/openapi.json on Sigmatic and Warden, /api/v1/openapi.json on VectorFlow).

Errors

Exception Raised when
VeltroAPIError any non-2xx; carries .status, .code (the product's own refusal name), .message, .body
VeltroTransportError the request never produced a response (DNS, TLS, connect, timeout)
VeltroResponseTooLarge the response exceeded max_response_bytes (32 MiB default), enforced while streaming
MissingCredential a product namespace was used without a credential it accepts

429, 502, 503 and 504 are retried twice with exponential backoff, honouring Retry-After. Nothing else is retried: a 409 or 422 is the product's answer, not a transient fault.

Credentials are never logged: every credential object masks its material in repr, and the transport keeps request headers out of exception messages.

An identity session is scoped to the origin that minted it. Pointing a product client at a different origin while passing auth=session sends no cookie there rather than the identity session — the cookie runs through http.cookiejar, so Domain, Path and Secure are all honoured.

Coverage

Product Resources Operations Generated from
Sigmatic See sdk/specs/sigmatic-operations.json Generated product operations Product OpenAPI
Warden Frozen API bindings Generated product operations Product OpenAPI
VectorFlow See sdk/specs/vectorflow-operations.json Generated REST v1 operations Product OpenAPI

Machine planes are deliberately not bound — product-peer and external writeback seams (workload-exchange authorised), SCIM, ingest, agent enrollment, inbound webhook receivers, the unauthenticated case portal, and VectorFlow's tRPC transport. Each exclusion and its reason is recorded in sdk/specs/<product>-operations.json.

client.resource_names lists the namespaces a client exposes.

Metadata

Release files for veltro-sdk 0.39.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for veltro-sdk 0.39.0
File Size Uploaded Provenance
veltro_sdk-0.39.0.tar.gz 41.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for veltro-sdk 0.39.0
File Interpreter ABI Platform
veltro_sdk-0.39.0-py3-none-any.whl Python 3 none any Details

Total release size: 77.7 kB

Release files / veltro_sdk-0.39.0.tar.gz

Download URL veltro_sdk-0.39.0.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
41733d5abff3db405bd5708d3acdc3330230d15a74eb32fed7740308b1779b50
BLAKE2b-256 checksum
How to use checksums
1b3a2cba1b6bb430d79037438aa7743429ebc7a35445e2331ba99dbadab1b3f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / veltro_sdk-0.39.0-py3-none-any.whl

Download URL veltro_sdk-0.39.0-py3-none-any.whl
Size 36.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e62a75760b25cc7e873f1422e929fecba928a1e178b33825a950622f00c47623
BLAKE2b-256 checksum
How to use checksums
2ef59e8b124c64b89560ecf1afe9adf164d5fecf2b35a138a80a4e2c361796f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Security for veltro-sdk 0.39.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for veltro_sdk-0.39.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.39.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page