ArcoreCodex icon

ArcoreCodex

ProductionSecurity & Assurance

The 'Legal Brain' of the Arcore platform. Codex digitizes laws, contracts, and policies into executable policy-as-code, allowing other Arcore applications to query and enforce rules programmatically, especially for AI guardrails and data governance.

Key Features

  • Policy-as-Code Engine
  • Rule Digitization & Logic Trees
  • Centralized Policy Repository
  • AI Prompt & Output Guardrails
  • Dynamic Access Control Enforcement

API Endpoints

MethodPathDescription
POST`/api/v1/policy/evaluate`Evaluate a policy against input data
GET`/api/v1/policies/{name}`Retrieve a policy definition
POST`/api/v1/policies`Upload or update a policy definition
GET`/api/v1/rulesets`List available rulesets

Usage Example

python
import requests
# Example interaction
response = requests.post(
    url="https://api.arcore.internal/api/v1/policy/evaluate",
    headers={"Authorization": "Bearer <token>"}
)
print(response.json())

Tech Stack

PythonGraphQLRego (OPA)

Authentication

  • **Header:** `Authorization: Bearer <token>`
  • **Scopes:** RBAC is enforced at the object level via `ArcoreCodex` policies.

Compliance & Security

Compliance

  • Input Validation: Strict schema checks
  • Immutable Policy Versioning

Security

  • TLS 1.3
  • AES-256 encryption

Related Services