{ "components": { "schemas": { "ApproveCasesIn": { "additionalProperties": false, "properties": { "approved": { "items": { "type": "string" }, "title": "Approved", "type": "array" }, "comments": { "additionalProperties": { "type": "string" }, "title": "Comments", "type": "object" }, "rejected": { "items": { "type": "string" }, "title": "Rejected", "type": "array" } }, "title": "ApproveCasesIn", "type": "object" }, "AskIn": { "additionalProperties": false, "properties": { "conversation_id": { "anyOf": [ { "maxLength": 80, "type": "string" }, { "type": "null" } ], "title": "Conversation Id" }, "question": { "maxLength": 2000, "minLength": 1, "title": "Question", "type": "string" } }, "required": [ "question" ], "title": "AskIn", "type": "object" }, "AskOut": { "properties": { "answer": { "title": "Answer", "type": "string" }, "conversation_id": { "title": "Conversation Id", "type": "string" }, "model": { "title": "Model", "type": "string" } }, "required": [ "answer", "conversation_id", "model" ], "title": "AskOut", "type": "object" }, "AssistantStatus": { "properties": { "configured": { "title": "Configured", "type": "boolean" }, "enabled": { "title": "Enabled", "type": "boolean" }, "reachable": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Reachable" } }, "required": [ "enabled", "configured" ], "title": "AssistantStatus", "type": "object" }, "AutonomyIn": { "additionalProperties": false, "properties": { "level": { "enum": [ "L0", "L1", "L2" ], "title": "Level", "type": "string" } }, "required": [ "level" ], "title": "AutonomyIn", "type": "object" }, "BatchView": { "properties": { "cases": { "items": { "$ref": "#/components/schemas/CustomCaseOut" }, "title": "Cases", "type": "array" }, "created_by": { "title": "Created By", "type": "string" }, "expires_at": { "title": "Expires At", "type": "string" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Message" }, "pod": { "anyOf": [ { "$ref": "#/components/schemas/PodRef" }, { "type": "null" } ] }, "run_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Run Id" }, "source": { "title": "Source", "type": "string" }, "status": { "enum": [ "parsed", "building", "built", "failed" ], "title": "Status", "type": "string" } }, "required": [ "status", "source", "created_by", "expires_at", "cases" ], "title": "BatchView", "type": "object" }, "BuildIn": { "properties": { "pod_id": { "title": "Pod Id", "type": "integer" } }, "required": [ "pod_id" ], "title": "BuildIn", "type": "object" }, "CancelIn": { "additionalProperties": false, "properties": { "reason": { "default": "", "maxLength": 500, "title": "Reason", "type": "string" } }, "title": "CancelIn", "type": "object" }, "CaseStepOut": { "properties": { "action": { "title": "Action", "type": "string" }, "expected": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Expected" } }, "required": [ "action" ], "title": "CaseStepOut", "type": "object" }, "ChannelLink": { "properties": { "linked": { "title": "Linked", "type": "boolean" }, "linked_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Linked At" }, "username": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Username" } }, "required": [ "linked" ], "title": "ChannelLink", "type": "object" }, "ChatContext": { "additionalProperties": false, "description": "The context chip: what the user is looking at. It narrows read tools; it is never an instruction.", "properties": { "module": { "anyOf": [ { "pattern": "^[A-Z][A-Z0-9]{1,5}$", "type": "string" }, { "type": "null" } ], "title": "Module" }, "pod_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Pod Id" }, "run_id": { "anyOf": [ { "maxLength": 80, "type": "string" }, { "type": "null" } ], "title": "Run Id" }, "tz_offset": { "anyOf": [ { "maximum": 840.0, "minimum": -840.0, "type": "integer" }, { "type": "null" } ], "title": "Tz Offset" } }, "title": "ChatContext", "type": "object" }, "ConversationIn": { "additionalProperties": false, "properties": { "pod_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Pod Id" }, "run_id": { "anyOf": [ { "maxLength": 80, "type": "string" }, { "type": "null" } ], "title": "Run Id" } }, "title": "ConversationIn", "type": "object" }, "CustomCaseOut": { "properties": { "area": { "title": "Area", "type": "string" }, "case_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Case Id" }, "decided_by": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Decided By" }, "failed_step": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Failed Step" }, "key": { "title": "Key", "type": "string" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Message" }, "priority": { "title": "Priority", "type": "string" }, "script_preview": { "default": [], "items": { "type": "string" }, "title": "Script Preview", "type": "array" }, "simulated": { "default": false, "title": "Simulated", "type": "boolean" }, "state": { "enum": [ "parsed", "scripting", "not_scriptable", "dry_run_passed", "dry_run_failed", "approved", "rejected" ], "title": "State", "type": "string" }, "steps": { "items": { "$ref": "#/components/schemas/CaseStepOut" }, "title": "Steps", "type": "array" }, "title": { "title": "Title", "type": "string" }, "warnings": { "items": { "type": "string" }, "title": "Warnings", "type": "array" } }, "required": [ "key", "title", "area", "priority", "steps", "warnings", "state" ], "title": "CustomCaseOut", "type": "object" }, "DecisionIn": { "additionalProperties": false, "properties": { "decision": { "enum": [ "approve", "reject" ], "title": "Decision", "type": "string" }, "note": { "anyOf": [ { "maxLength": 1000, "type": "string" }, { "type": "null" } ], "title": "Note" } }, "required": [ "decision" ], "title": "DecisionIn", "type": "object" }, "FeatureIn": { "additionalProperties": false, "properties": { "on": { "title": "On", "type": "boolean" } }, "required": [ "on" ], "title": "FeatureIn", "type": "object" }, "ForgotIn": { "additionalProperties": false, "properties": { "email": { "maxLength": 254, "minLength": 5, "title": "Email", "type": "string" } }, "required": [ "email" ], "title": "ForgotIn", "type": "object" }, "HTTPValidationError": { "properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError" }, "title": "Detail", "type": "array" } }, "title": "HTTPValidationError", "type": "object" }, "Health": { "properties": { "frontier_configured": { "title": "Frontier Configured", "type": "boolean" }, "kill_engaged": { "title": "Kill Engaged", "type": "boolean" }, "mock_up": { "title": "Mock Up", "type": "boolean" }, "ollama_up": { "title": "Ollama Up", "type": "boolean" }, "status": { "title": "Status", "type": "string" }, "target": { "title": "Target", "type": "string" }, "version": { "title": "Version", "type": "string" } }, "required": [ "status", "mock_up", "ollama_up", "frontier_configured", "kill_engaged", "version", "target" ], "title": "Health", "type": "object" }, "HumanReviewIn": { "additionalProperties": false, "properties": { "review": { "additionalProperties": { "$ref": "#/components/schemas/ReviewAnswer" }, "title": "Review", "type": "object" } }, "required": [ "review" ], "title": "HumanReviewIn", "type": "object" }, "IntegrationState": { "properties": { "configured": { "title": "Configured", "type": "boolean" }, "host": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Host" }, "last_delivery": { "anyOf": [ { "$ref": "#/components/schemas/LastDelivery" }, { "type": "null" } ] } }, "required": [ "configured" ], "title": "IntegrationState", "type": "object" }, "IntegrationsView": { "properties": { "discord": { "$ref": "#/components/schemas/IntegrationState" }, "google_chat": { "$ref": "#/components/schemas/IntegrationState" }, "slack": { "$ref": "#/components/schemas/IntegrationState" }, "teams": { "$ref": "#/components/schemas/IntegrationState" } }, "required": [ "slack", "teams", "google_chat", "discord" ], "title": "IntegrationsView", "type": "object" }, "KeysIn": { "properties": { "keys": { "items": { "type": "string" }, "maxItems": 50, "minItems": 1, "title": "Keys", "type": "array" } }, "required": [ "keys" ], "title": "KeysIn", "type": "object" }, "KillIn": { "additionalProperties": false, "properties": { "engaged": { "title": "Engaged", "type": "boolean" }, "reason": { "default": "", "maxLength": 500, "title": "Reason", "type": "string" } }, "required": [ "engaged" ], "title": "KillIn", "type": "object" }, "LLMKeyIn": { "additionalProperties": false, "properties": { "api_key": { "maxLength": 400, "minLength": 8, "title": "Api Key", "type": "string" } }, "required": [ "api_key" ], "title": "LLMKeyIn", "type": "object" }, "LLMSettingsIn": { "additionalProperties": false, "properties": { "frontier_base_url": { "anyOf": [ { "maxLength": 300, "type": "string" }, { "type": "null" } ], "title": "Frontier Base Url" }, "frontier_model": { "anyOf": [ { "maxLength": 120, "type": "string" }, { "type": "null" } ], "title": "Frontier Model" }, "llm_frontier": { "anyOf": [ { "enum": [ "off", "frontier" ], "type": "string" }, { "type": "null" } ], "title": "Llm Frontier" }, "llm_local": { "anyOf": [ { "enum": [ "stub", "ollama" ], "type": "string" }, { "type": "null" } ], "title": "Llm Local" }, "ollama_model": { "anyOf": [ { "maxLength": 120, "type": "string" }, { "type": "null" } ], "title": "Ollama Model" }, "ollama_url": { "anyOf": [ { "maxLength": 300, "type": "string" }, { "type": "null" } ], "title": "Ollama Url" } }, "title": "LLMSettingsIn", "type": "object" }, "LLMTestIn": { "additionalProperties": false, "properties": { "target": { "enum": [ "local", "external" ], "title": "Target", "type": "string" } }, "required": [ "target" ], "title": "LLMTestIn", "type": "object" }, "LastDelivery": { "properties": { "at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "At" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "ok": { "title": "Ok", "type": "boolean" }, "status": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Status" } }, "required": [ "ok" ], "title": "LastDelivery", "type": "object" }, "LeftTestData": { "properties": { "number": { "title": "Number", "type": "string" }, "test": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Test" }, "why": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Why" } }, "required": [ "number" ], "title": "LeftTestData", "type": "object" }, "LinkCode": { "properties": { "bot_username": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Bot Username" }, "code": { "title": "Code", "type": "string" }, "expires_at": { "title": "Expires At", "type": "string" } }, "required": [ "code", "expires_at" ], "title": "LinkCode", "type": "object" }, "LoginIn": { "additionalProperties": false, "properties": { "password": { "maxLength": 256, "minLength": 1, "title": "Password", "type": "string" }, "remember": { "default": false, "title": "Remember", "type": "boolean" }, "username": { "maxLength": 254, "minLength": 1, "title": "Username", "type": "string" } }, "required": [ "username", "password" ], "title": "LoginIn", "type": "object" }, "LoginOut": { "properties": { "csrf_token": { "title": "Csrf Token", "type": "string" }, "user": { "$ref": "#/components/schemas/UserOut" } }, "required": [ "user", "csrf_token" ], "title": "LoginOut", "type": "object" }, "MessageIn": { "additionalProperties": false, "properties": { "context": { "anyOf": [ { "$ref": "#/components/schemas/ChatContext" }, { "type": "null" } ] }, "text": { "maxLength": 2000, "minLength": 1, "title": "Text", "type": "string" } }, "required": [ "text" ], "title": "MessageIn", "type": "object" }, "MyChannels": { "properties": { "telegram": { "$ref": "#/components/schemas/ChannelLink" } }, "required": [ "telegram" ], "title": "MyChannels", "type": "object" }, "NoteIn": { "additionalProperties": false, "properties": { "note": { "anyOf": [ { "maxLength": 1000, "type": "string" }, { "type": "null" } ], "title": "Note" } }, "title": "NoteIn", "type": "object" }, "NotificationList": { "properties": { "items": { "items": { "$ref": "#/components/schemas/NotificationRow" }, "title": "Items", "type": "array" } }, "required": [ "items" ], "title": "NotificationList", "type": "object" }, "NotificationRow": { "properties": { "body": { "title": "Body", "type": "string" }, "coworker": { "title": "Coworker", "type": "string" }, "created_at": { "title": "Created At", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "kind": { "title": "Kind", "type": "string" }, "link": { "title": "Link", "type": "string" }, "run_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Run Id" }, "title": { "title": "Title", "type": "string" } }, "required": [ "id", "kind", "title", "body", "coworker", "link", "created_at" ], "title": "NotificationRow", "type": "object" }, "NotificationSettings": { "properties": { "last_delivery": { "anyOf": [ { "$ref": "#/components/schemas/LastDelivery" }, { "type": "null" } ] }, "pending": { "title": "Pending", "type": "integer" }, "signing": { "title": "Signing", "type": "boolean" }, "telegram": { "$ref": "#/components/schemas/TelegramSettings" }, "webhook_configured": { "title": "Webhook Configured", "type": "boolean" }, "webhook_host": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Webhook Host" } }, "required": [ "webhook_configured", "signing", "pending", "telegram" ], "title": "NotificationSettings", "type": "object" }, "Page_RunSummary_": { "properties": { "items": { "items": { "$ref": "#/components/schemas/RunSummary" }, "title": "Items", "type": "array" }, "limit": { "title": "Limit", "type": "integer" }, "offset": { "title": "Offset", "type": "integer" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "items", "total", "limit", "offset" ], "title": "Page[RunSummary]", "type": "object" }, "Page_dict_": { "properties": { "items": { "items": { "additionalProperties": true, "type": "object" }, "title": "Items", "type": "array" }, "limit": { "title": "Limit", "type": "integer" }, "offset": { "title": "Offset", "type": "integer" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "items", "total", "limit", "offset" ], "title": "Page[dict]", "type": "object" }, "ParsedBatch": { "properties": { "batch_id": { "title": "Batch Id", "type": "string" }, "cases": { "items": { "$ref": "#/components/schemas/CustomCaseOut" }, "title": "Cases", "type": "array" }, "created_by": { "title": "Created By", "type": "string" }, "errors": { "items": { "type": "string" }, "title": "Errors", "type": "array" }, "expires_at": { "title": "Expires At", "type": "string" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Message" }, "pod": { "anyOf": [ { "$ref": "#/components/schemas/PodRef" }, { "type": "null" } ] }, "run_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Run Id" }, "source": { "title": "Source", "type": "string" }, "status": { "enum": [ "parsed", "building", "built", "failed" ], "title": "Status", "type": "string" } }, "required": [ "status", "source", "created_by", "expires_at", "cases", "batch_id", "errors" ], "title": "ParsedBatch", "type": "object" }, "PasswordChangeIn": { "additionalProperties": false, "properties": { "current_password": { "maxLength": 256, "minLength": 1, "title": "Current Password", "type": "string" }, "new_password": { "maxLength": 256, "minLength": 12, "title": "New Password", "type": "string" } }, "required": [ "current_password", "new_password" ], "title": "PasswordChangeIn", "type": "object" }, "PatchWatchIn": { "additionalProperties": false, "properties": { "autostart": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Autostart" }, "enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Enabled" }, "interval_s": { "anyOf": [ { "maximum": 86400.0, "minimum": 30.0, "type": "integer" }, { "type": "null" } ], "title": "Interval S" }, "modules": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Modules" } }, "title": "PatchWatchIn", "type": "object" }, "PodCheck": { "properties": { "detail": { "title": "Detail", "type": "string" }, "name": { "enum": [ "address", "reachable", "sign_in" ], "title": "Name", "type": "string" }, "ok": { "title": "Ok", "type": "boolean" } }, "required": [ "name", "ok", "detail" ], "title": "PodCheck", "type": "object" }, "PodCredentialIn": { "additionalProperties": false, "properties": { "module": { "maxLength": 10, "minLength": 2, "title": "Module", "type": "string" }, "password": { "maxLength": 300, "minLength": 1, "title": "Password", "type": "string" }, "username": { "maxLength": 120, "minLength": 1, "title": "Username", "type": "string" } }, "required": [ "module", "username", "password" ], "title": "PodCredentialIn", "type": "object" }, "PodCredentialRow": { "properties": { "module": { "title": "Module", "type": "string" }, "set_at": { "title": "Set At", "type": "string" }, "set_by": { "title": "Set By", "type": "string" } }, "required": [ "module", "set_by", "set_at" ], "title": "PodCredentialRow", "type": "object" }, "PodIn": { "additionalProperties": false, "properties": { "base_url": { "maxLength": 300, "minLength": 8, "title": "Base Url", "type": "string" }, "environment": { "default": "test", "enum": [ "test", "uat", "dev", "sit" ], "title": "Environment", "type": "string" }, "kind": { "default": "fusion", "enum": [ "mock", "fusion" ], "title": "Kind", "type": "string" }, "modules": { "items": { "type": "string" }, "title": "Modules", "type": "array" }, "name": { "maxLength": 60, "minLength": 2, "title": "Name", "type": "string" }, "notes": { "anyOf": [ { "maxLength": 500, "type": "string" }, { "type": "null" } ], "title": "Notes" } }, "required": [ "name", "base_url" ], "title": "PodIn", "type": "object" }, "PodRef": { "properties": { "id": { "title": "Id", "type": "integer" }, "kind": { "title": "Kind", "type": "string" }, "name": { "title": "Name", "type": "string" } }, "required": [ "id", "name", "kind" ], "title": "PodRef", "type": "object" }, "PodRow": { "properties": { "base_url": { "title": "Base Url", "type": "string" }, "created_by": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created By" }, "credentials": { "items": { "$ref": "#/components/schemas/PodCredentialRow" }, "title": "Credentials", "type": "array" }, "discovered_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Discovered At" }, "discovery": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Discovery" }, "enabled": { "title": "Enabled", "type": "boolean" }, "environment": { "title": "Environment", "type": "string" }, "from_server_settings": { "default": false, "title": "From Server Settings", "type": "boolean" }, "id": { "title": "Id", "type": "integer" }, "is_default": { "title": "Is Default", "type": "boolean" }, "kind": { "title": "Kind", "type": "string" }, "last_check_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Check At" }, "last_check_detail": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Check Detail" }, "last_check_ok": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Last Check Ok" }, "modules": { "items": { "type": "string" }, "title": "Modules", "type": "array" }, "name": { "title": "Name", "type": "string" }, "not_runnable_reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Not Runnable Reason" }, "notes": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Notes" }, "release": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Release" }, "run_areas": { "items": { "type": "string" }, "title": "Run Areas", "type": "array" }, "runnable": { "title": "Runnable", "type": "boolean" }, "screens": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Screens" }, "test_data": { "additionalProperties": { "additionalProperties": { "type": "string" }, "type": "object" }, "title": "Test Data", "type": "object" }, "test_data_overrides": { "additionalProperties": { "additionalProperties": { "type": "string" }, "type": "object" }, "title": "Test Data Overrides", "type": "object" } }, "required": [ "id", "name", "kind", "base_url", "environment", "modules", "enabled", "is_default", "credentials", "runnable" ], "title": "PodRow", "type": "object" }, "PodScreensIn": { "additionalProperties": false, "properties": { "areas": { "items": { "type": "string" }, "maxItems": 20, "title": "Areas", "type": "array" }, "max_tasks": { "anyOf": [ { "maximum": 12.0, "minimum": 1.0, "type": "integer" }, { "type": "null" } ], "title": "Max Tasks" } }, "title": "PodScreensIn", "type": "object" }, "PodTestDataIn": { "additionalProperties": false, "properties": { "overrides": { "additionalProperties": { "additionalProperties": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "type": "object" }, "title": "Overrides", "type": "object" } }, "title": "PodTestDataIn", "type": "object" }, "PodTestResult": { "properties": { "checks": { "items": { "$ref": "#/components/schemas/PodCheck" }, "title": "Checks", "type": "array" }, "detail": { "title": "Detail", "type": "string" }, "ok": { "title": "Ok", "type": "boolean" }, "pod": { "$ref": "#/components/schemas/PodRow" } }, "required": [ "ok", "detail", "pod" ], "title": "PodTestResult", "type": "object" }, "PodUpdate": { "additionalProperties": false, "properties": { "base_url": { "anyOf": [ { "maxLength": 300, "minLength": 8, "type": "string" }, { "type": "null" } ], "title": "Base Url" }, "enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Enabled" }, "environment": { "anyOf": [ { "enum": [ "test", "uat", "dev", "sit" ], "type": "string" }, { "type": "null" } ], "title": "Environment" }, "kind": { "anyOf": [ { "enum": [ "mock", "fusion" ], "type": "string" }, { "type": "null" } ], "title": "Kind" }, "modules": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Modules" }, "name": { "anyOf": [ { "maxLength": 60, "minLength": 2, "type": "string" }, { "type": "null" } ], "title": "Name" }, "notes": { "anyOf": [ { "maxLength": 500, "type": "string" }, { "type": "null" } ], "title": "Notes" }, "release": { "anyOf": [ { "maxLength": 3, "type": "string" }, { "type": "null" } ], "title": "Release" } }, "title": "PodUpdate", "type": "object" }, "RegisterIn": { "additionalProperties": false, "properties": { "email": { "maxLength": 254, "minLength": 5, "title": "Email", "type": "string" }, "password": { "maxLength": 256, "minLength": 10, "title": "Password", "type": "string" } }, "required": [ "email", "password" ], "title": "RegisterIn", "type": "object" }, "ResetIn": { "additionalProperties": false, "properties": { "access_token": { "maxLength": 4096, "minLength": 20, "title": "Access Token", "type": "string" }, "password": { "maxLength": 256, "minLength": 10, "title": "Password", "type": "string" } }, "required": [ "access_token", "password" ], "title": "ResetIn", "type": "object" }, "ReviewAnswer": { "additionalProperties": false, "properties": { "confirmed": { "anyOf": [ { "enum": [ "real_defect", "not_defect" ], "type": "string" }, { "type": "null" } ], "title": "Confirmed" }, "note": { "anyOf": [ { "maxLength": 1000, "type": "string" }, { "type": "null" } ], "title": "Note" }, "owner": { "anyOf": [ { "maxLength": 100, "type": "string" }, { "type": "null" } ], "title": "Owner" }, "waiver": { "anyOf": [ { "maxLength": 500, "type": "string" }, { "type": "null" } ], "title": "Waiver" } }, "title": "ReviewAnswer", "type": "object" }, "RunCreate": { "additionalProperties": false, "properties": { "case_ids": { "items": { "type": "string" }, "maxItems": 500, "title": "Case Ids", "type": "array" }, "depth": { "anyOf": [ { "enum": [ "smoke", "standard", "full" ], "type": "string" }, { "type": "null" } ], "title": "Depth" }, "include_p2": { "default": false, "title": "Include P2", "type": "boolean" }, "live_view": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Live View" }, "modules": { "items": { "type": "string" }, "title": "Modules", "type": "array" }, "patch_id": { "anyOf": [ { "maxLength": 40, "type": "string" }, { "type": "null" } ], "title": "Patch Id" }, "playwright_mode": { "default": "live", "enum": [ "live", "stub" ], "title": "Playwright Mode", "type": "string" }, "pod_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Pod Id" }, "stub_knobs": { "anyOf": [ { "$ref": "#/components/schemas/StubKnobs" }, { "type": "null" } ] } }, "title": "RunCreate", "type": "object" }, "RunCreated": { "properties": { "run_id": { "title": "Run Id", "type": "string" }, "status": { "title": "Status", "type": "string" } }, "required": [ "run_id", "status" ], "title": "RunCreated", "type": "object" }, "RunDetail": { "properties": { "attention": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Attention" }, "counts": { "additionalProperties": true, "default": {}, "title": "Counts", "type": "object" }, "created_at": { "title": "Created At", "type": "string" }, "created_by": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created By" }, "current_node": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Current Node" }, "decision": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Decision" }, "decisions": { "additionalProperties": { "type": "string" }, "default": {}, "title": "Decisions", "type": "object" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "errors": { "default": [], "items": {}, "title": "Errors", "type": "array" }, "include_p2": { "default": false, "title": "Include P2", "type": "boolean" }, "live_view": { "default": false, "title": "Live View", "type": "boolean" }, "llm_calls": { "default": [], "items": {}, "title": "Llm Calls", "type": "array" }, "llm_calls_count": { "default": 0, "title": "Llm Calls Count", "type": "integer" }, "modules": { "items": { "type": "string" }, "title": "Modules", "type": "array" }, "orchestrator": { "default": "langgraph", "title": "Orchestrator", "type": "string" }, "patch_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Patch Id" }, "pending_gate": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pending Gate" }, "playwright_mode": { "title": "Playwright Mode", "type": "string" }, "pod_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Pod Id" }, "pod_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pod Name" }, "report_paths": { "additionalProperties": true, "default": {}, "title": "Report Paths", "type": "object" }, "retry_count": { "default": 0, "title": "Retry Count", "type": "integer" }, "run_id": { "title": "Run Id", "type": "string" }, "status": { "title": "Status", "type": "string" }, "target": { "default": "Mock app, not Oracle Fusion", "title": "Target", "type": "string" }, "test_data": { "anyOf": [ { "$ref": "#/components/schemas/TestDataCleanup" }, { "type": "null" } ] }, "trigger": { "title": "Trigger", "type": "string" } }, "required": [ "run_id", "created_at", "trigger", "modules", "playwright_mode", "status" ], "title": "RunDetail", "type": "object" }, "RunEvent": { "properties": { "kind": { "title": "Kind", "type": "string" }, "node": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Node" }, "seq": { "title": "Seq", "type": "integer" }, "summary": { "additionalProperties": true, "default": {}, "title": "Summary", "type": "object" }, "ts": { "title": "Ts", "type": "string" } }, "required": [ "seq", "ts", "kind" ], "title": "RunEvent", "type": "object" }, "RunIn": { "properties": { "keys": { "items": { "type": "string" }, "maxItems": 50, "minItems": 1, "title": "Keys", "type": "array" }, "mode": { "default": "quick", "enum": [ "quick", "browser" ], "title": "Mode", "type": "string" } }, "required": [ "keys" ], "title": "RunIn", "type": "object" }, "RunNoteIn": { "additionalProperties": false, "properties": { "text": { "maxLength": 2000, "minLength": 1, "title": "Text", "type": "string" } }, "required": [ "text" ], "title": "RunNoteIn", "type": "object" }, "RunStarted": { "properties": { "run_id": { "title": "Run Id", "type": "string" } }, "required": [ "run_id" ], "title": "RunStarted", "type": "object" }, "RunSummary": { "properties": { "attention": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Attention" }, "created_at": { "title": "Created At", "type": "string" }, "created_by": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created By" }, "current_node": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Current Node" }, "decision": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Decision" }, "decisions": { "additionalProperties": { "type": "string" }, "default": {}, "title": "Decisions", "type": "object" }, "modules": { "items": { "type": "string" }, "title": "Modules", "type": "array" }, "orchestrator": { "default": "langgraph", "title": "Orchestrator", "type": "string" }, "patch_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Patch Id" }, "pending_gate": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pending Gate" }, "playwright_mode": { "title": "Playwright Mode", "type": "string" }, "pod_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Pod Id" }, "pod_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pod Name" }, "run_id": { "title": "Run Id", "type": "string" }, "status": { "title": "Status", "type": "string" }, "trigger": { "title": "Trigger", "type": "string" } }, "required": [ "run_id", "created_at", "trigger", "modules", "playwright_mode", "status" ], "title": "RunSummary", "type": "object" }, "ScheduleIn": { "additionalProperties": false, "properties": { "at": { "anyOf": [ { "pattern": "^\\d{2}:\\d{2}$", "type": "string" }, { "type": "null" } ], "title": "At" }, "day": { "anyOf": [ { "maximum": 28.0, "minimum": 1.0, "type": "integer" }, { "type": "null" } ], "title": "Day" }, "enabled": { "default": true, "title": "Enabled", "type": "boolean" }, "every_minutes": { "anyOf": [ { "maximum": 10080.0, "minimum": 1.0, "type": "integer" }, { "type": "null" } ], "title": "Every Minutes" }, "include_p2": { "default": false, "title": "Include P2", "type": "boolean" }, "kind": { "enum": [ "interval", "daily", "monthly", "quarterly" ], "title": "Kind", "type": "string" }, "modules": { "items": { "type": "string" }, "title": "Modules", "type": "array" }, "month": { "anyOf": [ { "maximum": 12.0, "minimum": 1.0, "type": "integer" }, { "type": "null" } ], "title": "Month" }, "patch_id": { "anyOf": [ { "maxLength": 40, "type": "string" }, { "type": "null" } ], "title": "Patch Id" }, "playwright_mode": { "default": "live", "enum": [ "live", "stub" ], "title": "Playwright Mode", "type": "string" }, "pod_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Pod Id" }, "timezone": { "anyOf": [ { "maxLength": 64, "type": "string" }, { "type": "null" } ], "title": "Timezone" } }, "required": [ "kind" ], "title": "ScheduleIn", "type": "object" }, "ScheduleRow": { "properties": { "at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "At" }, "created_at": { "title": "Created At", "type": "string" }, "created_by": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created By" }, "day": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Day" }, "enabled": { "title": "Enabled", "type": "boolean" }, "every_minutes": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Every Minutes" }, "fail_count": { "default": 0, "title": "Fail Count", "type": "integer" }, "id": { "title": "Id", "type": "integer" }, "include_p2": { "default": false, "title": "Include P2", "type": "boolean" }, "kind": { "title": "Kind", "type": "string" }, "last_attempt_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Attempt At" }, "last_error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Error" }, "last_run_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Run Id" }, "modules": { "default": [], "items": { "type": "string" }, "title": "Modules", "type": "array" }, "month": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Month" }, "next_run_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Next Run At" }, "patch_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Patch Id" }, "playwright_mode": { "title": "Playwright Mode", "type": "string" }, "pod_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Pod Id" }, "timezone": { "title": "Timezone", "type": "string" } }, "required": [ "id", "kind", "playwright_mode", "enabled", "timezone", "created_at" ], "title": "ScheduleRow", "type": "object" }, "ScheduleUpdate": { "additionalProperties": false, "description": "PATCH /api/schedules/{id}: only the fields given change. enabled=false pauses it, true turns it on again.", "properties": { "at": { "anyOf": [ { "pattern": "^\\d{2}:\\d{2}$", "type": "string" }, { "type": "null" } ], "title": "At" }, "day": { "anyOf": [ { "maximum": 28.0, "minimum": 1.0, "type": "integer" }, { "type": "null" } ], "title": "Day" }, "enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Enabled" }, "every_minutes": { "anyOf": [ { "maximum": 10080.0, "minimum": 1.0, "type": "integer" }, { "type": "null" } ], "title": "Every Minutes" }, "include_p2": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Include P2" }, "kind": { "anyOf": [ { "enum": [ "interval", "daily", "monthly", "quarterly" ], "type": "string" }, { "type": "null" } ], "title": "Kind" }, "modules": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Modules" }, "month": { "anyOf": [ { "maximum": 12.0, "minimum": 1.0, "type": "integer" }, { "type": "null" } ], "title": "Month" }, "patch_id": { "anyOf": [ { "maxLength": 40, "type": "string" }, { "type": "null" } ], "title": "Patch Id" }, "playwright_mode": { "anyOf": [ { "enum": [ "live", "stub" ], "type": "string" }, { "type": "null" } ], "title": "Playwright Mode" }, "pod_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Pod Id" }, "timezone": { "anyOf": [ { "maxLength": 64, "type": "string" }, { "type": "null" } ], "title": "Timezone" } }, "title": "ScheduleUpdate", "type": "object" }, "ScreenCaptureIn": { "additionalProperties": false, "properties": { "task": { "description": "\"Area > Page > Task\", e.g. \"Payables > Invoices > Create Invoice\"", "maxLength": 250, "minLength": 5, "title": "Task", "type": "string" } }, "required": [ "task" ], "title": "ScreenCaptureIn", "type": "object" }, "ScreenField": { "properties": { "kind": { "enum": [ "text", "list", "lov", "date", "number", "checkbox", "textarea" ], "title": "Kind", "type": "string" }, "label": { "title": "Label", "type": "string" }, "required": { "title": "Required", "type": "boolean" }, "section": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Section" } }, "required": [ "label", "kind", "required" ], "title": "ScreenField", "type": "object" }, "ScreenInventory": { "properties": { "buttons": { "items": { "type": "string" }, "title": "Buttons", "type": "array" }, "captured_at": { "title": "Captured At", "type": "string" }, "fields": { "items": { "$ref": "#/components/schemas/ScreenField" }, "title": "Fields", "type": "array" }, "line_fields": { "default": [], "items": { "$ref": "#/components/schemas/ScreenLineField" }, "title": "Line Fields", "type": "array" }, "menus": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "title": "Menus", "type": "object" }, "pod_host": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pod Host" }, "sections": { "items": { "type": "string" }, "title": "Sections", "type": "array" }, "source": { "title": "Source", "type": "string" }, "tables": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "default": {}, "title": "Tables", "type": "object" }, "task": { "title": "Task", "type": "string" } }, "required": [ "task", "captured_at", "source", "sections", "fields", "buttons", "menus" ], "title": "ScreenInventory", "type": "object" }, "ScreenLineField": { "properties": { "kind": { "enum": [ "text", "list", "lov", "date", "number", "checkbox", "textarea" ], "title": "Kind", "type": "string" }, "label": { "title": "Label", "type": "string" }, "required": { "title": "Required", "type": "boolean" } }, "required": [ "label", "kind", "required" ], "title": "ScreenLineField", "type": "object" }, "ScreenSummary": { "properties": { "buttons": { "title": "Buttons", "type": "integer" }, "captured_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Captured At" }, "fields": { "title": "Fields", "type": "integer" }, "line_fields": { "title": "Line Fields", "type": "integer" }, "menus": { "title": "Menus", "type": "integer" }, "pod_host": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pod Host" }, "slug": { "title": "Slug", "type": "string" }, "source": { "title": "Source", "type": "string" }, "task": { "title": "Task", "type": "string" } }, "required": [ "slug", "task", "source", "fields", "line_fields", "buttons", "menus" ], "title": "ScreenSummary", "type": "object" }, "SessionRow": { "properties": { "created_at": { "title": "Created At", "type": "string" }, "current": { "title": "Current", "type": "boolean" }, "expires_at": { "title": "Expires At", "type": "string" }, "id": { "title": "Id", "type": "string" }, "kind": { "title": "Kind", "type": "string" } }, "required": [ "id", "kind", "created_at", "expires_at", "current" ], "title": "SessionRow", "type": "object" }, "SignOffIn": { "additionalProperties": false, "properties": { "comment": { "anyOf": [ { "maxLength": 1000, "type": "string" }, { "type": "null" } ], "title": "Comment" } }, "title": "SignOffIn", "type": "object" }, "StatusOut": { "properties": { "commit_sha": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Commit Sha" }, "status": { "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "StatusOut", "type": "object" }, "StubKnobs": { "additionalProperties": false, "properties": { "STUB_DEFECT": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Stub Defect" }, "STUB_FAIL": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Stub Fail" }, "STUB_FLAKY": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Stub Flaky" }, "STUB_UI": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Stub Ui" } }, "title": "StubKnobs", "type": "object" }, "TelegramBotStatus": { "properties": { "bot_username": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Bot Username" }, "last_update_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Update At" }, "linked_users": { "title": "Linked Users", "type": "integer" }, "polling": { "title": "Polling", "type": "boolean" }, "token_set": { "title": "Token Set", "type": "boolean" } }, "required": [ "token_set", "polling", "linked_users" ], "title": "TelegramBotStatus", "type": "object" }, "TelegramChat": { "properties": { "chat_id": { "title": "Chat Id", "type": "string" }, "title": { "title": "Title", "type": "string" } }, "required": [ "chat_id", "title" ], "title": "TelegramChat", "type": "object" }, "TelegramChatIn": { "properties": { "chat_id": { "maxLength": 64, "minLength": 1, "pattern": "^-?[0-9]+$|^@[A-Za-z0-9_]{4,64}$", "title": "Chat Id", "type": "string" }, "title": { "anyOf": [ { "maxLength": 120, "type": "string" }, { "type": "null" } ], "title": "Title" } }, "required": [ "chat_id" ], "title": "TelegramChatIn", "type": "object" }, "TelegramFound": { "properties": { "chats": { "items": { "$ref": "#/components/schemas/TelegramFoundChat" }, "title": "Chats", "type": "array" } }, "required": [ "chats" ], "title": "TelegramFound", "type": "object" }, "TelegramFoundChat": { "properties": { "chat_id": { "title": "Chat Id", "type": "string" }, "title": { "title": "Title", "type": "string" }, "type": { "title": "Type", "type": "string" } }, "required": [ "chat_id", "title", "type" ], "title": "TelegramFoundChat", "type": "object" }, "TelegramSettings": { "properties": { "chat": { "anyOf": [ { "$ref": "#/components/schemas/TelegramChat" }, { "type": "null" } ] }, "last_delivery": { "anyOf": [ { "$ref": "#/components/schemas/LastDelivery" }, { "type": "null" } ] }, "token_set": { "title": "Token Set", "type": "boolean" } }, "required": [ "token_set" ], "title": "TelegramSettings", "type": "object" }, "TestDataCleanup": { "properties": { "cleaned": { "default": 0, "title": "Cleaned", "type": "integer" }, "created": { "default": 0, "title": "Created", "type": "integer" }, "left": { "default": [], "items": { "$ref": "#/components/schemas/LeftTestData" }, "title": "Left", "type": "array" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary" }, "swept_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Swept At" } }, "title": "TestDataCleanup", "type": "object" }, "TestQueued": { "properties": { "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id" }, "queued": { "title": "Queued", "type": "boolean" } }, "required": [ "queued" ], "title": "TestQueued", "type": "object" }, "TokenAdminView": { "properties": { "created_at": { "title": "Created At", "type": "string" }, "expires_at": { "title": "Expires At", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "last4": { "title": "Last4", "type": "string" }, "last_used_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Used At" }, "name": { "title": "Name", "type": "string" }, "revoked_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Revoked At" }, "scopes": { "title": "Scopes", "type": "string" }, "state": { "enum": [ "active", "expired", "revoked" ], "title": "State", "type": "string" }, "username": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Username" } }, "required": [ "id", "name", "last4", "scopes", "created_at", "expires_at", "state" ], "title": "TokenAdminView", "type": "object" }, "TokenCreated": { "properties": { "expires_at": { "title": "Expires At", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "name": { "title": "Name", "type": "string" }, "scopes": { "title": "Scopes", "type": "string" }, "token": { "description": "Shown once. Store it in your MCP client; Patchwise keeps only its hash.", "title": "Token", "type": "string" } }, "required": [ "id", "token", "name", "scopes", "expires_at" ], "title": "TokenCreated", "type": "object" }, "TokenIn": { "properties": { "days": { "default": 90, "maximum": 365.0, "minimum": 1.0, "title": "Days", "type": "integer" }, "name": { "maxLength": 80, "minLength": 1, "title": "Name", "type": "string" }, "scopes": { "default": "read", "enum": [ "read", "read,act" ], "title": "Scopes", "type": "string" } }, "required": [ "name" ], "title": "TokenIn", "type": "object" }, "TokenOut": { "properties": { "access_token": { "title": "Access Token", "type": "string" }, "expires_in": { "title": "Expires In", "type": "integer" }, "token_type": { "const": "bearer", "default": "bearer", "title": "Token Type", "type": "string" }, "user": { "$ref": "#/components/schemas/UserOut" } }, "required": [ "access_token", "expires_in", "user" ], "title": "TokenOut", "type": "object" }, "TokenView": { "properties": { "created_at": { "title": "Created At", "type": "string" }, "expires_at": { "title": "Expires At", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "last4": { "title": "Last4", "type": "string" }, "last_used_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Used At" }, "name": { "title": "Name", "type": "string" }, "revoked_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Revoked At" }, "scopes": { "title": "Scopes", "type": "string" }, "state": { "enum": [ "active", "expired", "revoked" ], "title": "State", "type": "string" } }, "required": [ "id", "name", "last4", "scopes", "created_at", "expires_at", "state" ], "title": "TokenView", "type": "object" }, "UserCreate": { "additionalProperties": false, "properties": { "password": { "maxLength": 256, "minLength": 12, "title": "Password", "type": "string" }, "role": { "enum": [ "viewer", "consultant", "qa_approver", "admin" ], "title": "Role", "type": "string" }, "username": { "maxLength": 64, "minLength": 2, "pattern": "^[A-Za-z0-9._-]+$", "title": "Username", "type": "string" } }, "required": [ "username", "password", "role" ], "title": "UserCreate", "type": "object" }, "UserOut": { "properties": { "id": { "title": "Id", "type": "integer" }, "permissions": { "default": [], "items": { "type": "string" }, "title": "Permissions", "type": "array" }, "role": { "enum": [ "viewer", "consultant", "qa_approver", "admin" ], "title": "Role", "type": "string" }, "username": { "title": "Username", "type": "string" }, "via": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Via" } }, "required": [ "id", "username", "role" ], "title": "UserOut", "type": "object" }, "UserRow": { "properties": { "created_at": { "title": "Created At", "type": "string" }, "created_by": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created By" }, "disabled": { "title": "Disabled", "type": "boolean" }, "id": { "title": "Id", "type": "integer" }, "last_login_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Login At" }, "role": { "title": "Role", "type": "string" }, "username": { "title": "Username", "type": "string" } }, "required": [ "id", "username", "role", "disabled", "created_at" ], "title": "UserRow", "type": "object" }, "UserUpdate": { "additionalProperties": false, "properties": { "disabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Disabled" }, "password": { "anyOf": [ { "maxLength": 256, "minLength": 12, "type": "string" }, { "type": "null" } ], "title": "Password" }, "role": { "anyOf": [ { "enum": [ "viewer", "consultant", "qa_approver", "admin" ], "type": "string" }, { "type": "null" } ], "title": "Role" } }, "title": "UserUpdate", "type": "object" }, "ValidationError": { "properties": { "ctx": { "title": "Context", "type": "object" }, "input": { "title": "Input" }, "loc": { "items": { "anyOf": [ { "type": "string" }, { "type": "integer" } ] }, "title": "Location", "type": "array" }, "msg": { "title": "Message", "type": "string" }, "type": { "title": "Error Type", "type": "string" } }, "required": [ "loc", "msg", "type" ], "title": "ValidationError", "type": "object" }, "WebhookIn": { "properties": { "webhook_url": { "maxLength": 2048, "minLength": 12, "title": "Webhook Url", "type": "string" } }, "required": [ "webhook_url" ], "title": "WebhookIn", "type": "object" } } }, "info": { "description": "Pilot backend. Runs against the local mock app or a registered Oracle Fusion TEST pod (never production); every run and report names its target.", "title": "Patchwise API", "version": "1.0.0-pilot" }, "openapi": "3.1.0", "paths": { "/api/admin/features": { "get": { "operationId": "get_features_api_admin_features_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Get Features", "tags": [ "admin" ] } }, "/api/admin/features/{key}": { "put": { "operationId": "put_feature_api_admin_features__key__put", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "title": "Key", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FeatureIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Put Feature", "tags": [ "admin" ] } }, "/api/admin/tokens": { "get": { "operationId": "all_tokens_api_admin_tokens_get", "responses": { "200": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/TokenAdminView" }, "title": "Response All Tokens Api Admin Tokens Get", "type": "array" } } }, "description": "Successful Response" } }, "summary": "All Tokens", "tags": [ "tokens" ] } }, "/api/admin/tokens/{token_id}": { "delete": { "operationId": "admin_revoke_token_api_admin_tokens__token_id__delete", "parameters": [ { "in": "path", "name": "token_id", "required": true, "schema": { "title": "Token Id", "type": "integer" } } ], "responses": { "204": { "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Admin Revoke Token", "tags": [ "tokens" ] } }, "/api/assistant/ask": { "post": { "description": "Ask Hermes one question. Pass the returned conversation_id to continue the same conversation.\nErrors: 409 HERMES_OFF, 503 HERMES_NOT_CONFIGURED, 502 HERMES_UNREACHABLE / HERMES_KEY_REJECTED / HERMES_ERROR,\n504 HERMES_TIMEOUT, 429 RATE_LIMITED, 404 NOT_FOUND (unknown or someone else's conversation).", "operationId": "ask_api_assistant_ask_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AskIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AskOut" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Ask", "tags": [ "assistant" ] } }, "/api/assistant/status": { "get": { "description": "Whether the Hermes assistant is on, configured (URL and key present) and reachable (checked at most once a minute).", "operationId": "status_api_assistant_status_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AssistantStatus" } } }, "description": "Successful Response" } }, "summary": "Status", "tags": [ "assistant" ] } }, "/api/audit": { "get": { "operationId": "audit_api_audit_get", "parameters": [ { "in": "query", "name": "after", "required": false, "schema": { "default": 0, "title": "After", "type": "integer" } }, { "in": "query", "name": "kind", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Kind" } }, { "in": "query", "name": "run_id", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Run Id" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 200, "maximum": 1000, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Page_dict_" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Audit", "tags": [ "admin" ] } }, "/api/audit/verify": { "get": { "operationId": "audit_verify_api_audit_verify_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Audit Verify", "tags": [ "admin" ] } }, "/api/auth/config": { "get": { "description": "Public: how people sign in here, and whether they can create their own account.", "operationId": "auth_config_api_auth_config_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Auth Config", "tags": [ "auth" ] } }, "/api/auth/csrf": { "get": { "description": "Re-read the CSRF token for the current cookie session (e.g. after a page reload).", "operationId": "csrf_api_auth_csrf_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Csrf", "tags": [ "auth" ] } }, "/api/auth/forgot": { "post": { "description": "E-mail a password-reset link (Supabase accounts). Same answer whether or not the address has an account.", "operationId": "forgot_api_auth_forgot_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForgotIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Forgot", "tags": [ "auth" ] } }, "/api/auth/login": { "post": { "operationId": "login_api_auth_login_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoginIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoginOut" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Login", "tags": [ "auth" ] } }, "/api/auth/logout": { "post": { "operationId": "logout_api_auth_logout_post", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Logout", "tags": [ "auth" ] } }, "/api/auth/me": { "get": { "operationId": "me_api_auth_me_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserOut" } } }, "description": "Successful Response" } }, "summary": "Me", "tags": [ "auth" ] } }, "/api/auth/oidc/login": { "get": { "description": "OIDC hook (STUB). Production: the client's IdP with PKCE; IdP groups mapped to roles.", "operationId": "oidc_login_api_auth_oidc_login_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Oidc Login", "tags": [ "auth" ] } }, "/api/auth/password": { "post": { "description": "Change your own password (accounts of this app). Other sessions are signed out; this one stays.", "operationId": "change_password_api_auth_password_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasswordChangeIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Change Password", "tags": [ "auth" ] } }, "/api/auth/register": { "post": { "description": "Create an account through the identity provider. New accounts get the configured starting role (never admin,\nunless the address is on the administrator list). Supabase may ask the person to confirm the address first.", "operationId": "register_api_auth_register_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RegisterIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Register", "tags": [ "auth" ] } }, "/api/auth/reset": { "post": { "description": "Set a new password with the token from the reset link. The person then signs in as usual.", "operationId": "reset_api_auth_reset_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResetIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Reset", "tags": [ "auth" ] } }, "/api/auth/sessions": { "get": { "description": "Where this account is signed in (browsers and API tokens), newest first.", "operationId": "my_sessions_api_auth_sessions_get", "responses": { "200": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/SessionRow" }, "title": "Response My Sessions Api Auth Sessions Get", "type": "array" } } }, "description": "Successful Response" } }, "summary": "My Sessions", "tags": [ "auth" ] } }, "/api/auth/sessions/end-others": { "post": { "description": "Sign out everywhere else (other browsers, API tokens); this session stays.", "operationId": "end_other_sessions_api_auth_sessions_end_others_post", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "End Other Sessions", "tags": [ "auth" ] } }, "/api/auth/token": { "post": { "description": "Bearer token for the desktop app / API clients (no cookies, CSRF-exempt).", "operationId": "token_api_auth_token_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoginIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TokenOut" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Token", "tags": [ "auth" ] } }, "/api/autonomy": { "get": { "operationId": "autonomy_get_api_autonomy_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Autonomy Get", "tags": [ "admin" ] } }, "/api/autonomy/{module}": { "put": { "operationId": "autonomy_set_api_autonomy__module__put", "parameters": [ { "in": "path", "name": "module", "required": true, "schema": { "title": "Module", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AutonomyIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Autonomy Set", "tags": [ "admin" ] } }, "/api/cases/{case_id}/yaml": { "get": { "description": "Read-only YAML of a library case (tests/cases), for the approval screen's preview.", "operationId": "case_yaml_api_cases__case_id__yaml_get", "parameters": [ { "in": "path", "name": "case_id", "required": true, "schema": { "title": "Case Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Case Yaml", "tags": [ "runs" ] } }, "/api/channels/me": { "get": { "operationId": "my_channels_api_channels_me_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MyChannels" } } }, "description": "Successful Response" } }, "summary": "My Channels", "tags": [ "channels" ] } }, "/api/channels/telegram/link": { "delete": { "operationId": "telegram_unlink_api_channels_telegram_link_delete", "responses": { "204": { "description": "Successful Response" } }, "summary": "Telegram Unlink", "tags": [ "channels" ] } }, "/api/channels/telegram/link-code": { "post": { "description": "A one-time code (10 minutes) for this person to send to the bot as /link CODE.", "operationId": "telegram_link_code_api_channels_telegram_link_code_post", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LinkCode" } } }, "description": "Successful Response" } }, "summary": "Telegram Link Code", "tags": [ "channels" ] } }, "/api/channels/telegram/status": { "get": { "operationId": "telegram_status_api_channels_telegram_status_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TelegramBotStatus" } } }, "description": "Successful Response" } }, "summary": "Telegram Status", "tags": [ "channels" ] } }, "/api/chat/actions/{action_id}/cancel": { "post": { "operationId": "cancel_action_api_chat_actions__action_id__cancel_post", "parameters": [ { "in": "path", "name": "action_id", "required": true, "schema": { "title": "Action Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Cancel Action", "tags": [ "chat" ] } }, "/api/chat/actions/{action_id}/confirm": { "post": { "description": "Executes the stored payload of a proposed action: owner only, single use, not expired, and the tool's own\npermission is re-checked here. Calls the same service function as the REST route.", "operationId": "confirm_action_api_chat_actions__action_id__confirm_post", "parameters": [ { "in": "path", "name": "action_id", "required": true, "schema": { "title": "Action Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Confirm Action", "tags": [ "chat" ] } }, "/api/chat/conversations": { "get": { "operationId": "list_conversations_api_chat_conversations_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "List Conversations", "tags": [ "chat" ] }, "post": { "operationId": "create_conversation_api_chat_conversations_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConversationIn" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Create Conversation", "tags": [ "chat" ] } }, "/api/chat/conversations/{conv_id}": { "delete": { "operationId": "delete_conversation_api_chat_conversations__conv_id__delete", "parameters": [ { "in": "path", "name": "conv_id", "required": true, "schema": { "title": "Conv Id", "type": "string" } } ], "responses": { "204": { "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Delete Conversation", "tags": [ "chat" ] }, "get": { "operationId": "get_conversation_api_chat_conversations__conv_id__get", "parameters": [ { "in": "path", "name": "conv_id", "required": true, "schema": { "title": "Conv Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Get Conversation", "tags": [ "chat" ] } }, "/api/chat/conversations/{conv_id}/messages": { "post": { "description": "Server-Sent Events for ONE turn: intent {tool,args} \u00b7 tool {name,ok,summary} \u00b7 delta {text} \u00b7 result {cards,links,\nsources} \u00b7 action {action_id,...} (a proposal, never an execution) \u00b7 done {message_id}.", "operationId": "post_message_api_chat_conversations__conv_id__messages_post", "parameters": [ { "in": "path", "name": "conv_id", "required": true, "schema": { "title": "Conv Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MessageIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Post Message", "tags": [ "chat" ] } }, "/api/config": { "get": { "operationId": "config_api_config_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Config", "tags": [ "admin" ] } }, "/api/custom-cases/parse": { "post": { "description": "An Excel workbook (multipart field `file`), plain text ({text}) or JSON cases ({cases}). Nothing runs and nothing\nis added to the script library.", "operationId": "parse_api_custom_cases_parse_post", "requestBody": { "content": { "application/json": { "schema": { "oneOf": [ { "properties": { "area": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text" ], "type": "object" }, { "properties": { "cases": { "items": { "type": "object" }, "type": "array" } }, "required": [ "cases" ], "type": "object" } ] } }, "multipart/form-data": { "schema": { "properties": { "file": { "format": "binary", "type": "string" } }, "required": [ "file" ], "type": "object" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ParsedBatch" } } }, "description": "Successful Response" } }, "summary": "Parse", "tags": [ "custom-cases" ] } }, "/api/custom-cases/template.xlsx": { "get": { "operationId": "template_api_custom_cases_template_xlsx_get", "responses": { "200": { "content": { "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": { "schema": { "format": "binary", "type": "string" } } }, "description": "Successful Response" } }, "summary": "Template", "tags": [ "custom-cases" ] } }, "/api/custom-cases/{batch_id}": { "get": { "operationId": "batch_api_custom_cases__batch_id__get", "parameters": [ { "in": "path", "name": "batch_id", "required": true, "schema": { "title": "Batch Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchView" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Batch", "tags": [ "custom-cases" ] } }, "/api/custom-cases/{batch_id}/approve": { "post": { "operationId": "approve_api_custom_cases__batch_id__approve_post", "parameters": [ { "in": "path", "name": "batch_id", "required": true, "schema": { "title": "Batch Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KeysIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchView" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Approve", "tags": [ "custom-cases" ] } }, "/api/custom-cases/{batch_id}/build": { "post": { "description": "Script each scenario as a staged draft and dry-run it on the pod (in the background: poll GET /custom-cases/{id}).", "operationId": "build_api_custom_cases__batch_id__build_post", "parameters": [ { "in": "path", "name": "batch_id", "required": true, "schema": { "title": "Batch Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BuildIn" } } }, "required": true }, "responses": { "202": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchView" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Build", "tags": [ "custom-cases" ] } }, "/api/custom-cases/{batch_id}/reject": { "post": { "operationId": "reject_api_custom_cases__batch_id__reject_post", "parameters": [ { "in": "path", "name": "batch_id", "required": true, "schema": { "title": "Batch Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KeysIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchView" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Reject", "tags": [ "custom-cases" ] } }, "/api/custom-cases/{batch_id}/run": { "post": { "description": "A normal test run of approved scenarios (only approved ones: approval is never bypassed).", "operationId": "run_api_custom_cases__batch_id__run_post", "parameters": [ { "in": "path", "name": "batch_id", "required": true, "schema": { "title": "Batch Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunIn" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunStarted" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run", "tags": [ "custom-cases" ] } }, "/api/drafts": { "get": { "operationId": "drafts_list_api_drafts_get", "parameters": [ { "in": "query", "name": "status", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Status" } }, { "in": "query", "name": "run_id", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Run Id" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 500, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Page_dict_" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Drafts List", "tags": [ "review" ] } }, "/api/drafts/{did}": { "get": { "operationId": "draft_get_api_drafts__did__get", "parameters": [ { "in": "path", "name": "did", "required": true, "schema": { "title": "Did", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Draft Get", "tags": [ "review" ] } }, "/api/drafts/{did}/discard": { "post": { "operationId": "draft_discard_api_drafts__did__discard_post", "parameters": [ { "in": "path", "name": "did", "required": true, "schema": { "title": "Did", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StatusOut" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Draft Discard", "tags": [ "review" ] } }, "/api/drafts/{did}/promote": { "post": { "operationId": "draft_promote_api_drafts__did__promote_post", "parameters": [ { "in": "path", "name": "did", "required": true, "schema": { "title": "Did", "type": "integer" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NoteIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StatusOut" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Draft Promote", "tags": [ "review" ] } }, "/api/egress": { "get": { "operationId": "egress_api_egress_get", "parameters": [ { "in": "query", "name": "run_id", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Run Id" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 500, "maximum": 2000, "title": "Limit", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Egress", "tags": [ "admin" ] } }, "/api/evidence/{evidence_id}": { "get": { "operationId": "evidence_file_api_evidence__evidence_id__get", "parameters": [ { "in": "path", "name": "evidence_id", "required": true, "schema": { "title": "Evidence Id", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Evidence File", "tags": [ "runs" ] } }, "/api/graph": { "get": { "operationId": "graph_spec_api_graph_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Graph Spec", "tags": [ "runs" ] } }, "/api/heal-proposals": { "get": { "operationId": "heal_list_api_heal_proposals_get", "parameters": [ { "in": "query", "name": "status", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Status" } }, { "in": "query", "name": "run_id", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Run Id" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 500, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Page_dict_" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Heal List", "tags": [ "review" ] } }, "/api/heal-proposals/{pid}/decision": { "post": { "operationId": "heal_decide_api_heal_proposals__pid__decision_post", "parameters": [ { "in": "path", "name": "pid", "required": true, "schema": { "title": "Pid", "type": "integer" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DecisionIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StatusOut" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Heal Decide", "tags": [ "review" ] } }, "/api/health": { "get": { "operationId": "health_api_health_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Health" } } }, "description": "Successful Response" } }, "summary": "Health", "tags": [ "admin" ] } }, "/api/integrations": { "get": { "operationId": "integrations_api_integrations_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IntegrationsView" } } }, "description": "Successful Response" } }, "summary": "Integrations", "tags": [ "integrations" ] } }, "/api/integrations/{key}": { "delete": { "operationId": "disconnect_api_integrations__key__delete", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "enum": [ "slack", "teams", "google_chat", "discord" ], "title": "Key", "type": "string" } } ], "responses": { "204": { "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Disconnect", "tags": [ "integrations" ] }, "put": { "operationId": "connect_api_integrations__key__put", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "enum": [ "slack", "teams", "google_chat", "discord" ], "title": "Key", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookIn" } } }, "required": true }, "responses": { "204": { "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Connect", "tags": [ "integrations" ] } }, "/api/integrations/{key}/test": { "post": { "operationId": "test_api_integrations__key__test_post", "parameters": [ { "in": "path", "name": "key", "required": true, "schema": { "enum": [ "slack", "teams", "google_chat", "discord" ], "title": "Key", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestQueued" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Test", "tags": [ "integrations" ] } }, "/api/kill-switch": { "get": { "operationId": "kill_get_api_kill_switch_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Kill Get", "tags": [ "admin" ] }, "post": { "operationId": "kill_set_api_kill_switch_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KillIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Kill Set", "tags": [ "admin" ] } }, "/api/learner/history": { "get": { "operationId": "learner_history_api_learner_history_get", "parameters": [ { "in": "query", "name": "module", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Module" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 1000, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Page_dict_" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Learner History", "tags": [ "review" ] } }, "/api/learner/metrics": { "get": { "operationId": "learner_metrics_api_learner_metrics_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Learner Metrics", "tags": [ "review" ] } }, "/api/learner/patterns": { "get": { "operationId": "learner_patterns_api_learner_patterns_get", "parameters": [ { "in": "query", "name": "module", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Module" } }, { "in": "query", "name": "case_id", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Case Id" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Learner Patterns", "tags": [ "review" ] } }, "/api/library/log": { "get": { "operationId": "library_log_api_library_log_get", "parameters": [ { "in": "query", "name": "limit", "required": false, "schema": { "default": 50, "maximum": 500, "title": "Limit", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Library Log", "tags": [ "review" ] } }, "/api/llm/key": { "delete": { "operationId": "delete_key_api_llm_key_delete", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Delete Key", "tags": [ "settings" ] }, "post": { "operationId": "set_key_api_llm_key_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LLMKeyIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Set Key", "tags": [ "settings" ] } }, "/api/llm/settings": { "get": { "operationId": "get_settings__api_llm_settings_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Get Settings ", "tags": [ "settings" ] }, "put": { "operationId": "put_settings_api_llm_settings_put", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LLMSettingsIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Put Settings", "tags": [ "settings" ] } }, "/api/llm/test": { "post": { "description": "One small real call. For the external model the payload is a few made-up counts (never client data).", "operationId": "test_model_api_llm_test_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LLMTestIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Test Model", "tags": [ "settings" ] } }, "/api/metrics": { "get": { "description": "Counts for monitoring. Readable by an admin session or with `Authorization: Bearer `\n(a secret, for a scraper). No names, addresses or run content.", "operationId": "metrics_api_metrics_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Metrics", "tags": [ "admin" ] } }, "/api/notifications": { "get": { "operationId": "notifications_api_notifications_get", "parameters": [ { "in": "query", "name": "limit", "required": false, "schema": { "default": 30, "maximum": 100, "minimum": 1, "title": "Limit", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotificationList" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Notifications", "tags": [ "notifications" ] } }, "/api/notifications/settings": { "get": { "operationId": "notification_settings_api_notifications_settings_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotificationSettings" } } }, "description": "Successful Response" } }, "summary": "Notification Settings", "tags": [ "notifications" ] } }, "/api/notifications/telegram/chat": { "delete": { "operationId": "telegram_disconnect_api_notifications_telegram_chat_delete", "responses": { "204": { "description": "Successful Response" } }, "summary": "Telegram Disconnect", "tags": [ "notifications" ] }, "post": { "operationId": "telegram_connect_api_notifications_telegram_chat_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TelegramChatIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestQueued" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Telegram Connect", "tags": [ "notifications" ] } }, "/api/notifications/telegram/discover": { "post": { "description": "The chats that wrote to the bot in the last 24 hours (send /start to the bot first).", "operationId": "telegram_discover_api_notifications_telegram_discover_post", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TelegramFound" } } }, "description": "Successful Response" } }, "summary": "Telegram Discover", "tags": [ "notifications" ] } }, "/api/notifications/test": { "post": { "operationId": "notification_test_api_notifications_test_post", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TestQueued" } } }, "description": "Successful Response" } }, "summary": "Notification Test", "tags": [ "notifications" ] } }, "/api/patch-watch": { "get": { "operationId": "patch_watch_api_patch_watch_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Patch Watch", "tags": [ "admin" ] }, "put": { "operationId": "patch_watch_set_api_patch_watch_put", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PatchWatchIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Patch Watch Set", "tags": [ "admin" ] } }, "/api/patch-watch/check": { "post": { "operationId": "patch_watch_check_api_patch_watch_check_post", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Patch Watch Check", "tags": [ "admin" ] } }, "/api/pod/profile": { "get": { "operationId": "pod_profile_api_pod_profile_get", "parameters": [ { "in": "query", "name": "refresh", "required": false, "schema": { "default": false, "title": "Refresh", "type": "boolean" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Pod Profile", "tags": [ "runs" ] } }, "/api/pods": { "get": { "operationId": "list_pods_api_pods_get", "responses": { "200": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/PodRow" }, "title": "Response List Pods Api Pods Get", "type": "array" } } }, "description": "Successful Response" } }, "summary": "List Pods", "tags": [ "pods" ] }, "post": { "operationId": "create_pod_api_pods_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodIn" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodRow" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Create Pod", "tags": [ "pods" ] } }, "/api/pods/{pod_id}": { "delete": { "operationId": "delete_pod_api_pods__pod_id__delete", "parameters": [ { "in": "path", "name": "pod_id", "required": true, "schema": { "title": "Pod Id", "type": "integer" } } ], "responses": { "204": { "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Delete Pod", "tags": [ "pods" ] }, "patch": { "operationId": "update_pod_api_pods__pod_id__patch", "parameters": [ { "in": "path", "name": "pod_id", "required": true, "schema": { "title": "Pod Id", "type": "integer" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodUpdate" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodRow" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Update Pod", "tags": [ "pods" ] } }, "/api/pods/{pod_id}/credentials": { "post": { "operationId": "set_credential_api_pods__pod_id__credentials_post", "parameters": [ { "in": "path", "name": "pod_id", "required": true, "schema": { "title": "Pod Id", "type": "integer" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodCredentialIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodRow" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Set Credential", "tags": [ "pods" ] } }, "/api/pods/{pod_id}/discover": { "post": { "description": "Read which business areas the Fusion pod uses and the test data its records offer (read-only GETs).", "operationId": "discover_pod_api_pods__pod_id__discover_post", "parameters": [ { "in": "path", "name": "pod_id", "required": true, "schema": { "title": "Pod Id", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodRow" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Discover Pod", "tags": [ "pods" ] } }, "/api/pods/{pod_id}/screens/capture": { "post": { "operationId": "capture_screen_api_pods__pod_id__screens_capture_post", "parameters": [ { "in": "path", "name": "pod_id", "required": true, "schema": { "title": "Pod Id", "type": "integer" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ScreenCaptureIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ScreenInventory" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Capture Screen", "tags": [ "screens" ] } }, "/api/pods/{pod_id}/screens/read": { "post": { "description": "Read the screens of the pod's business areas in a real browser (labels only, nothing saved on the pod). Runs in the\nbackground for many minutes; the pod's `screens` shows progress and the result.", "operationId": "read_screens_api_pods__pod_id__screens_read_post", "parameters": [ { "in": "path", "name": "pod_id", "required": true, "schema": { "title": "Pod Id", "type": "integer" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodScreensIn" } } }, "required": true }, "responses": { "202": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodRow" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Read Screens", "tags": [ "pods" ] } }, "/api/pods/{pod_id}/test": { "post": { "operationId": "test_pod_api_pods__pod_id__test_post", "parameters": [ { "in": "path", "name": "pod_id", "required": true, "schema": { "title": "Pod Id", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodTestResult" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Test Pod", "tags": [ "pods" ] } }, "/api/pods/{pod_id}/test-data": { "put": { "operationId": "set_test_data_api_pods__pod_id__test_data_put", "parameters": [ { "in": "path", "name": "pod_id", "required": true, "schema": { "title": "Pod Id", "type": "integer" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodTestDataIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodRow" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Set Test Data", "tags": [ "pods" ] } }, "/api/readiness": { "get": { "description": "Patch readiness per business process for a pod (+ patch): latest test run per module, or the baseline\n(process steps + what the patch changes, labelled UNVERIFIED) when nothing has run yet.", "operationId": "readiness_api_readiness_get", "parameters": [ { "in": "query", "name": "pod_id", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Pod Id" } }, { "in": "query", "name": "patch_id", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Patch Id" } }, { "in": "query", "name": "modules", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Modules" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Readiness", "tags": [ "consultant" ] } }, "/api/ready": { "get": { "description": "Readiness: DB migrated, run worker alive, vault key present; 503 otherwise (the desktop app waits on this).\nneeds_bootstrap=true means no user exists yet (create one with `fpt.cmd create-user`).", "operationId": "ready_api_ready_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Ready", "tags": [ "admin" ] } }, "/api/runs": { "get": { "operationId": "list_runs_api_runs_get", "parameters": [ { "in": "query", "name": "status", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Status" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 50, "maximum": 500, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "minimum": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Page_RunSummary_" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "List Runs", "tags": [ "runs" ] }, "post": { "operationId": "start_run_api_runs_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunCreate" } } }, "required": true }, "responses": { "202": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunCreated" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Start Run", "tags": [ "runs" ] } }, "/api/runs.csv": { "get": { "description": "Every test run as a CSV file (newest first) for spreadsheets and status reports. No evidence or credentials.", "operationId": "export_runs_api_runs_csv_get", "parameters": [ { "in": "query", "name": "status", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Status" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Export Runs", "tags": [ "runs" ] } }, "/api/runs/{run_id}": { "get": { "operationId": "run_detail_api_runs__run_id__get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunDetail" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Detail", "tags": [ "runs" ] } }, "/api/runs/{run_id}/cancel": { "post": { "operationId": "cancel_run_api_runs__run_id__cancel_post", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CancelIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Cancel Run", "tags": [ "runs" ] } }, "/api/runs/{run_id}/cases": { "get": { "operationId": "run_cases_api_runs__run_id__cases_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Cases", "tags": [ "runs" ] } }, "/api/runs/{run_id}/data-plan": { "get": { "operationId": "run_data_api_runs__run_id__data_plan_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Data", "tags": [ "runs" ] } }, "/api/runs/{run_id}/events": { "get": { "operationId": "run_events_api_runs__run_id__events_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } }, { "in": "query", "name": "after", "required": false, "schema": { "default": 0, "title": "After", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/RunEvent" }, "title": "Response Run Events Api Runs Run Id Events Get", "type": "array" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Events", "tags": [ "runs" ] } }, "/api/runs/{run_id}/evidence": { "delete": { "description": "Administrator: remove all screenshots, videos and traces of one run now. Cannot be undone.", "operationId": "delete_run_evidence_api_runs__run_id__evidence_delete", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Delete Run Evidence", "tags": [ "runs" ] }, "get": { "operationId": "run_evidence_api_runs__run_id__evidence_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } }, { "in": "query", "name": "case_id", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Case Id" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Evidence", "tags": [ "runs" ] } }, "/api/runs/{run_id}/failures": { "get": { "description": "Failed or flaky scenarios in business words: process step, expected vs actual, screenshot ids, suggestion.", "operationId": "run_failures_api_runs__run_id__failures_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Failures", "tags": [ "consultant" ] } }, "/api/runs/{run_id}/gate": { "get": { "operationId": "run_gate_api_runs__run_id__gate_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Gate", "tags": [ "runs" ] } }, "/api/runs/{run_id}/gates/approve_cases": { "post": { "operationId": "approve_cases_api_runs__run_id__gates_approve_cases_post", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApproveCasesIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StatusOut" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Approve Cases", "tags": [ "gates" ] } }, "/api/runs/{run_id}/gates/human_review": { "post": { "operationId": "human_review_api_runs__run_id__gates_human_review_post", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HumanReviewIn" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StatusOut" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Human Review", "tags": [ "gates" ] } }, "/api/runs/{run_id}/live": { "get": { "operationId": "live_status_api_runs__run_id__live_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Live Status", "tags": [ "live" ] } }, "/api/runs/{run_id}/live/failed": { "get": { "operationId": "live_failed_frame_api_runs__run_id__live_failed_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Live Failed Frame", "tags": [ "live" ] } }, "/api/runs/{run_id}/live/stream": { "get": { "operationId": "live_stream_api_runs__run_id__live_stream_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Live Stream", "tags": [ "live" ] } }, "/api/runs/{run_id}/notes": { "post": { "description": "A human note on a run: stored in the append-only audit log and shown in the run's activity feed (run event).", "operationId": "run_note_api_runs__run_id__notes_post", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunNoteIn" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Note", "tags": [ "runs" ] } }, "/api/runs/{run_id}/readiness": { "get": { "operationId": "run_readiness_api_runs__run_id__readiness_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Readiness", "tags": [ "consultant" ] } }, "/api/runs/{run_id}/report": { "get": { "operationId": "run_report_api_runs__run_id__report_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Report", "tags": [ "runs" ] } }, "/api/runs/{run_id}/report/{module}/{fmt}": { "get": { "operationId": "run_report_file_api_runs__run_id__report__module___fmt__get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } }, { "in": "path", "name": "module", "required": true, "schema": { "title": "Module", "type": "string" } }, { "in": "path", "name": "fmt", "required": true, "schema": { "title": "Fmt", "type": "string" } }, { "in": "query", "name": "download", "required": false, "schema": { "default": false, "title": "Download", "type": "boolean" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Report File", "tags": [ "runs" ] } }, "/api/runs/{run_id}/research": { "get": { "operationId": "run_research_api_runs__run_id__research_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Research", "tags": [ "runs" ] } }, "/api/runs/{run_id}/results": { "get": { "operationId": "run_results_api_runs__run_id__results_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Results", "tags": [ "runs" ] } }, "/api/runs/{run_id}/resume": { "post": { "operationId": "resume_run_api_runs__run_id__resume_post", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Resume Run", "tags": [ "runs" ] } }, "/api/runs/{run_id}/scenarios": { "get": { "description": "Every scenario of the test run in plain language (steps, role, test data, expected result, why it is included).", "operationId": "run_scenarios_api_runs__run_id__scenarios_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Scenarios", "tags": [ "consultant" ] } }, "/api/runs/{run_id}/scripts": { "get": { "operationId": "run_scripts_api_runs__run_id__scripts_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Scripts", "tags": [ "runs" ] } }, "/api/runs/{run_id}/signoff": { "get": { "operationId": "get_signoff_api_runs__run_id__signoff_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Get Signoff", "tags": [ "consultant" ] }, "post": { "description": "Records that a QA approver signed off the finished test run. It does NOT change the decision (that stays the QA\nrule's result in generate_report.py); it is an audit entry and a run note.", "operationId": "signoff_api_runs__run_id__signoff_post", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SignOffIn" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Signoff", "tags": [ "consultant" ] } }, "/api/runs/{run_id}/stream": { "get": { "description": "Server-Sent Events: every run event (node started/finished/interrupted/error, status changes). Ends when the run\nreaches a terminal status. Clients fall back to polling /events.", "operationId": "run_stream_api_runs__run_id__stream_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } }, { "in": "query", "name": "after", "required": false, "schema": { "default": 0, "title": "After", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Stream", "tags": [ "runs" ] } }, "/api/runs/{run_id}/temporal": { "get": { "description": "Admin: the run's Temporal workflow (status, query result, Temporal Web UI link).", "operationId": "run_temporal_api_runs__run_id__temporal_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Temporal", "tags": [ "runs" ] } }, "/api/runs/{run_id}/test-script.xlsx": { "get": { "description": "The test script as an Excel workbook for offline verification: one row per step (action, expected result),\nreviewer columns to fill in, and the results once the scenarios have run. Audited as an export.", "operationId": "run_test_script_api_runs__run_id__test_script_xlsx_get", "parameters": [ { "in": "path", "name": "run_id", "required": true, "schema": { "title": "Run Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Run Test Script", "tags": [ "consultant" ] } }, "/api/scenarios": { "get": { "description": "The scenario library by business process: filter by module, process step, priority or text.", "operationId": "scenarios_api_scenarios_get", "parameters": [ { "in": "query", "name": "module", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Module" } }, { "in": "query", "name": "step", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Step" } }, { "in": "query", "name": "priority", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Priority" } }, { "in": "query", "name": "q", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Q" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 50, "maximum": 500, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "minimum": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Scenarios", "tags": [ "consultant" ] } }, "/api/scenarios/{case_id}": { "get": { "operationId": "scenario_api_scenarios__case_id__get", "parameters": [ { "in": "path", "name": "case_id", "required": true, "schema": { "title": "Case Id", "type": "string" } }, { "in": "query", "name": "run_id", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Run Id" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Scenario", "tags": [ "consultant" ] } }, "/api/schedules": { "get": { "operationId": "schedules_api_schedules_get", "responses": { "200": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/ScheduleRow" }, "title": "Response Schedules Api Schedules Get", "type": "array" } } }, "description": "Successful Response" } }, "summary": "Schedules", "tags": [ "admin" ] }, "post": { "operationId": "schedule_create_api_schedules_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ScheduleIn" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ScheduleRow" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Schedule Create", "tags": [ "admin" ] } }, "/api/schedules/{sid}": { "delete": { "operationId": "schedule_delete_api_schedules__sid__delete", "parameters": [ { "in": "path", "name": "sid", "required": true, "schema": { "title": "Sid", "type": "integer" } } ], "responses": { "204": { "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Schedule Delete", "tags": [ "admin" ] }, "patch": { "description": "Edit a schedule, or pause / resume it with {\"enabled\": false|true}. Only the fields sent change.", "operationId": "schedule_update_api_schedules__sid__patch", "parameters": [ { "in": "path", "name": "sid", "required": true, "schema": { "title": "Sid", "type": "integer" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ScheduleUpdate" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ScheduleRow" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Schedule Update", "tags": [ "admin" ] } }, "/api/screens": { "get": { "operationId": "list_screens_api_screens_get", "responses": { "200": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/ScreenSummary" }, "title": "Response List Screens Api Screens Get", "type": "array" } } }, "description": "Successful Response" } }, "summary": "List Screens", "tags": [ "screens" ] } }, "/api/screens/{slug}": { "get": { "operationId": "get_screen_api_screens__slug__get", "parameters": [ { "in": "path", "name": "slug", "required": true, "schema": { "title": "Slug", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ScreenInventory" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Get Screen", "tags": [ "screens" ] } }, "/api/storage": { "get": { "description": "Administrator: what the saved state holds and how the last save went (with the error text), the retention\nsettings and the last clean-up.", "operationId": "storage_api_storage_get", "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" } }, "summary": "Storage", "tags": [ "admin" ] } }, "/api/tickets": { "get": { "operationId": "tickets_list_api_tickets_get", "parameters": [ { "in": "query", "name": "run_id", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Run Id" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 100, "maximum": 500, "title": "Limit", "type": "integer" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Page_dict_" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Tickets List", "tags": [ "review" ] } }, "/api/tickets/{ticket_id}": { "get": { "operationId": "ticket_get_api_tickets__ticket_id__get", "parameters": [ { "in": "path", "name": "ticket_id", "required": true, "schema": { "title": "Ticket Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": {} } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Ticket Get", "tags": [ "review" ] } }, "/api/tokens": { "get": { "operationId": "my_tokens_api_tokens_get", "responses": { "200": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/TokenView" }, "title": "Response My Tokens Api Tokens Get", "type": "array" } } }, "description": "Successful Response" } }, "summary": "My Tokens", "tags": [ "tokens" ] }, "post": { "operationId": "create_token_api_tokens_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TokenIn" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TokenCreated" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Create Token", "tags": [ "tokens" ] } }, "/api/tokens/{token_id}": { "delete": { "operationId": "revoke_token_api_tokens__token_id__delete", "parameters": [ { "in": "path", "name": "token_id", "required": true, "schema": { "title": "Token Id", "type": "integer" } } ], "responses": { "204": { "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Revoke Token", "tags": [ "tokens" ] } }, "/api/users": { "get": { "operationId": "users_api_users_get", "responses": { "200": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/UserRow" }, "title": "Response Users Api Users Get", "type": "array" } } }, "description": "Successful Response" } }, "summary": "Users", "tags": [ "admin" ] }, "post": { "operationId": "user_create_api_users_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserCreate" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserRow" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "User Create", "tags": [ "admin" ] } }, "/api/users/{uid}": { "patch": { "operationId": "user_update_api_users__uid__patch", "parameters": [ { "in": "path", "name": "uid", "required": true, "schema": { "title": "Uid", "type": "integer" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserUpdate" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserRow" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "User Update", "tags": [ "admin" ] } } } }