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.2

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.2
File Size Uploaded Provenance
veltro_sdk-0.39.2.tar.gz 41.1 kB With provenance Details

Built distribution (wheel)

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

Total release size: 77.6 kB

Release files / veltro_sdk-0.39.2.tar.gz

Download URL veltro_sdk-0.39.2.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4af76f7ab77a337be64fc6bcf8c79c25922f2d811a48f2e0db26039a92135db9
BLAKE2b-256 checksum
How to use checksums
c11fe4496bce2825b6c03cba91f61e4dbf69ee8807495cf5a8246f1e2fcb6682
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 20, 2026.

Transparency log

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

Download URL veltro_sdk-0.39.2-py3-none-any.whl
Size 36.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cf886f2d003b4c496c40c0a0724ee9dee557b6a7d4a59f366f2a5c0a1f0289a
BLAKE2b-256 checksum
How to use checksums
2529e01314df1607b55e19f2616b192c493f958e05b43addfe6e67c8588b2ea7
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 20, 2026.

Transparency log

Security for veltro-sdk 0.39.2

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.2.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 20, 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.2 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