POST /api/auth/login — include as Authorization: Bearer <token>X-API-Key: cdb_your_key. POST /api/developer/keys below is the same key system under a developer-portal-branded URL — same key, same limits, same account, either path works.{
"email": "user@example.com",
"password": "your-password"
}
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_in": 86400,
"user": { "id": "usr_...", "tier": "FREE" }
}
Create and manage keys programmatically. Session auth required (log in first) — these endpoints manage the same keys shown in your dashboard's API Keys tab, just reachable under a developer-portal-branded URL.
{
"label": "My Integration"
}
{
"success": true,
"key": "cdb_...",
"prefix": "cdb_ab12",
"label": "My Integration",
"tier": "FREE",
"warning": "Store this key securely. It cannot be retrieved after this response."
}
{
"keys": [ { "key_prefix": "cdb_ab12", "label": "My Integration", "active": true } ],
"count": 1,
"max_keys": 1
}
Exceeded limits return HTTP 429 with header Retry-After: <seconds>.
{
"name": "My GPT-4 Agent",
"asset_type": "agent", // model | agent | rag | api | pipeline
"provider": "openai",
"endpoint_url": "https://api.openai.com/v1/chat/completions",
"deployment": "cloud"
}
{
"asset_id": "ast_01JX...",
"provenance": { "evidence_mode": "DECLARED", "observed": false },
"message": "Asset registered as customer-declared inventory. /scan provides metadata review questions; verified assessment evidence is required to determine control posture."
}
| Param | Type | Required | Description |
|---|---|---|---|
| type | string | optional | Filter: model | agent | rag | api |
| limit | number | optional | Default 50, max 100 |
| Param | Type | Required | Description |
|---|---|---|---|
| id | string | required | Asset ID from register |
{
"success": true,
"scan_id": null,
"review_id": "airv_example",
"assessment_mode": "METADATA_REVIEW_ONLY",
"scan_status": "NOT_RUN",
"verification_status": "UNVERIFIED",
"security_score": null,
"risk_score": null,
"findings": [],
"review_considerations": [
{ "category": "LLM01", "title": "Prompt Injection", "evidence_status": "NOT_ASSESSED", "severity": null }
]
}
Questionnaire-based control mapping. These responses are customer declarations, not legal compliance certification or independently verified controls.
{
"success": true,
"frameworks": [
{ "id": "NIST_AI_RMF", "total_controls": 18 },
{ "id": "ISO_42001", "total_controls": 13 },
{ "id": "EU_AI_ACT", "total_controls": 13 }
]
}Each real framework object also includes name, version, publication, and applicability. This endpoint does not implement an OWASP questionnaire catalog.
{
"framework": "ISO_42001"
}
Use one of the exact IDs returned by GET /frameworks. An independently reviewed backend update will additionally support the `framework_id` alias; do not rely on the alias until that release is serving.
Implemented workflow: create an authorized engagement and submit transcripts obtained from your own separately run target tests. The Hub does not automatically execute attack traffic, deploy agents, or claim validated compromise from engagement creation. Results are bounded transcript observations requiring human verification.
{
"target_model": "customer-owned-assistant",
"attack_types": ["prompt_injection", "jailbreak"]
}
Use only authorized test scopes. Optional `assessment_id` must refer to a RUNNING assessment with active authorization for every requested attack type. Unsupported legacy `target_asset_id`, `attack_categories`, and `intensity` fields do not initiate live tests.
{
"success": true,
"engagement_id": "rt_<generated-id>",
"assessment_method": "guided_transcript_analysis",
"live_attack_execution": false,
"raw_transcript_storage": false,
"report_endpoint": "/api/ai-security/redteam/<id>/report"
}Next: submit a real authorized transcript to POST /api/ai-security/redteam/:id/attack using `attack_type`, `test_id`, and `target_response`. The server evaluates the submitted transcript, not an externally executed payload.
{
"success": true,
"assessment_method": "transcript_analysis",
"verification_status": "UNVERIFIED",
"live_attack_execution": false,
"executive_summary": {
"submitted_transcripts": 0,
"overall_risk": "UNVERIFIED",
"risk_score": null
}
}Never infer a successful attack, an engagement-wide risk score, or regulatory compliance from an empty or incomplete transcript set.
{
"agent_type": "langchain", // openai | langchain | crewai | autogen | mcp
"tools": ["web_search","code_exec","file_write"],
"system_prompt": "You are a helpful assistant..."
}
{
"risk_score": 83,
"risk_level": "HIGH",
"issues": [
{ "type": "OVER_PRIVILEGED_TOOL", "tool": "file_write", "severity": "CRITICAL" },
{ "type": "SYSTEM_PROMPT_INJECTION_RISK", "severity": "HIGH" }
]
}
| Param | Type | Required | Description |
|---|---|---|---|
| type | string | optional | prompt_attacks | agent_threats | ai_cves | model_advisories |
| severity | string | optional | CRITICAL | HIGH | MEDIUM | LOW |
| limit | number | optional | Default 20, max 100 |
{
"feed": [
{
"id": "ATI-2025-0047",
"type": "prompt_attack",
"title": "Multi-turn Jailbreak via Role Persistence",
"severity": "HIGH",
"published": "2025-06-09T08:00:00Z"
}
],
"total": 847,
"updated_at": "2025-06-09T14:00:00Z"
}
Deterministically generates immediate mitigation actions, detection guidance, a threat hunting
guide, a SOC playbook, an incident response playbook (NIST SP 800-61), an executive
advisory, security architecture guidance, an operational checklist, and references — grounded
entirely in the real threat_intel record plus the live MITRE ATT&CK mapping and
composite risk score. Anonymous callers get the full playbook computed on demand; sign in to
persist it and get staleness tracking if the underlying intelligence is later re-enriched.
{
"success": true,
"playbook_id": "pbk_mr4z...",
"persisted": true,
"stale": false,
"playbook": {
"risk_tier": "CRITICAL",
"immediate_actions": [ "..." ],
"detection_guidance": [ "..." ],
"threat_hunting_guide": { "suggested_query": "..." },
"soc_playbook": [ { "stage": "Triage", "action": "..." } ],
"incident_response_playbook": [ /* NIST SP 800-61 phases */ ],
"executive_advisory": "...",
"security_architecture_guidance": [ /* per ATT&CK tactic */ ],
"operational_checklist": [ /* checkbox items */ ],
"references": [ { "label": "NVD — CVE-...", "url": "https://nvd.nist.gov/..." } ],
"supporting_evidence": { /* every real field the playbook was built from */ }
}
}
POST /api/threat-intel/:id/playbook — force regeneration from current intelligence.
GET /api/threat-intel/playbooks/history — your saved generation history (sign-in required).
{
"code": "const query = `SELECT * FROM users WHERE id = ${req.params.id}`",
"language": "javascript", // js | ts | py | go | java | php | rb | cs | rs
"context": "express api route"
}
{
"ok": true,
"risk_grade": "F",
"risk_score": 94,
"findings": [ /* top 3 findings visible */ ],
"locked_count": 7,
"gated": true,
"upgrade": { "price": "₹999", "url": "https://cyberdudebivash.in/upgrade" }
}
{
"ok": true,
"risk_grade": "F",
"risk_score": 94,
"tier": "starter",
"gated": false,
"findings": [
{
"rule_id": "CDB-SQL-001",
"title": "SQL Injection via String Interpolation",
"severity": "CRITICAL",
"cwe": "CWE-89",
"line": 1,
"remediation": "Use parameterized queries..."
}
]
}
{
"total_rules": 47,
"categories": ["injection","auth","secrets","crypto","ssrf","ai_llm"],
"patterns": [ /* full rule catalog */ ]
}
{
"mcp_config": {
"server_url": "https://mcp.example.com/sse",
"tools": ["read_file", "execute_code"],
"auth_method": "oauth2"
}
}
/status is public only as a coarse availability signal. Detailed run state, job identifiers, metrics, pipeline metadata and all operational intelligence endpoints require privileged authority: an authenticated ENTERPRISE/MSSP principal, a valid ADMIN_KEY, or an approved administrative RBAC principal.
curl https://cyberdudebivash.in/api/mythos/god-mode/status
curl https://cyberdudebivash.in/api/mythos/god-mode/ciso \ -H "Authorization: Bearer <ENTERPRISE_OR_MSSP_TOKEN>"
curl https://cyberdudebivash.in/api/mythos/god-mode/aspm \ -H "Authorization: Bearer <ENTERPRISE_OR_MSSP_TOKEN>"
curl https://cyberdudebivash.in/api/mythos/god-mode/compliance \ -H "Authorization: Bearer <ENTERPRISE_OR_MSSP_TOKEN>"
curl https://cyberdudebivash.in/api/mythos/god-mode/hunt-pack \ -H "Authorization: Bearer <ENTERPRISE_OR_MSSP_TOKEN>"
curl -X POST https://cyberdudebivash.in/api/mythos/god-mode/run \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_ADMIN_KEY>" \
-d '{"max_items": 20}'| Code | Status | Meaning |
|---|---|---|
| AUTH_REQUIRED | 401 | JWT or API key required for this endpoint |
| TIER_REQUIRED | 403 | Current plan insufficient — upgrade required |
| RATE_LIMITED | 429 | Too many requests — check Retry-After header |
| VALIDATION_ERROR | 400 | Request body failed validation — check the errors array |
| NOT_FOUND | 404 | Resource does not exist or belongs to another account |
| INTERNAL_ERROR | 500 | Platform error — contact support with x-request-id |