DEVELOPER PORTAL

API & Integration Reference

Aashray AI Labs provides developer packages and API endpoints to integrate orchestrators and agents directly into enterprise databases, CRM streams, and Kafka pipelines.


Authentication

All requests to the Aashray API must include a bearer token in the headers. Keys are generated inside the Admin Portal under the permissions settings. Scope restrictions are mapped using Database Row-Level security boundaries.

Context-Aware Routing API

The routing endpoint matches incoming prompts or tasks to specialized agent models and container services dynamically, optimizing token latency and execution safety controls.

Endpoint Details

POST/v1/routing


Technical Publications & Blueprints

Read our core engineering whitepapers detailing agent reliability, context routing benchmarks, and high-performance database sync loops.

RAG Evaluation Framework

Illustrative accuracy blueprints in vector DB contexts.

Request Document

Zero-Trust Agent Memory

Ensuring RBAC safety boundaries across cognitive models.

Request Document
curl -X POST https://api.aashrayailabs.com/v1/routing \
  -H "Authorization: Bearer $AASHRAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "agent-orchestrator-v4",
    "prompt": "Sync ledger balance for account U839120",
    "security_context": { "role": "compliance_auditor" }
  }'
RESPONSE JSON200 OK
{
  "id": "rt_98A3jKls",
  "object": "routing.session",
  "created_at": 1781210542,
  "model": "agent-orchestrator-v4",
  "status": "completed",
  "agent_execution": {
    "node_visited": "ledger_reconcile_service",
    "access_approved": true,
    "changes_committed": 1
  },
  "latency_target_achieved": true
}