Skip to main content

Overview

ValiqorClient is the main entry point for the Valiqor SDK. It provides lazy-loaded access to all sub-modules — evaluation, security, tracing, scanning, failure analysis, and trace querying — plus project management and usage methods.
ValiqorClient supports the context manager protocol. Use with ValiqorClient(...) as client: to auto-close HTTP sessions on exit.

Constructor


Properties

All sub-module properties are lazy-loaded — the client is only instantiated when first accessed.

Methods

list_projects()

List all projects in your organization.
Returns: A list of project dicts with id, name, key, model_name, and created_at.

create_project()

Create a new project.

get_project()

Get a project by ID. If project_id is omitted, the current project (from project_name) is used.

get_usage()

Get current usage and quota information for your account.

validate_auth()

Validate your API key and return account information.

Usage Example