Skip to main content
Every SDK call returns a typed model and raises a typed exception on failure. All models inherit from VijilModel (a Pydantic BaseModel configured with extra="ignore"), and all exceptions inherit from VijilError.

Models

Page[T]

Generic paginated response returned by every list() method.
Page[T] handles the Console’s varying response shapes (items or results keys, total or count fields) transparently.

Evaluation

Dimensions

Job

Agent

TrustScore

DomeConfig

Harness

Report

Other Models

Errors

Import exceptions from vijil.exceptions:

Exception Hierarchy

Exception Attributes

Automatic Retries

The HTTP client retries transient failures automatically, up to three attempts:
  • 429 Rate Limited — waits for the Retry-After header duration.
  • 5xx Server Error — exponential backoff (1s, 2s, 4s).
If every retry fails, the SDK raises the corresponding exception.

Error-Handling Pattern

Catch specific exceptions first, then fall back to the VijilError base class:
Last modified on July 9, 2026