Skip to main content

Glossary

Compact definitions for terms that appear across the docs. Each entry links to the page that teaches the concept in depth. Use this as a quick lookup; the depth is in the linked guide.

A​

Actionable entity​

The document an alert is bound to: the customer, account, claim, or transaction record the alert's scenario fired against. An alert always has exactly one actionable entity. See Alerts guide.

Admin namespace​

client.admin is the grouped access point for every configuration sub-manager (entity types, reference lists, queues, domains, strategies, shapes, synonyms, and the rest). See Configuration guide.

Alerting event​

The intermediate object created when a scenario fires. An alerting event may or may not become an alert depending on the routing rules. See Alerts guide.

Authorization Code + PKCE​

The recommended interactive auth flow for notebooks and desktop CLI use. Backed by AuthorizationCodeTokenProvider. See Authentication.

B​

Bound object​

A result wrapper that carries its own runtime context: the DocumentRuntime, generated API namespaces, and auth state needed to operate on the underlying resource. Document, Alert, WorkflowTask, WorkspaceHandle, and InsightHandle are all bound objects. See Client model.

Bulk operation result​

BulkOperationResult is one row of the list[BulkOperationResult] that client.documents.bulk_upsert(...) returns. Each row exposes id, entity_type, operation, error, and succeeded; fail fast with sasvi.documents.raise_on_errors(results). See Bulk operations.

C​

Checkout​

The lock VI takes on an alert (or document) before allowing certain actions. Inspect via alert.checkout_state(). A write the service refuses because of the lock raises AlertConflictError; rate_productivity() raises its subclass AlertNotCheckedOutError before sending anything when another user holds the lock. See Alerts guide.

ConfigDomain​

The client.admin namespace's class, grouping 24+ sub-managers under one object. Reach it through client.admin; the class itself is sasvi.admin.ConfigDomain. See Configuration reference.

Configuration bundle​

A portable SDK-owned archive containing SAND configuration plus the alerts package, produced by client.admin.config.export_bundle(). See Configuration management.

Contributing object​

A document a scenario references when it fires, such as the issuing bank for a fraudulent transaction. Captured via ContributingObjectInput. See Alerts guide.

D​

Disposition​

The final resolution applied to an alert (e.g., "PRODUCTIVE", "NON_PRODUCTIVE"). Applied via alert.disposition(...). Some dispositions require additional fields and raise DispositionPromptRequiredError. See Alerts guide.

Document​

The unit of data in Visual Investigator. Every entity type defines the schema for a class of documents. Bound documents are accessed via client.documents.get(...) or returned from search. See Documents guide.

DocumentRuntime​

The internal helper that bound documents carry. Holds the generated API namespaces, upload paths, and the snapshot of the document. Not part of the public API but visible in tracebacks. See Runtime architecture.

E​

Entity type​

The schema VI uses for one kind of document. Discover via client.admin.entity_types.list(). Documents are scoped to one entity type via their document_type. See Discover your environment.

ensure_*_success​

Internal helpers (ensure_admin_success, ensure_datahub_success, and so on) that the SDK uses to normalize responses from the generated client into typed exceptions. Not in sasvi.errors.__all__, because they are internal plumbing.

F​

F.term / F.range / F.geo_*​

Field-level filter operators in the search DSL. Compose with &, |, ~. See Search DSL reference.

Field value​

The typed Python value stored in one VI document field. The FieldValue alias is str | int | float | bool | list | dict | None. See Types reference.

G​

Generated client​

The auto-generated openapi client at sasvi.api.*, regenerated from the VI OpenAPI spec. The handwritten SDK layer wraps it. See Runtime architecture.

GroupRef​

The typed wrapper for a VI group reference in a chooser field. Pair with UserRef. Serialized to JSON arrays on the wire. See User and group fields recipe.

H​

Handle​

A lightweight wrapper around a generated payload. RawBackedHandle is the mixin base, and every concrete handle inherits it: Document, WorkspaceHandle, InsightHandle, InsightCellHandle, and the rest. Exposes .raw and .raw_dict(). See sasvi.handles reference.

HTTP log policy​

HTTPLogPolicy is the dataclass that groups every HTTP-logging knob (enabled, level, body redaction, slow-request threshold). Read the active policy via SVIConfig.http_log_policy; configure it with the flat log_http* keyword arguments on SVIClient or SVIConfig. See Logging and diagnostics.

I​

Insight​

A NOTESHEET-typed sheet attached to a document, containing curated analytical cells (text, image, network, summary, etc.). Accessed via document.insights. See Documents guide.

Investigative harness​

The umbrella term for VI's combination of entity types, scenarios, alerts, workflows, and search. The SDK exposes each layer through its own service.

L​

Literal alias​

A Python typing.Literal aliased in sasvi.types (e.g. WorkflowState, ProductivityCode, SheetType). Use these instead of raw str for closed-set parameters. See Types reference.

N​

Notesheet​

The wire-level name for an insight sheet. The SDK calls them "insights" externally; the underlying sheet_type literal is "NOTESHEET". Cf. Worksheet.

O​

ObjectRef​

Lightweight reference to a VI document by (entity_type_name, document_id). Used as input where a full bound Document would be heavy. See Alerts guide.

P​

PKCE​

Proof Key for Code Exchange, the OAuth extension used by AuthorizationCodeTokenProvider. Allows interactive authentication without a client secret. See Authentication.

Productivity code​

The closed-set string indicating how an alert was resolved. Literal["PRODUCTIVE", "NON_PRODUCTIVE", "INDETERMINATE"]. See Types reference.

Q​

Q.text / Q.safe_text​

Top-level query operators. Q.text is Lucene-syntax-by-default; Q.safe_text escapes every metacharacter. Use Q.safe_text for any value not constant in your source code. See Search DSL reference.

R​

RawBackedHandle​

The base mixin for every handle wrapping a generated payload. Provides .raw and .raw_dict(). See sasvi.handles reference.

Reference list​

A VI-managed list of categorical values (e.g., status codes, priority levels). Accessed via client.admin.reference_lists. See Configuration guide.

Retry policy​

RetryPolicy is the dataclass that groups every retry knob (max_retries, backoff_seconds, statuses, methods, request_deadline_seconds). Read the active policy via SVIConfig.retry_policy; configure it with the flat retry keyword arguments (max_retries, retry_backoff_seconds, retry_statuses, retry_methods) on SVIClient or SVIConfig. See Performance guide.

S​

SAND​

The Visual Investigator search service. The handwritten Search builder produces SAND payloads. See Search guide.

Scenario​

A configured rule that, when matched against incoming data, produces a scenario fired event. Scenarios are managed via client.admin.scenarios.

Scenario fired event (SFE)​

One firing of a scenario. Many SFEs can belong to one AlertingEvent. See Alerts guide.

Search hit​

SearchHit is the normalized result row returned by Search terminals. It is mapping-shaped (hit["field"], hit.get(...), hit.fields). Hydrate to a bound object via hit.hydrate(). See Search guide.

Search results​

SearchResults is a paged collection of search hits. It iterates as Iterable[SearchHit]. Exposes total (server-estimated hits across all pages, with the raw server count on server_total) and __bool__ (truthy when non-empty).

Sheet​

A page attached to a document. Two kinds: "NOTESHEET" (insight) and "WORKSHEET" (workspace). See Documents guide.

SVIClient​

The main entry point for SDK use. Owns auth, generated clients, and the handwritten services. See sasvi package reference.

SVIConfig​

The dataclass holding the runtime configuration for an SVIClient: base URL, timeout, retry policy, log policy, redaction sets, httpx2 args. See sasvi.config reference.

SVIError​

The base exception type for the SDK. Subclasses Exception (not RuntimeError). All typed subclasses derive from it. See Errors reference.

T​

Token provider​

The abstraction for acquiring a bearer token to authenticate against Viya. Four shipped: StaticTokenProvider, ClientCredentialsTokenProvider, UsernamePasswordTokenProvider, AuthorizationCodeTokenProvider. See Authentication.

to_dict() vs raw_dict()​

Two snapshot methods. raw_dict() returns the generated payload as plain Python in the VI wire format, ready to round-trip into another SDK call. RawBackedHandle provides it, so every handle has one. to_dict() returns a curated, JSON-friendly snapshot suitable for logging. Not every handle defines it: the result and record types that wrap a single payload, such as Shape, JobHandle and the bulk result types, expose raw_dict() only. Check the reference page for the handle you are holding. See FAQ.

TransientError​

The marker exception for retryable transport- or server-side failures. NetworkError and DeadlineExceededError both derive from it. Subclass of SVIError. See Performance guide.

Transport error classes​

No httpx2 exception escapes the SDK. A request that never produced a usable response raises one of these, with the httpx2 exception as __cause__:

  • NetworkError. The request failed before a complete response arrived. Check outcome_unknown before resending a write.
  • ServiceUnreachableError. DNS, connection or proxy failure, and a subclass of NetworkError. The request never reached the server, so outcome_unknown is False and resending is safe.
  • TLSError. Handshake or certificate validation failed. Never retried, and not a TransientError.
  • DeadlineExceededError. request_deadline_seconds ran out.
  • MalformedResponseError. A response arrived but could not be read as the documented shape.

U​

UNSET​

The sentinel used by the generated client to indicate "this field was not set" (as opposed to None, which means "explicitly null"). Most SDK code shields you from it; you'll see it if you reach into .raw on a handle.

UserRef​

The typed wrapper for a VI user reference in a chooser field. Pair with GroupRef. Serialized to JSON arrays on the wire. See User and group fields recipe.

V​

Visual Investigator​

The SAS product the SDK wraps. See the SAS docs for the product surface; this SDK focuses on programmatic access. See VI vocabulary.

Viya​

The SAS platform Visual Investigator runs on. The SASVI_BASE_URL points at the Viya tenant; service-specific URLs are derived from it. See Compatibility and Viya cadence.

W​

Workflow​

A VI-managed state machine attached to one entity type. Instances move through states defined by the workflow definition. Tasks fire at workflow steps that require human action. See Workflows guide.

Workflow definition​

The configurable schema for a workflow. Discover via client.admin.workflows.list(). See Workflows guide.

Workflow instance​

One running execution of a workflow definition. Created by client.workflows.start(workflow_name=...). Holds the current state, tasks, and process variables. See Workflows guide.

Workflow task​

A discrete step in a workflow instance that requires a user action (claim → complete with action). Accessed via client.workflows.tasks. See Workflows guide.

Workflow state​

The closed-set string for a workflow instance's current phase. Literal["RUNNING", "SUSPENDED", "COMPLETE", "CANCELED"]. See Types reference.

Worksheet​

The wire-level name for a workspace sheet. The SDK calls them "workspaces" externally; the underlying sheet_type literal is "WORKSHEET". Cf. Notesheet.

Workspace​

A WORKSHEET-typed sheet attached to a document, containing graph nodes and relationships for visualization. Accessed via document.workspaces. See Documents guide.

Go further​