DocsSDKs
Dev Tools

SDK Documentation

Integrate JuridGuard’s sovereign AI legal infrastructure directly into your production environment with native language wrappers.

Restricted AccessRESTRICTED

Access to the @jg/core SDK is currently in private testing for Founding Members. Production deployments via API will be opened gradually. For early integration, contact our priority support.

Installation

$npm install @juridguard/sdk

Initialization & Analysis

Configure the client with your secret API key and run a cryptographic legal analysis.

const { JuridGuard } = require('@juridguard/sdk');
const client = new JuridGuard({
apiKey: 'jg_live_k92f...k9s2',
environment: 'production'
});
async function performAudit(documentPath) {
const results = await client.analyze({
source: documentPath,
complianceLevel: 'strict',
encryption: true
});
// Access computed integrity metrics
console.log(results.integrityScore);
}

Error Handling

The SDK throws typed exceptions for operational failures. Handle them to ensure system resilience.

CodeException TypeDescription
401UNAUTHORIZEDThe API key is missing or invalid. Check your credentials in the dashboard.
403FORBIDDENThe authenticated user does not have the necessary permissions to access this resource.
429RATE_LIMITEDRequest volume exceeds tier limits. Implement exponential backoff.

Zero-Knowledge Proofs

Our SDK executes ZK-Proofs locally before any transmission, ensuring that the primary legal text never leaves your infrastructure.

High Performance API

Built for high concurrency. The SDK maintains a lightweight connection pool to minimize latency in cluster configurations.

© 2024 JuridGuard AI. Proprietary.

v2.4.1-stableGitHub