Documentation

Developer Documentation

Everything you need to integrate and use NormaOS in your applications

Quick Start Guide
Get up and running with NormaOS in minutes

1. Create an Account

Sign up for a free account at norma-ai.com/register. You'll get 14 days of Professional features to test the platform.

2. Get Your API Key

Navigate to Settings → API Keys in your dashboard to generate an API key. Keep this key secure and never expose it in client-side code.

3. Install the SDK (Optional)

npm install @norma-ai/sdk

Or use our REST API directly with any HTTP client.

4. Make Your First Request

// Upload a document for analysis
const formData = new FormData();
formData.append('document', file);
formData.append('jurisdiction', 'EU');

const response = await fetch('https://api.norma-ai.com/v1/documents', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  body: formData
});

const result = await response.json();
console.log('Document ID:', result.documentId);
Document Upload
How to upload documents for analysis

Supported Formats

PDF
DOCX
DOC
TXT
RTF

File Limits

  • Maximum file size: 50MB
  • Maximum pages: 500
  • Minimum text content: 100 characters

Upload Methods

Direct Upload

Upload files directly through the web interface or API

URL Import

Provide a URL to import documents from cloud storage

Base64 Encoding

Send document content as base64 encoded string

6-Phase Analysis Process
Understanding how NormaOS analyzes documents
1

Structure Extraction

Parse document structure, identify sections, clauses, and metadata

2

Key Terms Identification

Extract important terms, definitions, and obligations

3

Risk Assessment

Identify potential legal risks and compliance issues

4

Compliance Verification

Check against relevant regulations and standards

5

Citation Validation

Verify legal references and cited regulations

6

Report Generation

Compile comprehensive analysis report with recommendations

Analysis Code Example

// Start document analysis
const response = await fetch('https://api.norma-ai.com/v1/analyze', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    documentId: 'doc_123456',
    phases: ['structure', 'compliance', 'risk'],
    jurisdiction: 'EU'
  })
});

const analysis = await response.json();
console.log('Analysis:', analysis);
Webhooks
Receive real-time notifications about document events

Available Events

document.uploaded
document.analyzed
document.updated
document.deleted
annotation.added
annotation.resolved

Webhook Configuration

// Configure webhook endpoint
const webhook = {
  url: 'https://your-app.com/webhooks/norma',
  events: ['document.analyzed', 'document.updated'],
  secret: 'your_webhook_secret'
};

await fetch('https://api.norma-ai.com/v1/webhooks', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify(webhook)
});
Integrations
Connect NormaOS with your existing tools

Zapier

Available

Automate workflows with 5000+ apps

Slack

Available

Get notifications in your channels

Microsoft Teams

Available

Collaborate on document reviews

Google Drive

Available

Import documents directly

Salesforce

Coming Soon

Sync with your CRM

SharePoint

Coming Soon

Enterprise document management

Ready to Start Building?

Get your API key and start integrating NormaOS today.