Customer Documentation · Version 1.0
Welcome to MyOpsAgent — your AI-powered operational decision engine. This guide walks you through everything you need to get started, from creating your organisation to making your first decision request.
MyOpsAgent is designed to integrate seamlessly into your existing systems, whether you are a small business automating daily job assignments or a large enterprise orchestrating complex operational workflows. This document provides a clear, step-by-step onboarding process to ensure a smooth and successful integration.
MyOpsAgent is an API-driven decision engine that evaluates:
It returns:
Every decision is deterministic, explainable, and logged for compliance, giving you a reliable operational record of how and why decisions were made.
Your organisation is created by the MyOpsAgent team during onboarding. This ensures:
Once created, you will receive:
org_id — your organisation’s unique identifierinitial_api_key — your first operational API keyadmin_key (optional) — used for managing API keysThese credentials allow you to authenticate with the platform and begin making decision requests.
Most organisations use multiple API keys for:
To generate a new key, call:
POST /?route=create_api_key
X-Admin-Key: <admin_key>
Content-Type: application/json
{
"org_id": 1,
"label": "Production Key"
}
{
"status": "ok",
"api_key": "xxxx",
"org_id": 1,
"label": "Production Key",
"correlation_id": "...",
"duration_ms": 1.3
}
Important: Store your API keys securely. Treat them like passwords.
If a key is compromised or no longer needed, revoke it immediately.
POST /?route=revoke_api_key
{
"api_key": "xxxx"
}
Revocation is immediate and irreversible.
Before sending your first decision request, ensure your system can provide the following data structures.
Each work item should include:
Each resource should include:
Constraints may include:
Contextual information such as:
Send a POST request to:
POST /?route=decide
X-API-Key: <your_api_key>
Content-Type: application/json
{
"work_item": {
"id": "WI-123",
"required_capabilities": ["temperature", "pressure"],
"location": null,
"metadata": {}
},
"resources": [
{
"id": "engineer-001",
"capabilities": ["temperature", "pressure"],
"location": null,
"availability": null,
"metadata": {}
}
],
"constraints": [],
"context": {
"current_time": "2026-01-16T17:47:02Z",
"org_rules": {},
"environment": {}
}
}
{
"decision_id": "ccf1e43c...",
"org_id": 1,
"work_item_id": "WI-123",
"chosen_resource_id": "engineer-001",
"alternatives": {},
"confidence": 0.5,
"reasoning_factors": [
{"factor": "capability_match", "weight": 0.5, "value": 1},
{"factor": "distance", "weight": 0.3, "value": 0.5},
{"factor": "availability", "weight": 0.2, "value": 0.5}
],
"engine_version": "v1.0.0",
"correlation_id": "d6b6ada7...",
"duration_ms": 4.98
}
After your first successful decision, validate the following:
Check that the decision appears in your audit logs.
Verify that your usage counters incremented:
total_requestsdecisions_countTest scenarios such as:
Your system should gracefully handle all error codes.
Rotating keys every 90 days is recommended.
This allows you to trace decisions end-to-end across your systems.
Avoid unnecessary errors by validating payloads on your side first.
Stay within your rate limits and usage caps to avoid throttling.
Never send API keys over insecure connections.
If you encounter issues:
/health endpointIf you need assistance, contact your MyOpsAgent support representative with the correlation ID and relevant log excerpts.
This guide provides everything you need to begin using MyOpsAgent effectively. By following these steps, you can integrate the decision engine into your systems quickly and confidently, enabling automated, consistent, and auditable operational decisions.
MyOpsAgent is designed to grow with your organisation — from your first decision to enterprise-scale automation.