Skip to main content

Rust API reference

scm-sdk exposes native async Rust clients under the crate name scm_sdk. This reference covers 0.2.5, with Rust 1.89 as the minimum supported compiler.

AreaModuleFeature
Runtime scanningscm_sdk::airs::scanscan (default)
AIRS managementscm_sdk::airs::managementmanagement
Model Securityscm_sdk::airs::model_securitymodel-security
Red Teamingscm_sdk::airs::red_teamred-team
AI Gatewayscm_sdk::airs::gatewaygateway
Shared servicesscm_sdk::dlp, scm_sdk::shared::iamdlp, iam
Core clientscm_sdkCore types are always available

Paths here use scm_sdk::; with the dependency alias from the installation guide, use scm:: instead.

Choose the reference you need​

These pages explain client entry points, feature selection and behavior that matters when integrating the SDK. The generated Rust documentation provides signatures and type definitions for the features built by docs.rs.

The hosted 0.2.5 documentation uses default features. Optional family client signatures are available by generating documentation from the SDK source checkout:

cargo doc -p scm-sdk --all-features --no-deps --open

Default features enable scan and reqwest-transport. Enable additional families explicitly; models alone provides model types without those optional clients. The SDK uses your application's async runtime.

[dependencies]
scm-sdk = { version = "=0.2.5", features = ["management", "model-security", "red-team", "gateway"] }

Availability of an API method does not establish tenant permission or live acceptance of a provider workflow. See the family notes and release notes.