-
Notifications
You must be signed in to change notification settings - Fork 1
API Reference
Athena Auto-Operator edited this page Jun 8, 2026
·
1 revision
All API routes use the /api/v1/ prefix.
GET /api/health
Returns the service health status.
POST /api/mcp
MCP (Model Context Protocol) endpoint for Agent communication.
GET /api/mcp/.well-known
Returns MCP server capabilities and supported protocols.
POST /api/v1/govern
Submit a governance decision request. Returns ALLOW/DENY/ASK_USER/DEFER.
Request Body:
{
"action": "string",
"agent_id": "string",
"context": {},
"safety_level": "development|staging|production"
}Response:
{
"decision": "ALLOW|DENY|ASK_USER|DEFER",
"confidence": 0.95,
"reason": "string",
"policy_path": ["Rule", "Mode", "SafetyGate"]
}MAREF exposes governance tools via MCP:
| Tool | Description |
|---|---|
govern |
Submit governance decision |
get_status |
Get current governance state |
list_agents |
List registered agents |
get_trust_score |
Get agent trust score |
| Resource Template | Description |
|---|---|
maref://audit/{id} |
Audit log entry |
maref://agent/{id} |
Agent configuration |
maref://trust/{id} |
Trust score history |
MAREF agents publish standardized capability cards:
{
"agent_id": "string",
"name": "string",
"capabilities": ["governance", "orchestration", "execution"],
"trust_state": "QIAN",
"version": "0.30.0"
}{
"message_id": "uuid",
"from": "agent_id",
"to": "agent_id",
"type": "task|response|heartbeat",
"payload": {},
"timestamp": "ISO8601"
}| Endpoint | Description |
|---|---|
GET /metrics |
Prometheus metrics export |
GET /traces |
OpenTelemetry trace data |
GET /logs |
Structured audit logs |
© 2026 MAREF Contributors. Licensed under Apache-2.0.