{"openapi":"3.1.0","info":{"title":"WorkFINITY® BPRM AI API","description":"\n## WorkFINITY® Solution Configuration Management System — BPRM AI API\n\nAn enterprise AI API gateway and management platform for WorkFINITY® Solution Applications, orchestrating downstream microservices (Rules, DataTypes, CodeManager, Forms, Workflow, Interface, Partner, Publish), AI-powered workspace copilot, multi-format document ingestion, and real-time operational analytics.\n\n---\n\n### 🔑 Authentication & Headers\nMost endpoints require authentication and workspace application context:\n- **JWT Session Authentication (`cookieAuth`)**: Handled via `access_token` cookie set automatically on login (`/api/auth/login`).\n- **CSRF Protection (`csrfHeader`)**: Mutating requests (`POST`, `PUT`, `PATCH`, `DELETE`) require the `X-CSRF-Token` header matching the `csrf_token` cookie.\n- **Application Context (`appIdHeader`)**: Application-scoped endpoints require the `X-App-Id` header (the `dbo.Application.Id` UUID returned by `/api/wf-applications/select-app`).\n- **Internal Service Secret (`internalAuthHeader`)**: Inter-service operations use `X-Internal-Auth`.\n\nClick the green **Authorize 🔓** button in Swagger UI to configure these credentials for interactive testing.\n\n---\n\n### 🏛️ Microservice Gateways & Architecture\n- **Rules Service (`/api/rules-service`)**: Decision tables, business rule compilation, execution, and AI prompt-to-rule editing.\n- **DataType Service (`/api/datatype-service`)**: Data schemas, fields, validation, and composite types.\n- **Code Manager Service (`/api/codemanager-service`)**: Hierarchical reference data, Types, Codes, and NLPS catalog lookups.\n- **Forms Service (`/api/forms-service`)**: Dynamic forms, field layouts, and AI-assisted form design.\n- **Workflow Service (`/api/workflow-service`)**: Process modeling, stage transitions, task assignments, and workflow designer AI.\n- **Interface Service (`/api/interface-service`)**: UI components, visual builder bindings, and view layouts.\n- **Partner & Publish Services (`/api/partner-service`, `/api/publish-service`)**: External B2B partner connectivity and multi-environment deployment pipelines.\n\n---\n\n### 🤖 AI Assistant & Knowledge Engine\n- **Assistant Copilot (`/api/assistant`)**: Natural language workspace assistant for multi-service reasoning, catalog search, and conversational workflows.\n- **Frontpage Documents (`/api/frontpage-documents`)**: Azure Blob Storage ingestion for PDFs, Word documents, Excel workbooks, and presentations, with vector index extraction.\n- **Technical Reference Documents (`/api/technical-reference-documents`)**: Solution-level reference libraries, architectural specs, and documentation folder trees.\n","termsOfService":"https://workfinity.net/terms","contact":{"name":"WorkFINITY Support","url":"https://workfinity.net/","email":"support@workfinity.net"},"license":{"name":"Proprietary","url":"https://workfinity.net/"},"version":"1.0.0"},"servers":[{"url":"/","description":"Current Server (Auto-detected)"},{"url":"http://localhost:8000","description":"Local Development (Port 8000)"},{"url":"http://127.0.0.1:8000","description":"Local Development (127.0.0.1:8000)"},{"url":"https://bprm-ai-api.workfinity.com","description":"Production API Gateway"}],"paths":{"/api/health":{"get":{"tags":["admin"],"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"tags":["Health"],"summary":"Service health probe","description":"Returns service health status for container orchestration and load balancers.","operationId":"root_health_health_get","responses":{"200":{"description":"Service is healthy","content":{"application/json":{"schema":{}}}}}}},"/api/health/dependencies":{"get":{"tags":["Health"],"summary":"Downstream microservices & database dependency probe","description":"Checks database connection and ping reachability of downstream microservices (Rules, Forms, Workflow, DataTypes, CodeManager, Interfaces, Publish, Partner).","operationId":"health_dependencies_api_health_dependencies_get","responses":{"200":{"description":"Dependency health report","content":{"application/json":{"schema":{}}}}}}},"/api/stats":{"get":{"tags":["admin"],"summary":"Application operational runtime statistics","description":"Returns service name, current version, process uptime in seconds, and health status.","operationId":"api_stats_api_stats_get","responses":{"200":{"description":"Runtime operational metrics","content":{"application/json":{"schema":{}}}}}}},"/api/auth/validate-client":{"post":{"tags":["auth"],"summary":"Validate Client","operationId":"validate_client_api_auth_validate_client_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientValidationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientValidationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"csrfHeader":[]}]}},"/api/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"csrfHeader":[]}]}},"/api/auth/login/resend-otp":{"post":{"tags":["auth"],"summary":"Resend Login Otp","operationId":"resend_login_otp_api_auth_login_resend_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"csrfHeader":[]}]}},"/api/auth/login/verify-otp":{"post":{"tags":["auth"],"summary":"Verify Login Otp","operationId":"verify_login_otp_api_auth_login_verify_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Login2FAConfirmIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"csrfHeader":[]}]}},"/api/auth/audit-log":{"post":{"tags":["auth"],"summary":"Create Audit Log","operationId":"create_audit_log_api_auth_audit_log_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditLogIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["auth"],"summary":"Get Audit Logs","operationId":"get_audit_logs_api_auth_audit_log_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"pageIndex","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Pageindex"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":10,"title":"Pagesize"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/audit-log/logout":{"post":{"tags":["auth"],"summary":"Update Audit Logout","operationId":"update_audit_logout_api_auth_audit_log_logout_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditLogoutIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh Token","operationId":"refresh_token_api_auth_refresh_post","parameters":[{"name":"refresh_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"}},{"name":"workspace_mode","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_api_auth_logout_post","parameters":[{"name":"refresh_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Logout Api Auth Logout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/workspace-mode":{"post":{"tags":["auth"],"summary":"Set Workspace Mode","operationId":"set_workspace_mode_api_auth_workspace_mode_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Set Workspace Mode Api Auth Workspace Mode Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/me":{"get":{"tags":["auth"],"summary":"Read Me","operationId":"read_me_api_auth_me_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"workspace_mode","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/forgot-username/start":{"post":{"tags":["auth"],"summary":"Forgot Username Start","operationId":"forgot_username_start_api_auth_forgot_username_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotUsernameStartIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/forgot-username/confirm":{"post":{"tags":["auth"],"summary":"Forgot Username Confirm","operationId":"forgot_username_confirm_api_auth_forgot_username_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotUsernameConfirmIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/forgot-password/start":{"post":{"tags":["auth"],"summary":"Forgot Password Start","operationId":"forgot_password_start_api_auth_forgot_password_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordStartIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/forgot-password/confirm":{"post":{"tags":["auth"],"summary":"Forgot Password Confirm","operationId":"forgot_password_confirm_api_auth_forgot_password_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordConfirmIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/forgot-password/reset":{"post":{"tags":["auth"],"summary":"Forgot Password Reset","operationId":"forgot_password_reset_api_auth_forgot_password_reset_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/valid-id/start":{"post":{"tags":["auth"],"summary":"Valid Id Start","operationId":"valid_id_start_api_auth_valid_id_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidIdStartIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/valid-id/confirm":{"post":{"tags":["auth"],"summary":"Valid Id Confirm","operationId":"valid_id_confirm_api_auth_valid_id_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidIdConfirmIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/security-question/start":{"post":{"tags":["auth"],"summary":"Security Question Start","operationId":"security_question_start_api_auth_security_question_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityQuestionStartIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/security-question/confirm":{"post":{"tags":["auth"],"summary":"Security Question Confirm","operationId":"security_question_confirm_api_auth_security_question_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityQuestionConfirmIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/auth/azure/config":{"get":{"tags":["auth"],"summary":"Whether Microsoft sign-in is available","operationId":"azure_config_api_auth_azure_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"bearerAuth":[]}]}},"/api/auth/azure/start":{"get":{"tags":["auth"],"summary":"Begin Microsoft sign-in","operationId":"azure_start_api_auth_azure_start_get","parameters":[{"name":"returnTo","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Returnto"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/roles":{"get":{"tags":["Roles"],"summary":"List roles of the applications you can open","operationId":"list_roles_api_roles_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Applicationid"}},{"name":"includeInactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Includeinactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Roles"],"summary":"Add a role to an application","operationId":"create_role_api_roles_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/services":{"get":{"tags":["Roles"],"summary":"Services and actions a role can be granted","operationId":"list_services_api_roles_services_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/permissions":{"get":{"tags":["Roles"],"summary":"What a role may do, per service","operationId":"get_role_permissions_api_roles__role_id__permissions_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Roles"],"summary":"Set what a role may do, per service","operationId":"set_role_permissions_api_roles__role_id__permissions_put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolePermissionsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}":{"put":{"tags":["Roles"],"summary":"Rename, describe or (de)activate a role","operationId":"update_role_api_roles__role_id__put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Roles"],"summary":"Deactivate a role","operationId":"delete_role_api_roles__role_id__delete","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/{user_id}/roles":{"get":{"tags":["Roles"],"summary":"Roles a user holds","operationId":"get_user_roles_api_users__user_id__roles_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Roles"],"summary":"Set the roles a user holds","operationId":"set_user_roles_api_users__user_id__roles_put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRolesIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/logs":{"get":{"tags":["admin"],"summary":"Get Error Logs","operationId":"get_error_logs_api_admin_logs_get","parameters":[{"name":"lines","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"description":"Number of last lines to return from the daily error log","default":200,"title":"Lines"},"description":"Number of last lines to return from the daily error log"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/admin/logs/clear":{"delete":{"tags":["admin"],"summary":"Clear Log Files","operationId":"clear_log_files_api_admin_logs_clear_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/applications/select-app":{"post":{"tags":["Applications"],"summary":"Select active application scope","description":"Validate that the requested application exists and is allowed for this user.\nThe frontend should store the returned app_id and send it as the\n``X-App-Id`` header on all subsequent requests.","operationId":"select_application_api_applications_select_app_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_SelectAppIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/applications/deselect-app":{"post":{"tags":["Applications"],"summary":"Deselect active application scope","description":"Inform the frontend to clear its stored X-App-Id.\nNo server-side state to clean up — app_id lives in the header.","operationId":"deselect_application_api_applications_deselect_app_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"bearerAuth":[]},{"csrfHeader":[]}]}},"/api/applications":{"post":{"tags":["Applications"],"summary":"Create solution application","operationId":"create_wf_application_api_applications_post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WFApplicationCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_WFApplicationOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Applications"],"summary":"List solution applications with pagination","operationId":"list_wf_applications_api_applications_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"page_no","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"1-based page number","default":1,"title":"Page No"},"description":"1-based page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Items per page","default":100,"title":"Page Size"},"description":"Items per page"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_WFApplicationPageOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/applications/import":{"post":{"tags":["Applications"],"summary":"Import solution applications from a file","description":"Create applications in the signed-in user's client from a CSV or JSON file. Columns: Name and\nShortName (required), Description, Industry, Category, SubCategory, SubCategoryType, Entity\n(each a Code Manager code or name of that type), IsActive. The user is given access to every\napplication created. A ShortName the client already has is skipped; each failed row is\nreported with its row number. Use dryRun=true to validate only.","operationId":"import_wf_applications_api_applications_import_post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"dryRun","in":"query","required":false,"schema":{"type":"boolean","description":"Validate and report without saving","default":false,"title":"Dryrun"},"description":"Validate and report without saving"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_wf_applications_api_applications_import_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/applications/{app_id}":{"get":{"tags":["Applications"],"summary":"Get solution application by ID","operationId":"get_wf_application_api_applications__app_id__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"App Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_WFApplicationOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Applications"],"summary":"Update solution application","operationId":"update_wf_application_api_applications__app_id__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"App Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WFApplicationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_WFApplicationOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Applications"],"summary":"Delete solution application","operationId":"delete_wf_application_api_applications__app_id__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"App Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_NoneType_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rules/{path}":{"get":{"tags":["Rules"],"summary":"Proxy GET request to Rules service","operationId":"proxy_rules_get_api_rules__path__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Rules"],"summary":"Proxy POST request to Rules service","operationId":"proxy_rules_post_api_rules__path__post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Rules"],"summary":"Proxy PUT request to Rules service","operationId":"proxy_rules_put_api_rules__path__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Rules"],"summary":"Proxy PATCH request to Rules service","operationId":"proxy_rules_patch_api_rules__path__patch","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Rules"],"summary":"Proxy DELETE request to Rules service","operationId":"proxy_rules_delete_api_rules__path__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/datatypes/{path}":{"get":{"tags":["DataTypes"],"summary":"Proxy GET request to DataTypes service","operationId":"proxy_datatype_get_api_datatypes__path__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["DataTypes"],"summary":"Proxy POST request to DataTypes service","operationId":"proxy_datatype_post_api_datatypes__path__post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["DataTypes"],"summary":"Proxy PUT request to DataTypes service","operationId":"proxy_datatype_put_api_datatypes__path__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["DataTypes"],"summary":"Proxy PATCH request to DataTypes service","operationId":"proxy_datatype_patch_api_datatypes__path__patch","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["DataTypes"],"summary":"Proxy DELETE request to DataTypes service","operationId":"proxy_datatype_delete_api_datatypes__path__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/codes/{path}":{"get":{"tags":["CodeManager"],"summary":"Proxy GET request to CodeManager service","operationId":"proxy_codemanager_get_api_codes__path__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["CodeManager"],"summary":"Proxy POST request to CodeManager service","operationId":"proxy_codemanager_post_api_codes__path__post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["CodeManager"],"summary":"Proxy PUT request to CodeManager service","operationId":"proxy_codemanager_put_api_codes__path__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["CodeManager"],"summary":"Proxy PATCH request to CodeManager service","operationId":"proxy_codemanager_patch_api_codes__path__patch","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["CodeManager"],"summary":"Proxy DELETE request to CodeManager service","operationId":"proxy_codemanager_delete_api_codes__path__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partners":{"get":{"tags":["Partners"],"summary":"List partner organizations","operationId":"list_partners_api_partners_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"pageSize","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":200,"minimum":1},{"type":"null"}],"title":"Pagesize"}},{"name":"partnerName","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Partnername"}},{"name":"partnerType","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Partnertype"}},{"name":"includeInactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Includeinactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Partners"],"summary":"Create partner organization","operationId":"create_partner_api_partners_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerFormsCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partners/{id}":{"get":{"tags":["Partners"],"summary":"Get partner organization by ID","operationId":"get_partner_api_partners__id__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Partners"],"summary":"Update partner organization","operationId":"update_partner_api_partners__id__put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerFormsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Partners"],"summary":"Deactivate partner organization","operationId":"delete_partner_api_partners__id__delete","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/offers":{"get":{"tags":["Offers"],"summary":"List exchange offers","operationId":"list_offers_api_offers_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"partnerId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Partnerid"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":10,"title":"Pagesize"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Offers"],"summary":"Create exchange offer","operationId":"create_offer_api_offers_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeOfferCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/offers/{id}":{"put":{"tags":["Offers"],"summary":"Update exchange offer","operationId":"update_offer_api_offers__id__put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeOfferUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Offers"],"summary":"Delete exchange offer","operationId":"delete_offer_api_offers__id__delete","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/offers/{id}/reference-form":{"put":{"tags":["Offers"],"summary":"Update exchange offer reference form","operationId":"update_offer_form_api_offers__id__reference_form_put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeOfferReferenceFormUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/offers/{id}/toggle-active":{"patch":{"tags":["Offers"],"summary":"Toggle exchange offer active status","operationId":"toggle_offer_api_offers__id__toggle_active_patch","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/offers/{offerId}/additional-offers":{"get":{"tags":["Offers"],"summary":"List additional exchange offers","operationId":"list_additional_api_offers__offerId__additional_offers_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"offerId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Offerid"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":10,"title":"Pagesize"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Offers"],"summary":"Create additional exchange offer","operationId":"create_additional_api_offers__offerId__additional_offers_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"offerId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Offerid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeAdditionalOfferCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/offers/{offerId}/additional-offers/{additionalOfferId}":{"get":{"tags":["Offers"],"summary":"Get additional exchange offer by ID","operationId":"get_additional_api_offers__offerId__additional_offers__additionalOfferId__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"offerId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Offerid"}},{"name":"additionalOfferId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Additionalofferid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Offers"],"summary":"Update additional exchange offer","operationId":"update_additional_api_offers__offerId__additional_offers__additionalOfferId__put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"offerId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Offerid"}},{"name":"additionalOfferId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Additionalofferid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeAdditionalOfferUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/offers/{offerId}/additional-offers/{additionalOfferId}/reference-form":{"put":{"tags":["Offers"],"summary":"Update additional offer reference form","operationId":"update_additional_form_api_offers__offerId__additional_offers__additionalOfferId__reference_form_put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"offerId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Offerid"}},{"name":"additionalOfferId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Additionalofferid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeOfferReferenceFormUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users":{"get":{"tags":["Users"],"summary":"List Users","operationId":"list_users_api_users_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":50,"title":"Pagesize"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Users"],"summary":"Create User","operationId":"create_user_api_users_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/{user_id}":{"patch":{"tags":["Users"],"summary":"Update User","operationId":"update_user_api_users__user_id__patch","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Users"],"summary":"Delete User","operationId":"delete_user_api_users__user_id__delete","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/{user_id}/toggle-status":{"patch":{"tags":["Users"],"summary":"Toggle User","operationId":"toggle_user_api_users__user_id__toggle_status_patch","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/permissions":{"put":{"tags":["Users"],"summary":"Manage Permissions","operationId":"manage_permissions_api_users_permissions_put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserManagePermission"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/{user_id}/applications":{"put":{"tags":["Users"],"summary":"Set User Applications","description":"Give the user exactly these applications, among those the caller can open.\n\nThe caller may only grant applications they have access to themselves, and\napplications outside their own access are left as they are.","operationId":"set_user_applications_api_users__user_id__applications_put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserApplicationAccess"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/{user_id}/reset-token-count":{"put":{"tags":["Users"],"summary":"Reset Token Count","operationId":"reset_token_count_api_users__user_id__reset_token_count_put","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/forms/{path}":{"get":{"tags":["Forms"],"summary":"Proxy GET request to Forms service","operationId":"proxy_forms_get_api_forms__path__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Forms"],"summary":"Proxy POST request to Forms service","operationId":"proxy_forms_post_api_forms__path__post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Forms"],"summary":"Proxy PUT request to Forms service","operationId":"proxy_forms_put_api_forms__path__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Forms"],"summary":"Proxy PATCH request to Forms service","operationId":"proxy_forms_patch_api_forms__path__patch","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Forms"],"summary":"Proxy DELETE request to Forms service","operationId":"proxy_forms_delete_api_forms__path__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/interfaces/{path}":{"get":{"tags":["Interfaces"],"summary":"Proxy GET request to Interface service","operationId":"proxy_interface_get_api_interfaces__path__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Interfaces"],"summary":"Proxy POST request to Interface service","operationId":"proxy_interface_post_api_interfaces__path__post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Interfaces"],"summary":"Proxy PUT request to Interface service","operationId":"proxy_interface_put_api_interfaces__path__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Interfaces"],"summary":"Proxy PATCH request to Interface service","operationId":"proxy_interface_patch_api_interfaces__path__patch","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Interfaces"],"summary":"Proxy DELETE request to Interface service","operationId":"proxy_interface_delete_api_interfaces__path__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/{path}":{"get":{"tags":["Workflows"],"summary":"Proxy GET request to Workflow service","operationId":"proxy_workflow_get_api_workflows__path__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Workflows"],"summary":"Proxy POST request to Workflow service","operationId":"proxy_workflow_post_api_workflows__path__post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Workflows"],"summary":"Proxy PUT request to Workflow service","operationId":"proxy_workflow_put_api_workflows__path__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Workflows"],"summary":"Proxy PATCH request to Workflow service","operationId":"proxy_workflow_patch_api_workflows__path__patch","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Workflows"],"summary":"Proxy DELETE request to Workflow service","operationId":"proxy_workflow_delete_api_workflows__path__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner-service/{path}":{"get":{"tags":["partner-service"],"summary":"Proxy Partner Get","operationId":"proxy_partner_get_api_partner_service__path__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["partner-service"],"summary":"Proxy Partner Post","operationId":"proxy_partner_post_api_partner_service__path__post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["partner-service"],"summary":"Proxy Partner Put","operationId":"proxy_partner_put_api_partner_service__path__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["partner-service"],"summary":"Proxy Partner Patch","operationId":"proxy_partner_patch_api_partner_service__path__patch","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["partner-service"],"summary":"Proxy Partner Delete","operationId":"proxy_partner_delete_api_partner_service__path__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner-admin/partners/{partner_id}/users":{"get":{"tags":["Partner users"],"summary":"Staff List Users","operationId":"staff_list_users_api_partner_admin_partners__partner_id__users_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Partner Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner-admin/partners/{partner_id}/super-admins":{"post":{"tags":["Partner users"],"summary":"Staff Create Super Admin","operationId":"staff_create_super_admin_api_partner_admin_partners__partner_id__super_admins_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Partner Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerUserCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner-admin/partners/{partner_id}/users/{partner_user_id}/status":{"patch":{"tags":["Partner users"],"summary":"Staff Set Status","operationId":"staff_set_status_api_partner_admin_partners__partner_id__users__partner_user_id__status_patch","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Partner Id"}},{"name":"partner_user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Partner User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerUserStatus"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner-workspace/users":{"get":{"tags":["Partner users"],"summary":"Partner List Users","operationId":"partner_list_users_api_partner_workspace_users_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Partner users"],"summary":"Partner Create User","operationId":"partner_create_user_api_partner_workspace_users_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerUserCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner-workspace/users/{partner_user_id}/status":{"patch":{"tags":["Partner users"],"summary":"Partner Set Status","operationId":"partner_set_status_api_partner_workspace_users__partner_user_id__status_patch","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"partner_user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Partner User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerUserStatus"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner-admin/partners/{partner_id}/users/{partner_user_id}/reset-password":{"post":{"tags":["Partner users"],"summary":"Staff Reset Password","operationId":"staff_reset_password_api_partner_admin_partners__partner_id__users__partner_user_id__reset_password_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Partner Id"}},{"name":"partner_user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Partner User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerUserPassword"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner-workspace/users/{partner_user_id}/reset-password":{"post":{"tags":["Partner users"],"summary":"Partner Reset Password","operationId":"partner_reset_password_api_partner_workspace_users__partner_user_id__reset_password_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"partner_user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Partner User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerUserPassword"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/publish/{path}":{"get":{"tags":["Publish"],"summary":"Proxy GET request to Publish service","operationId":"proxy_publish_get_api_publish__path__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Publish"],"summary":"Proxy POST request to Publish service","operationId":"proxy_publish_post_api_publish__path__post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Publish"],"summary":"Proxy PUT request to Publish service","operationId":"proxy_publish_put_api_publish__path__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Publish"],"summary":"Proxy PATCH request to Publish service","operationId":"proxy_publish_patch_api_publish__path__patch","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Publish"],"summary":"Proxy DELETE request to Publish service","operationId":"proxy_publish_delete_api_publish__path__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/publish-roles/catalog":{"get":{"tags":["publish-roles"],"summary":"Get Publish Permission Catalog","operationId":"get_publish_permission_catalog_api_publish_roles_catalog_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishPermissionCatalogOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/publish-roles":{"get":{"tags":["publish-roles"],"summary":"List Publish Roles","operationId":"list_publish_roles_api_publish_roles_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublishRolePermissionsOut"},"title":"Response List Publish Roles Api Publish Roles Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/publish-roles/{role_id}":{"get":{"tags":["publish-roles"],"summary":"Get Publish Role","operationId":"get_publish_role_api_publish_roles__role_id__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"integer","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishRolePermissionsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/publish-roles/{role_id}/permissions":{"put":{"tags":["publish-roles"],"summary":"Update Publish Role Permissions","operationId":"update_publish_role_permissions_api_publish_roles__role_id__permissions_put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"integer","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishRolePermissionsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishRolePermissionsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/analytics/code-manager":{"get":{"tags":["Analytics"],"summary":"Api Type Manager Stats","operationId":"api_type_manager_stats_api_analytics_code_manager_get","parameters":[{"name":"duration","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"description":"3m, 6m, 9m, 1y, or max","default":"max","title":"Duration"},"description":"3m, 6m, 9m, 1y, or max"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/manage-user-analytics":{"get":{"tags":["Analytics"],"summary":"Api Manage User Analytics","operationId":"api_manage_user_analytics_api_analytics_manage_user_analytics_get","parameters":[{"name":"duration","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Duration"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/manage-partner-analytics":{"get":{"tags":["Analytics"],"summary":"Api Manage Partner Analytics","operationId":"api_manage_partner_analytics_api_analytics_manage_partner_analytics_get","parameters":[{"name":"duration","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Duration"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Application ID or 'all' for all apps","default":"all","title":"Applicationid"},"description":"Application ID or 'all' for all apps"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/manage-interface-analytics":{"get":{"tags":["Analytics"],"summary":"Api Manage Interface Analytics","operationId":"api_manage_interface_analytics_api_analytics_manage_interface_analytics_get","parameters":[{"name":"duration","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Duration"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/rules-analytics":{"get":{"tags":["Analytics"],"summary":"Api Rules Analytics","operationId":"api_rules_analytics_api_analytics_rules_analytics_get","parameters":[{"name":"duration","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Duration"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Application ID or 'all' for all apps","default":"all","title":"Applicationid"},"description":"Application ID or 'all' for all apps"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/manage-application-analytics":{"get":{"tags":["Analytics"],"summary":"Api Manage Application Analytics","operationId":"api_manage_application_analytics_api_analytics_manage_application_analytics_get","parameters":[{"name":"duration","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Duration"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/form-engine-analytics":{"get":{"tags":["Analytics"],"summary":"Api Form Engine Analytics","operationId":"api_form_engine_analytics_api_analytics_form_engine_analytics_get","parameters":[{"name":"duration","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Duration"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Application ID or 'all' for all apps","default":"all","title":"Applicationid"},"description":"Application ID or 'all' for all apps"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/workflow-analytics":{"get":{"tags":["Analytics"],"summary":"Api Workflow Analytics","operationId":"api_workflow_analytics_api_analytics_workflow_analytics_get","parameters":[{"name":"duration","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Duration"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Application ID or 'all' for all apps","default":"all","title":"Applicationid"},"description":"Application ID or 'all' for all apps"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/tokens/summary":{"get":{"tags":["Token Analytics"],"summary":"Api Token Usage Summary","description":"Overall summary: total tokens, request count, averages, unique users.","operationId":"api_token_usage_summary_api_analytics_tokens_summary_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"description":"3m, 6m, 9m, 1y, or max","default":"max","title":"Period"},"description":"3m, 6m, 9m, 1y, or max"},{"name":"microservice","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by microservice key","title":"Microservice"},"description":"Filter by microservice key"},{"name":"userName","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by user","title":"Username"},"description":"Filter by user"},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Application ID or omit for all","title":"Applicationid"},"description":"Application ID or omit for all"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/tokens/by-microservice":{"get":{"tags":["Token Analytics"],"summary":"Api Token Usage By Microservice","description":"Token totals grouped by microservice — for bar/donut charts.","operationId":"api_token_usage_by_microservice_api_analytics_tokens_by_microservice_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Period"}},{"name":"userName","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/tokens/microservice-breakdown":{"get":{"tags":["Token Analytics"],"summary":"Api Token Usage Microservice Breakdown","description":"Rich, nested token breakdown per microservice (RequestType, Model, etc.)","operationId":"api_token_usage_microservice_breakdown_api_analytics_tokens_microservice_breakdown_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Period"}},{"name":"userName","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/tokens/dashboard":{"get":{"tags":["Token Analytics"],"summary":"Api Token Usage Dashboard","description":"Single mega-endpoint providing all token analytics data in one object.","operationId":"api_token_usage_dashboard_api_analytics_tokens_dashboard_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Period"}},{"name":"granularity","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(daily|weekly|monthly)$"},{"type":"null"}],"default":"daily","title":"Granularity"}},{"name":"microservice","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Microservice"}},{"name":"userName","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/tokens/trend":{"get":{"tags":["Token Analytics"],"summary":"Api Token Usage Trend","description":"Time-series buckets — for line/area charts.","operationId":"api_token_usage_trend_api_analytics_tokens_trend_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"3m","title":"Period"}},{"name":"granularity","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(daily|weekly|monthly)$"},{"type":"null"}],"description":"daily, weekly, or monthly","default":"daily","title":"Granularity"},"description":"daily, weekly, or monthly"},{"name":"microservice","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Microservice"}},{"name":"userName","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/tokens/top-users":{"get":{"tags":["Token Analytics"],"summary":"Api Top Users By Tokens","description":"Top N users ranked by total token consumption.","operationId":"api_top_users_by_tokens_api_analytics_tokens_top_users_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Period"}},{"name":"microservice","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Microservice"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"How many users to return","default":10,"title":"Limit"},"description":"How many users to return"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/tokens/by-model":{"get":{"tags":["Token Analytics"],"summary":"Api Token Usage By Model","description":"Breakdown by AI model (gpt-4o, gpt-4o-mini, etc.).","operationId":"api_token_usage_by_model_api_analytics_tokens_by_model_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Period"}},{"name":"microservice","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Microservice"}},{"name":"userName","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/analytics/tokens/detailed":{"get":{"tags":["Token Analytics"],"summary":"Api Token Usage Detailed","description":"Paginated log of individual AI requests.","operationId":"api_token_usage_detailed_api_analytics_tokens_detailed_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(3m|6m|9m|1y|max)$"},{"type":"null"}],"default":"max","title":"Period"}},{"name":"microservice","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Microservice"}},{"name":"userName","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"}},{"name":"applicationId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationid"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Pagesize"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/api/reports":{"get":{"tags":["Reports"],"summary":"List realtime reports","operationId":"api_list_realtime_reports_api_reports_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":10,"title":"Pagesize"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Reports"],"summary":"Create realtime report","operationId":"api_create_realtime_report_api_reports_post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRealtimeReportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/reports/{id}":{"put":{"tags":["Reports"],"summary":"Update realtime report","operationId":"api_update_realtime_report_api_reports__id__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRealtimeReportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Reports"],"summary":"Delete realtime report","operationId":"api_delete_realtime_report_api_reports__id__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/chat":{"post":{"tags":["Assistant"],"summary":"Api Assistant Chat","operationId":"api_assistant_chat_api_assistant_chat_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"How much of the conversation to return. Page 1 gives the last 10 messages, page 2 the last 20, and so on — ask for the next page to reveal older ones. Check 'hasMore' to know when to stop.","default":1,"title":"Page"},"description":"How much of the conversation to return. Page 1 gives the last 10 messages, page 2 the last 20, and so on — ask for the next page to reveal older ones. Check 'hasMore' to know when to stop."},{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AssistantRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/runs/{run_id}":{"get":{"tags":["Assistant"],"summary":"Api Journey Run","operationId":"api_journey_run_api_assistant_journey_runs__run_id__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/runs/{run_id}/cancel":{"post":{"tags":["Assistant"],"summary":"Api Journey Run Cancel","operationId":"api_journey_run_cancel_api_assistant_journey_runs__run_id__cancel_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/state":{"get":{"tags":["Assistant"],"summary":"Api Get Journey State","operationId":"api_get_journey_state_api_assistant_journey_state_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/chat":{"post":{"tags":["Assistant"],"summary":"Api Journey Chat","operationId":"api_journey_chat_api_assistant_journey_chat_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyChatRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/intent":{"post":{"tags":["Assistant"],"summary":"Api Journey Intent","operationId":"api_journey_intent_api_assistant_journey_intent_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyIntentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/select-subapp":{"post":{"tags":["Assistant"],"summary":"Api Journey Select Subapp","operationId":"api_journey_select_subapp_api_assistant_journey_select_subapp_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneySelectSubAppRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/reset":{"post":{"tags":["Assistant"],"summary":"Api Journey Reset","operationId":"api_journey_reset_api_assistant_journey_reset_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/navigate":{"post":{"tags":["Assistant"],"summary":"Api Journey Navigate","operationId":"api_journey_navigate_api_assistant_journey_navigate_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyNavigateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/users/begin":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Users","operationId":"api_journey_begin_users_api_assistant_journey_users_begin_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/codemanager/codes":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Codes","operationId":"api_journey_begin_codes_api_assistant_journey_codemanager_codes_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/codemanager/prompt":{"post":{"tags":["Assistant"],"summary":"Api Journey Codemanager Prompt","operationId":"api_journey_codemanager_prompt_api_assistant_journey_codemanager_prompt_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyPromptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/codemanager/begin":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Codemanager","operationId":"api_journey_begin_codemanager_api_assistant_journey_codemanager_begin_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/codemanager/import":{"post":{"tags":["Assistant"],"summary":"Api Journey Import Codemanager","operationId":"api_journey_import_codemanager_api_assistant_journey_codemanager_import_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_api_journey_import_codemanager_api_assistant_journey_codemanager_import_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/datadictionary/begin":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Datadictionary","operationId":"api_journey_begin_datadictionary_api_assistant_journey_datadictionary_begin_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/datadictionary/attributes":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Attributes","operationId":"api_journey_begin_attributes_api_assistant_journey_datadictionary_attributes_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/datadictionary/prompt":{"post":{"tags":["Assistant"],"summary":"Api Journey Datadictionary Prompt","operationId":"api_journey_datadictionary_prompt_api_assistant_journey_datadictionary_prompt_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyPromptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/datadictionary/import":{"post":{"tags":["Assistant"],"summary":"Api Journey Import Datadictionary","operationId":"api_journey_import_datadictionary_api_assistant_journey_datadictionary_import_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_api_journey_import_datadictionary_api_assistant_journey_datadictionary_import_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/forms/begin":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Forms","operationId":"api_journey_begin_forms_api_assistant_journey_forms_begin_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/forms/design":{"post":{"tags":["Assistant"],"summary":"Api Journey Forms Design","operationId":"api_journey_forms_design_api_assistant_journey_forms_design_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/forms/bind":{"post":{"tags":["Assistant"],"summary":"Api Journey Forms Bind","operationId":"api_journey_forms_bind_api_assistant_journey_forms_bind_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/forms/bind-form":{"post":{"tags":["Assistant"],"summary":"Api Journey Forms Bind Form","operationId":"api_journey_forms_bind_form_api_assistant_journey_forms_bind_form_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyBindFormRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/forms/bind-preview":{"post":{"tags":["Assistant"],"summary":"Api Journey Forms Bind Preview","description":"Propose a field-to-attribute mapping without saving anything.","operationId":"api_journey_forms_bind_preview_api_assistant_journey_forms_bind_preview_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyBindFormRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyBindPreviewOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/inventory/refresh":{"post":{"tags":["Assistant"],"summary":"Api Journey Inventory Refresh","operationId":"api_journey_inventory_refresh_api_assistant_journey_inventory_refresh_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/forms/publish-step":{"post":{"tags":["Assistant"],"summary":"Api Journey Forms Publish Step","operationId":"api_journey_forms_publish_step_api_assistant_journey_forms_publish_step_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/forms/create":{"post":{"tags":["Assistant"],"summary":"Api Journey Forms Create","operationId":"api_journey_forms_create_api_assistant_journey_forms_create_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyCreateFormRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/forms/publish":{"post":{"tags":["Assistant"],"summary":"Api Journey Forms Publish","operationId":"api_journey_forms_publish_api_assistant_journey_forms_publish_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyPublishFormRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/forms/prompt":{"post":{"tags":["Assistant"],"summary":"Api Journey Forms Prompt","operationId":"api_journey_forms_prompt_api_assistant_journey_forms_prompt_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyPromptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/rules/begin":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Rules","operationId":"api_journey_begin_rules_api_assistant_journey_rules_begin_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/rules/functions":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Rule Functions","operationId":"api_journey_begin_rule_functions_api_assistant_journey_rules_functions_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/rules/version":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Rule Version","operationId":"api_journey_begin_rule_version_api_assistant_journey_rules_version_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/rules/publish":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Rule Publish","operationId":"api_journey_begin_rule_publish_api_assistant_journey_rules_publish_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/rules/approve-selected":{"post":{"tags":["Assistant"],"summary":"Api Journey Approve Selected Rules","operationId":"api_journey_approve_selected_rules_api_assistant_journey_rules_approve_selected_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyApproveRulesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/rules/approve":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Rule Approve","operationId":"api_journey_begin_rule_approve_api_assistant_journey_rules_approve_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/rules/prompt":{"post":{"tags":["Assistant"],"summary":"Api Journey Rules Prompt","operationId":"api_journey_rules_prompt_api_assistant_journey_rules_prompt_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyPromptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/interface/begin":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Interface","operationId":"api_journey_begin_interface_api_assistant_journey_interface_begin_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/interface/select-step":{"post":{"tags":["Assistant"],"summary":"Api Journey Interface Select Step","operationId":"api_journey_interface_select_step_api_assistant_journey_interface_select_step_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/interface/create":{"post":{"tags":["Assistant"],"summary":"Api Journey Interface Create","operationId":"api_journey_interface_create_api_assistant_journey_interface_create_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyCreateInterfaceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/interface/select":{"post":{"tags":["Assistant"],"summary":"Api Journey Interface Select","operationId":"api_journey_interface_select_api_assistant_journey_interface_select_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneySelectInterfacesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/interface/prompt":{"post":{"tags":["Assistant"],"summary":"Api Journey Interface Prompt","operationId":"api_journey_interface_prompt_api_assistant_journey_interface_prompt_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyPromptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/interface/configure-step":{"post":{"tags":["Assistant"],"summary":"Api Journey Interface Configure Step","operationId":"api_journey_interface_configure_step_api_assistant_journey_interface_configure_step_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/interface/requirements":{"post":{"tags":["Assistant"],"summary":"Api Journey Interface Requirements","operationId":"api_journey_interface_requirements_api_assistant_journey_interface_requirements_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyConfigureInterfaceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/interface/configure":{"post":{"tags":["Assistant"],"summary":"Api Journey Interface Configure","operationId":"api_journey_interface_configure_api_assistant_journey_interface_configure_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyConfigureInterfaceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/workflow/begin":{"post":{"tags":["Assistant"],"summary":"Api Journey Begin Workflow","operationId":"api_journey_begin_workflow_api_assistant_journey_workflow_begin_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/workflow/design":{"post":{"tags":["Assistant"],"summary":"Api Journey Workflow Design","operationId":"api_journey_workflow_design_api_assistant_journey_workflow_design_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/workflow/configure-step":{"post":{"tags":["Assistant"],"summary":"Api Journey Workflow Configure Step","operationId":"api_journey_workflow_configure_step_api_assistant_journey_workflow_configure_step_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/workflow/configure":{"post":{"tags":["Assistant"],"summary":"Api Journey Workflow Configure","operationId":"api_journey_workflow_configure_api_assistant_journey_workflow_configure_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyConfigureWorkflowRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/workflow/publish":{"post":{"tags":["Assistant"],"summary":"Api Journey Workflow Publish Step","operationId":"api_journey_workflow_publish_step_api_assistant_journey_workflow_publish_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/workflow/create":{"post":{"tags":["Assistant"],"summary":"Api Journey Workflow Create","operationId":"api_journey_workflow_create_api_assistant_journey_workflow_create_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyCreateWorkflowRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/workflow/prompt":{"post":{"tags":["Assistant"],"summary":"Api Journey Workflow Prompt","operationId":"api_journey_workflow_prompt_api_assistant_journey_workflow_prompt_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyPromptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/workflow/diagram":{"post":{"tags":["Assistant"],"summary":"Api Journey Workflow Diagram","operationId":"api_journey_workflow_diagram_api_assistant_journey_workflow_diagram_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyPublishFormRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/workflow/activate":{"post":{"tags":["Assistant"],"summary":"Api Journey Workflow Activate","operationId":"api_journey_workflow_activate_api_assistant_journey_workflow_activate_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyPublishFormRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/setup-document/skip":{"post":{"tags":["Assistant"],"summary":"Api Journey Skip Setup Item","operationId":"api_journey_skip_setup_item_api_assistant_journey_setup_document_skip_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneySetupSkipRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/fast-track":{"post":{"tags":["Assistant"],"summary":"Api Journey Fast Track","description":"Build the Sub-Application from its uploaded setup document in one run: every step's agent creates\nits items in order, without suggestions or approval stops; forms and rules are published, workflows\nstay drafts for review. The result lists, per step, what the setup document expected and what was saved.","operationId":"api_journey_fast_track_api_assistant_journey_fast_track_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyFastTrackRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/fast-track/publish":{"post":{"tags":["Assistant"],"summary":"Api Journey Fast Track Publish","description":"Publish the draft workflows Fast Track built, after the review: the named ones, or all of them.","operationId":"api_journey_fast_track_publish_api_assistant_journey_fast_track_publish_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyFastTrackPublishRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/setup-document/import":{"post":{"tags":["Assistant"],"summary":"Api Journey Import Setup Document","operationId":"api_journey_import_setup_document_api_assistant_journey_setup_document_import_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneySetupImportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/stage-files":{"post":{"tags":["Assistant"],"summary":"Api Journey Stage Files","operationId":"api_journey_stage_files_api_assistant_journey_stage_files_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_api_journey_stage_files_api_assistant_journey_stage_files_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/setup-document":{"post":{"tags":["Assistant"],"summary":"Api Journey Setup Document","description":"Index a setup document. A raw specification is converted by the AI Orchestrator first (a minute\nor two): the work runs off the event loop under the portal's X-Journey-Run-Id, so the page shows\neach step and can stop it.","operationId":"api_journey_setup_document_api_assistant_journey_setup_document_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_api_journey_setup_document_api_assistant_journey_setup_document_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/journey/setup-document/preset":{"post":{"tags":["Assistant"],"summary":"Api Journey Setup Document Preset","description":"Load a built-in specification from docs/import-templates directly into the journey.","operationId":"api_journey_setup_document_preset_api_assistant_journey_setup_document_preset_post","security":[{"HTTPBearer":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"preset","in":"query","required":false,"schema":{"type":"string","description":"Built-in specification preset: hrims or car-renewal","default":"hrims","title":"Preset"},"description":"Built-in specification preset: hrims or car-renewal"},{"name":"X-Access-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix).","title":"X-Access-Token"},"description":"Paste your access_token JWT here (raw, no 'Bearer ' prefix)."},{"name":"X-App-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Selected application id (dbo.Application.Id UUID).","title":"X-App-Id"},"description":"Selected application id (dbo.Application.Id UUID)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents":{"get":{"tags":["Documents"],"summary":"List solution frontpage documents","operationId":"api_list_frontpage_documents_api_documents_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"folderId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"CodeManager Id of the Technical Reference folder.","title":"Folderid"},"description":"CodeManager Id of the Technical Reference folder."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents/search":{"get":{"tags":["Documents"],"summary":"Search solution documents with embeddings","operationId":"api_search_frontpage_documents_api_documents_search_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":260},{"type":"null"}],"description":"Case-insensitive substring match on document name. Omit for the most recently uploaded documents.","title":"Q"},"description":"Case-insensitive substring match on document name. Omit for the most recently uploaded documents."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Pagesize"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents/request-upload":{"post":{"tags":["Documents"],"summary":"Request direct SAS upload URL","operationId":"api_request_frontpage_document_upload_api_documents_request_upload_post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontpageDocumentRequestUpload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents/request-upload-batch":{"post":{"tags":["Documents"],"summary":"Api Request Frontpage Document Upload Batch","operationId":"api_request_frontpage_document_upload_batch_api_documents_request_upload_batch_post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontpageDocumentBatchRequestUpload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents/reindex":{"post":{"tags":["Documents"],"summary":"Api Reindex Frontpage Documents","description":"Index every uploaded frontpage document for the assistant.","operationId":"api_reindex_frontpage_documents_api_documents_reindex_post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents/{document_id}/confirm":{"post":{"tags":["Documents"],"summary":"Api Confirm Frontpage Document Upload","operationId":"api_confirm_frontpage_document_upload_api_documents__document_id__confirm_post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents/confirm-batch":{"post":{"tags":["Documents"],"summary":"Api Confirm Frontpage Document Upload Batch","operationId":"api_confirm_frontpage_document_upload_batch_api_documents_confirm_batch_post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontpageDocumentConfirmBatchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents/{document_id}/reindex":{"post":{"tags":["Documents"],"summary":"Reindex document text and embeddings","operationId":"api_reindex_frontpage_document_api_documents__document_id__reindex_post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents/{document_id}/view-url":{"get":{"tags":["Documents"],"summary":"Get secure SAS view URL for document","operationId":"api_get_frontpage_document_view_url_api_documents__document_id__view_url_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents/{document_id}":{"delete":{"tags":["Documents"],"summary":"Soft-delete document","operationId":"api_delete_frontpage_document_api_documents__document_id__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/technical-documents/root":{"get":{"tags":["TechnicalDocuments"],"summary":"Get root folder for technical reference documents","description":"Return the Technical Reference Document root type.","operationId":"api_trd_root_api_technical_documents_root_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/technical-documents/folders":{"get":{"tags":["TechnicalDocuments"],"summary":"List technical document folders","operationId":"api_trd_list_folders_api_technical_documents_folders_get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"parentId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Parent folder CodeManager Id. Omit to list folders under the TRD root.","title":"Parentid"},"description":"Parent folder CodeManager Id. Omit to list folders under the TRD root."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["TechnicalDocuments"],"summary":"Create technical document folder","operationId":"api_trd_create_folder_api_technical_documents_folders_post","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnicalReferenceCreateFolder"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/technical-documents/folders/{folderId}":{"get":{"tags":["TechnicalDocuments"],"summary":"Get technical document folder by ID","operationId":"api_trd_get_folder_api_technical_documents_folders__folderId__get","security":[{"HTTPBearer":[]},{"bearerAuth":[]}],"parameters":[{"name":"folderId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Folderid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["TechnicalDocuments"],"summary":"Update technical document folder","operationId":"api_trd_update_folder_api_technical_documents_folders__folderId__put","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"folderId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Folderid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnicalReferenceUpdateFolder"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["TechnicalDocuments"],"summary":"Delete technical document folder","operationId":"api_trd_delete_folder_api_technical_documents_folders__folderId__delete","security":[{"HTTPBearer":[]},{"CSRFToken":[]},{"bearerAuth":[]},{"csrfHeader":[]}],"parameters":[{"name":"folderId","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Folderid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"APIResponse_NoneType_":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"data":{"type":"null","title":"Data"}},"type":"object","required":["success","message"],"title":"APIResponse[NoneType]"},"APIResponse_WFApplicationOut_":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"data":{"anyOf":[{"$ref":"#/components/schemas/WFApplicationOut"},{"type":"null"}]}},"type":"object","required":["success","message"],"title":"APIResponse[WFApplicationOut]"},"APIResponse_WFApplicationPageOut_":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"data":{"anyOf":[{"$ref":"#/components/schemas/WFApplicationPageOut"},{"type":"null"}]}},"type":"object","required":["success","message"],"title":"APIResponse[WFApplicationPageOut]"},"AssistantRequest":{"properties":{"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"User message. Omit or leave empty to get a greeting."},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sessionid","description":"Existing session id. Omit and the user's active session is reused (a new one is issued only after 4 days)."},"microservice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Microservice","description":"Microservice the user is currently in, e.g. 'codemanager', 'workflow', 'forms'. Send it on every call — the assistant answers only for this microservice, and it is remembered on the session."}},"type":"object","title":"AssistantRequest"},"AssistantResponse":{"properties":{"assistantReply":{"type":"string","title":"Assistantreply","description":"Assistant's reply to the message"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sessionid","description":"Session id to send back on the next message."},"microservice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Microservice","description":"Microservice this reply was scoped to."},"added":{"type":"string","title":"Added","description":"What the assistant just created: 'type', 'code', 'datatype', 'attribute', 'user', or '' when this turn created nothing. Set only on the turn the records were actually made — it does not repeat on later replies — so a client can refresh its list exactly when there is something new to show.","default":""},"mainUrl":{"anyOf":[{"$ref":"#/components/schemas/UrlRef"},{"type":"null"}],"description":"The microservice the assistant is pointing the user at next, when it is suggesting one — null otherwise. Links are never written into assistantReply; render them from here."},"otherUrl":{"items":{"$ref":"#/components/schemas/UrlRef"},"type":"array","title":"Otherurl","description":"Further microservices the user could move on to after mainUrl. Empty when there is nothing else to offer."},"messages":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Messages","description":"The conversation so far, oldest first, returned on every call. Each entry holds either 'message' (what the user sent) or 'assistantReply' (what the assistant said); the last entry is the assistantReply above. Only this microservice's messages appear — each microservice has its own session and its own transcript. Trimmed to the most recent 10 x page entries; see the 'page' query parameter."},"totalMessages":{"type":"integer","title":"Totalmessages","description":"How many entries this microservice's conversation holds in total, before the page window was applied.","default":0},"hasMore":{"type":"boolean","title":"Hasmore","description":"True when older messages were left out of 'messages'. Ask for the next page to reveal them; False means you have the whole thing.","default":false},"documents":{"items":{"$ref":"#/components/schemas/DocumentRef"},"type":"array","title":"Documents","description":"Frontpage documents this reply is about. Render them as links; open the file with GET /api/frontpage-documents/{documentId}/view-url. Empty when the reply does not depend on an uploaded document."}},"type":"object","required":["assistantReply"],"title":"AssistantResponse"},"AuditLogIn":{"properties":{"UserName":{"type":"string","minLength":1,"title":"Username"},"LoginDateTime":{"type":"string","format":"date-time","title":"Logindatetime"},"BrowserDetails":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Browserdetails"}},"type":"object","required":["UserName","LoginDateTime"],"title":"AuditLogIn"},"AuditLogoutIn":{"properties":{"UserName":{"type":"string","minLength":1,"title":"Username"},"LogoutDateTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Logoutdatetime"}},"type":"object","required":["UserName"],"title":"AuditLogoutIn"},"BindAttributeOption":{"properties":{"name":{"type":"string","title":"Name"},"label":{"type":"string","title":"Label","default":""},"type":{"type":"string","title":"Type","default":""}},"type":"object","required":["name"],"title":"BindAttributeOption"},"BindMappingItem":{"properties":{"fieldId":{"type":"string","title":"Fieldid"},"attribute":{"type":"string","title":"Attribute","description":"Existing attribute name. Empty with create=True adds a new attribute.","default":""},"create":{"type":"boolean","title":"Create","default":false},"newName":{"type":"string","title":"Newname","description":"Attribute name to create; defaults to one derived from the field label","default":""}},"type":"object","required":["fieldId"],"title":"BindMappingItem"},"BindPreviewRow":{"properties":{"fieldId":{"type":"string","title":"Fieldid"},"label":{"type":"string","title":"Label","default":""},"fieldType":{"type":"string","title":"Fieldtype","default":""},"required":{"type":"boolean","title":"Required","default":false},"attribute":{"type":"string","title":"Attribute","default":""},"attributeLabel":{"type":"string","title":"Attributelabel","default":""},"source":{"type":"string","title":"Source","description":"'ai' | 'name' | 'bound' (already bound) | 'new' (attribute to create) | ''","default":""},"create":{"type":"boolean","title":"Create","default":false},"newName":{"type":"string","title":"Newname","default":""}},"type":"object","required":["fieldId"],"title":"BindPreviewRow"},"Body_api_journey_import_codemanager_api_assistant_journey_codemanager_import_post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_api_journey_import_codemanager_api_assistant_journey_codemanager_import_post"},"Body_api_journey_import_datadictionary_api_assistant_journey_datadictionary_import_post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_api_journey_import_datadictionary_api_assistant_journey_datadictionary_import_post"},"Body_api_journey_setup_document_api_assistant_journey_setup_document_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_api_journey_setup_document_api_assistant_journey_setup_document_post"},"Body_api_journey_stage_files_api_assistant_journey_stage_files_post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"},"targetService":{"type":"string","title":"Targetservice","default":"auto"}},"type":"object","required":["files"],"title":"Body_api_journey_stage_files_api_assistant_journey_stage_files_post"},"Body_import_wf_applications_api_applications_import_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File","description":"Applications as CSV or JSON (docs/import-templates/01-application.csv)"}},"type":"object","required":["file"],"title":"Body_import_wf_applications_api_applications_import_post"},"ClarifyingQuestion":{"properties":{"id":{"type":"string","title":"Id","description":"Question identifier, e.g. 'upfront_data' or 'workflow_scope'"},"topic":{"type":"string","title":"Topic","description":"Short category label such as 'Upfront Data Ingestion'","default":""},"question":{"type":"string","title":"Question","description":"Clarifying question text"},"options":{"items":{"$ref":"#/components/schemas/ClarifyingQuestionOption"},"type":"array","title":"Options","description":"Exactly 4 options: 3 choices (one recommended) and 1 'Others' option for custom elaboration"}},"type":"object","required":["id","question"],"title":"ClarifyingQuestion"},"ClarifyingQuestionOption":{"properties":{"id":{"type":"string","title":"Id","description":"Option identifier, e.g. 'opt_1', 'opt_2', 'opt_3', 'other'"},"label":{"type":"string","title":"Label","description":"Option text shown to the user"},"description":{"type":"string","title":"Description","description":"Short explanation of what this option does","default":""},"recommended":{"type":"boolean","title":"Recommended","description":"True for the single recommended option","default":false},"isOther":{"type":"boolean","title":"Isother","description":"True for the 4th option where the user elaborates via prompt","default":false}},"type":"object","required":["id","label"],"title":"ClarifyingQuestionOption"},"ClientValidationIn":{"properties":{"client_id":{"type":"string","format":"uuid","title":"Client Id"},"valid_id":{"type":"string","minLength":1,"title":"Valid Id"}},"type":"object","required":["client_id","valid_id"],"title":"ClientValidationIn"},"ClientValidationOut":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"ClientValidationOut"},"CodeCatalogItem":{"properties":{"kind":{"type":"string","title":"Kind","description":"'type' | 'code'"},"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"typeKey":{"type":"string","title":"Typekey","default":""},"code":{"type":"string","title":"Code","default":""},"description":{"type":"string","title":"Description","default":""},"parentType":{"type":"string","title":"Parenttype","default":""},"action":{"type":"string","title":"Action","description":"'created' | 'updated' | 'deleted' | 'existing'","default":"created"}},"type":"object","required":["kind","name"],"title":"CodeCatalogItem"},"CreateRealtimeReportRequest":{"properties":{"Name":{"type":"string","minLength":1,"title":"Name"},"DataTypeAttributes":{"items":{"$ref":"#/components/schemas/ReportDataTypeItem"},"type":"array","minItems":1,"title":"Datatypeattributes"}},"type":"object","required":["Name","DataTypeAttributes"],"title":"CreateRealtimeReportRequest"},"DataCatalogItem":{"properties":{"kind":{"type":"string","title":"Kind","description":"'datatype' | 'attribute'"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"datatypeName":{"type":"string","title":"Datatypename","default":""},"label":{"type":"string","title":"Label","default":""},"description":{"type":"string","title":"Description","default":""},"action":{"type":"string","title":"Action","description":"'created' | 'updated' | 'deleted' | 'existing' | 'suggested'","default":"created"}},"type":"object","required":["kind","name"],"title":"DataCatalogItem"},"DocumentRef":{"properties":{"documentId":{"type":"string","title":"Documentid"},"fileName":{"type":"string","title":"Filename"}},"type":"object","required":["documentId","fileName"],"title":"DocumentRef","description":"A frontpage document the assistant is pointing at. The client opens it."},"ExchangeAdditionalOfferCreate":{"properties":{"Name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"AdditionalOfferCode":{"type":"string","maxLength":100,"minLength":1,"title":"Additionaloffercode"},"ApplicationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Applicationid"},"AdditionalOfferType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additionaloffertype"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"FormDefinitionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Formdefinitionid"},"FormDefinitionVersionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Formdefinitionversionid"},"DefaultValuesJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Defaultvaluesjson"},"UpdatedValuesJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedvaluesjson"},"ValidFromUtc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Validfromutc"},"ValidToUtc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Validtoutc"},"PartnerId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Partnerid"},"OrderNumber":{"type":"integer","title":"Ordernumber","default":0},"IsActive":{"type":"boolean","title":"Isactive","default":true}},"type":"object","required":["Name","AdditionalOfferCode"],"title":"ExchangeAdditionalOfferCreate"},"ExchangeAdditionalOfferUpdate":{"properties":{"Name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"AdditionalOfferCode":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Additionaloffercode"},"AdditionalOfferType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additionaloffertype"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"FormDefinitionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Formdefinitionid"},"FormDefinitionVersionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Formdefinitionversionid"},"DefaultValuesJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Defaultvaluesjson"},"UpdatedValuesJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedvaluesjson"},"ValidFromUtc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Validfromutc"},"ValidToUtc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Validtoutc"},"PartnerId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Partnerid"},"OrderNumber":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ordernumber"},"IsActive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isactive"}},"type":"object","title":"ExchangeAdditionalOfferUpdate"},"ExchangeOfferCreate":{"properties":{"Name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"OfferCode":{"type":"string","maxLength":100,"minLength":1,"title":"Offercode"},"ApplicationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Applicationid"},"OfferType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offertype"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"FormDefinitionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Formdefinitionid"},"FormDefinitionVersionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Formdefinitionversionid"},"DefaultValuesJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Defaultvaluesjson"},"UpdatedValuesJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedvaluesjson"},"OfferSchemaJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offerschemajson"},"ValidFromUtc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Validfromutc"},"ValidToUtc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Validtoutc"},"PartnerId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Partnerid"},"IsActive":{"type":"boolean","title":"Isactive","default":true}},"type":"object","required":["Name","OfferCode"],"title":"ExchangeOfferCreate"},"ExchangeOfferReferenceFormUpdate":{"properties":{"FormDefinitionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Formdefinitionid"},"FormDefinitionVersionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Formdefinitionversionid"}},"type":"object","title":"ExchangeOfferReferenceFormUpdate"},"ExchangeOfferUpdate":{"properties":{"Name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"OfferCode":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Offercode"},"OfferType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offertype"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"FormDefinitionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Formdefinitionid"},"FormDefinitionVersionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Formdefinitionversionid"},"DefaultValuesJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Defaultvaluesjson"},"UpdatedValuesJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedvaluesjson"},"OfferSchemaJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offerschemajson"},"ValidFromUtc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Validfromutc"},"ValidToUtc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Validtoutc"},"PartnerId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Partnerid"},"IsActive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isactive"}},"type":"object","title":"ExchangeOfferUpdate"},"ForgotPasswordConfirmIn":{"properties":{"username":{"type":"string","minLength":1,"title":"Username"},"email":{"type":"string","format":"email","title":"Email"},"code":{"type":"string","minLength":1,"title":"Code"}},"type":"object","required":["username","email","code"],"title":"ForgotPasswordConfirmIn"},"ForgotPasswordStartIn":{"properties":{"username":{"type":"string","minLength":1,"title":"Username"},"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["username","email"],"title":"ForgotPasswordStartIn"},"ForgotUsernameConfirmIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"code":{"type":"string","minLength":1,"title":"Code"}},"type":"object","required":["email","code"],"title":"ForgotUsernameConfirmIn"},"ForgotUsernameStartIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"ForgotUsernameStartIn"},"FormCatalogItem":{"properties":{"kind":{"type":"string","title":"Kind","description":"'form'","default":"form"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"},"formId":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Formid"},"name":{"type":"string","title":"Name"},"formType":{"type":"string","title":"Formtype","default":""},"published":{"type":"boolean","title":"Published","default":false},"description":{"type":"string","title":"Description","default":""},"action":{"type":"string","title":"Action","description":"'created' | 'designed' | 'bound' | 'existing' | 'published' | 'suggested'","default":"created"},"designerPath":{"type":"string","title":"Designerpath","default":""},"hasDesign":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hasdesign"},"bindableFields":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bindablefields"},"boundFields":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Boundfields"},"boundDatatype":{"type":"string","title":"Bounddatatype","default":""}},"type":"object","required":["name"],"title":"FormCatalogItem"},"FormDropdownSelection":{"properties":{"industryId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Industryid"},"industryName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industryname"},"categoryId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Categoryid"},"categoryName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categoryname"},"subCategoryId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subcategoryid"},"subCategoryName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategoryname"},"subCategoryTypeId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subcategorytypeid"},"subCategoryTypeName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategorytypename"},"entityId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Entityid"},"entityName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entityname"}},"type":"object","title":"FormDropdownSelection","description":"Resolved Sub-Application dropdowns. Ids are Code Manager row ids the form selects."},"FrontpageDocumentBatchRequestUpload":{"properties":{"folderId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folderid","description":"Codemanager TYPES row ID for the target Technical Reference folder."},"files":{"items":{"$ref":"#/components/schemas/FrontpageDocumentFileUploadRequest"},"type":"array","maxItems":50,"minItems":1,"title":"Files","description":"Up to 50 files per batch."}},"type":"object","required":["files"],"title":"FrontpageDocumentBatchRequestUpload"},"FrontpageDocumentBlobUploadResult":{"properties":{"documentId":{"type":"string","minLength":1,"title":"Documentid"},"status":{"type":"string","enum":["UPLOADED","FAILED"],"title":"Status"},"reason":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Reason","description":"Required when status is FAILED (e.g. BLOB_NOT_FOUND)."}},"type":"object","required":["documentId","status"],"title":"FrontpageDocumentBlobUploadResult"},"FrontpageDocumentConfirmBatchRequest":{"properties":{"results":{"items":{"$ref":"#/components/schemas/FrontpageDocumentBlobUploadResult"},"type":"array","maxItems":50,"minItems":1,"title":"Results","description":"Per-file blob PUT outcome from the frontend."}},"type":"object","required":["results"],"title":"FrontpageDocumentConfirmBatchRequest"},"FrontpageDocumentFileUploadRequest":{"properties":{"fileName":{"type":"string","maxLength":260,"minLength":1,"title":"Filename"},"fileSize":{"type":"integer","exclusiveMinimum":0.0,"title":"Filesize"},"contentType":{"type":"string","maxLength":128,"minLength":1,"title":"Contenttype"},"displayName":{"anyOf":[{"type":"string","maxLength":260},{"type":"null"}],"title":"Displayname"}},"type":"object","required":["fileName","fileSize","contentType"],"title":"FrontpageDocumentFileUploadRequest"},"FrontpageDocumentRequestUpload":{"properties":{"fileName":{"type":"string","maxLength":260,"minLength":1,"title":"Filename"},"fileSize":{"type":"integer","exclusiveMinimum":0.0,"title":"Filesize"},"contentType":{"type":"string","maxLength":128,"minLength":1,"title":"Contenttype"},"displayName":{"anyOf":[{"type":"string","maxLength":260},{"type":"null"}],"title":"Displayname"},"folderId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folderid","description":"Codemanager TYPES row ID for the target Technical Reference folder."}},"type":"object","required":["fileName","fileSize","contentType"],"title":"FrontpageDocumentRequestUpload"},"GenericOut":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","required":["success","message"],"title":"GenericOut"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImportResult":{"properties":{"ok":{"type":"boolean","title":"Ok"},"dryRun":{"type":"boolean","title":"Dryrun"},"entity":{"type":"string","title":"Entity"},"summary":{"$ref":"#/components/schemas/ImportSummary"},"errors":{"items":{"$ref":"#/components/schemas/ImportRowError"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["ok","dryRun","entity","summary"],"title":"ImportResult"},"ImportRowError":{"properties":{"row":{"type":"integer","title":"Row"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["row","reason"],"title":"ImportRowError"},"ImportSummary":{"properties":{"created":{"type":"integer","title":"Created","default":0},"skipped":{"type":"integer","title":"Skipped","default":0},"errors":{"type":"integer","title":"Errors","default":0}},"type":"object","title":"ImportSummary"},"InterfaceCatalogItem":{"properties":{"kind":{"type":"string","title":"Kind","default":"interface"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"interfaceType":{"type":"string","title":"Interfacetype","default":""},"description":{"type":"string","title":"Description","default":""},"scope":{"type":"string","title":"Scope","description":"'repository' | 'selected'","default":"repository"},"repositoryId":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Repositoryid"},"action":{"type":"string","title":"Action","description":"'created' | 'selected' | 'existing' | 'suggested'","default":"created"},"portalUrl":{"type":"string","title":"Portalurl","default":""},"requirements":{"items":{"$ref":"#/components/schemas/InterfaceConfigField"},"type":"array","title":"Requirements"}},"type":"object","required":["name"],"title":"InterfaceCatalogItem"},"InterfaceConfigField":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"hint":{"type":"string","title":"Hint","default":""},"secret":{"type":"boolean","title":"Secret","default":false},"value":{"type":"string","title":"Value","default":""},"hasValue":{"type":"boolean","title":"Hasvalue","default":false}},"type":"object","required":["key","label"],"title":"InterfaceConfigField"},"InventoryEntry":{"properties":{"kind":{"type":"string","title":"Kind","description":"'type' | 'code' | 'datatype' | 'attribute' | 'form' | 'rule' | 'function' | 'interface' | 'workflow'"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"label":{"type":"string","title":"Label","default":""},"parent":{"type":"string","title":"Parent","description":"Owning lookup Type for a code, owning DataType for an attribute","default":""},"detail":{"type":"string","title":"Detail","default":""},"status":{"type":"string","title":"Status","default":""},"state":{"type":"string","title":"State","description":"'Saved' | 'Published' | 'Active'. Suggestions are never inventoried.","default":"Saved"}},"type":"object","required":["kind","name"],"title":"InventoryEntry"},"JourneyApproveRulesRequest":{"properties":{"identifiers":{"items":{"type":"string"},"type":"array","title":"Identifiers","description":"Rule ids or names to approve. Only these rules are approved."}},"type":"object","title":"JourneyApproveRulesRequest"},"JourneyBindFormRequest":{"properties":{"id":{"type":"integer","title":"Id","description":"Physical form row id (any version of the form)"},"datatype":{"type":"string","title":"Datatype","description":"DataType name or id. Empty lets the AI choose from this journey.","default":""},"createMissing":{"type":"boolean","title":"Createmissing","description":"Add attributes for fields that have no match","default":false},"prompt":{"type":"string","title":"Prompt","default":""},"mapping":{"anyOf":[{"items":{"$ref":"#/components/schemas/BindMappingItem"},"type":"array"},{"type":"null"}],"title":"Mapping","description":"Reviewed mapping from bind-preview. When set it is applied exactly; fields left out stay unbound."}},"type":"object","required":["id"],"title":"JourneyBindFormRequest"},"JourneyBindPreviewOut":{"properties":{"formRowId":{"type":"integer","title":"Formrowid"},"formId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Formid"},"formName":{"type":"string","title":"Formname"},"datatype":{"type":"string","title":"Datatype"},"datatypeId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Datatypeid"},"datatypeIsNew":{"type":"boolean","title":"Datatypeisnew","description":"The DataType does not exist yet and is created on save","default":false},"attributes":{"items":{"$ref":"#/components/schemas/BindAttributeOption"},"type":"array","title":"Attributes"},"rows":{"items":{"$ref":"#/components/schemas/BindPreviewRow"},"type":"array","title":"Rows"},"note":{"type":"string","title":"Note","default":""}},"type":"object","required":["formRowId","formName","datatype"],"title":"JourneyBindPreviewOut"},"JourneyChatRequest":{"properties":{"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sessionid"},"appId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Appid"}},"type":"object","title":"JourneyChatRequest"},"JourneyConfigureInterfaceRequest":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name","default":""},"values":{"additionalProperties":{"type":"string"},"type":"object","title":"Values"}},"type":"object","title":"JourneyConfigureInterfaceRequest"},"JourneyConfigureWorkflowRequest":{"properties":{"id":{"type":"integer","title":"Id"}},"type":"object","required":["id"],"title":"JourneyConfigureWorkflowRequest"},"JourneyCreateFormRequest":{"properties":{"name":{"type":"string","title":"Name"},"formType":{"type":"string","title":"Formtype","default":"WorkflowForm"}},"type":"object","required":["name"],"title":"JourneyCreateFormRequest"},"JourneyCreateInterfaceRequest":{"properties":{"name":{"type":"string","title":"Name"},"interfaceType":{"type":"string","title":"Interfacetype","default":"internal"},"description":{"type":"string","title":"Description","default":""}},"type":"object","required":["name"],"title":"JourneyCreateInterfaceRequest"},"JourneyCreateWorkflowRequest":{"properties":{"name":{"type":"string","title":"Name"},"workflowType":{"type":"string","title":"Workflowtype","default":""},"description":{"type":"string","title":"Description","default":""},"isSubprocess":{"type":"boolean","title":"Issubprocess","default":false}},"type":"object","required":["name"],"title":"JourneyCreateWorkflowRequest"},"JourneyFastTrackInfo":{"properties":{"status":{"type":"string","title":"Status","default":""},"finishedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finishedat"},"publishedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publishedat"},"stages":{"items":{"$ref":"#/components/schemas/JourneyFastTrackStage"},"type":"array","title":"Stages"},"workflows":{"items":{"$ref":"#/components/schemas/JourneyFastTrackWorkflow"},"type":"array","title":"Workflows"}},"type":"object","title":"JourneyFastTrackInfo"},"JourneyFastTrackPublishRequest":{"properties":{"ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Ids","description":"Workflow GUIDs to publish; every draft workflow of the Sub-Application when empty"}},"type":"object","title":"JourneyFastTrackPublishRequest"},"JourneyFastTrackRequest":{"properties":{"appId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appid","description":"Sub-Application GUID to build (its stored setup document is used); the journey's one when empty"},"only":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Only","description":"Run only these stages (subapp, codemanager, datamanager, roles, forms, rulemanager, interface, partners, workflow), e.g. to retry one; all of them when empty"}},"type":"object","title":"JourneyFastTrackRequest"},"JourneyFastTrackSpecStep":{"properties":{"step":{"type":"string","title":"Step","default":""},"name":{"type":"string","title":"Name","default":""},"type":{"type":"string","title":"Type","default":""},"performer":{"type":"string","title":"Performer","default":""},"forms":{"items":{"type":"string"},"type":"array","title":"Forms"},"rules":{"items":{"type":"string"},"type":"array","title":"Rules"},"interfaces":{"items":{"type":"string"},"type":"array","title":"Interfaces"},"next":{"type":"string","title":"Next","default":""},"timer":{"type":"string","title":"Timer","default":""}},"type":"object","title":"JourneyFastTrackSpecStep","description":"One row of a workflow's step table in the setup document."},"JourneyFastTrackStage":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"status":{"type":"string","title":"Status","description":"done, partial, failed, held, stopped, skipped or pending"},"expected":{"type":"integer","title":"Expected","default":0},"saved":{"type":"integer","title":"Saved","default":0},"missing":{"items":{"type":"string"},"type":"array","title":"Missing"},"note":{"type":"string","title":"Note","default":""},"finishedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finishedat"}},"type":"object","required":["key","label","status"],"title":"JourneyFastTrackStage","description":"One Fast Track step: what the setup document expected and what was saved."},"JourneyFastTrackWorkflow":{"properties":{"id":{"type":"string","title":"Id","default":""},"name":{"type":"string","title":"Name"},"steps":{"type":"integer","title":"Steps","default":0},"specSteps":{"items":{"$ref":"#/components/schemas/JourneyFastTrackSpecStep"},"type":"array","title":"Specsteps"},"performers":{"items":{"type":"string"},"type":"array","title":"Performers"},"forms":{"items":{"type":"string"},"type":"array","title":"Forms"},"rules":{"items":{"type":"string"},"type":"array","title":"Rules"},"interfaces":{"items":{"type":"string"},"type":"array","title":"Interfaces"},"issues":{"items":{"type":"string"},"type":"array","title":"Issues"},"publishError":{"type":"string","title":"Publisherror","default":""}},"type":"object","required":["name"],"title":"JourneyFastTrackWorkflow","description":"One workflow Fast Track built: what the spec's step table uses, and what could not be wired."},"JourneyIntentRequest":{"properties":{"intent":{"type":"string","title":"Intent"}},"type":"object","required":["intent"],"title":"JourneyIntentRequest"},"JourneyInventoryOut":{"properties":{"counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts"},"items":{"items":{"$ref":"#/components/schemas/InventoryEntry"},"type":"array","title":"Items"},"updatedAt":{"type":"string","title":"Updatedat","default":""}},"type":"object","title":"JourneyInventoryOut","description":"Everything saved for this Sub-Application during the journey, for reuse in later steps."},"JourneyLedgerEntry":{"properties":{"id":{"type":"string","title":"Id"},"timestamp":{"type":"string","title":"Timestamp"},"microservice":{"type":"string","title":"Microservice"},"microserviceLabel":{"type":"string","title":"Microservicelabel"},"title":{"type":"string","title":"Title"},"detail":{"type":"string","title":"Detail","default":""},"provenance":{"type":"string","title":"Provenance","description":"'ai_orchestrator' | 'user_inline' | 'bprm_redirect' | 'file_staged'","default":"ai_orchestrator"}},"type":"object","required":["id","timestamp","microservice","microserviceLabel","title"],"title":"JourneyLedgerEntry"},"JourneyNavigateRequest":{"properties":{"step":{"type":"string","title":"Step","description":"Journey sub-step: 1a, 1b, 2a, 2b, 3a, 3b, 4a, 4b, 4c, 4d, 5a, 5b, 5c, 5d, 5e, 6a, 6b, 6c, 7a, 7b, 7c, 7d, or 8"}},"type":"object","required":["step"],"title":"JourneyNavigateRequest"},"JourneyPromptRequest":{"properties":{"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"JourneyPromptRequest"},"JourneyPublishFormRequest":{"properties":{"id":{"type":"integer","title":"Id"},"formType":{"type":"string","title":"Formtype","default":""}},"type":"object","required":["id"],"title":"JourneyPublishFormRequest"},"JourneyRunOut":{"properties":{"runId":{"type":"string","title":"Runid"},"status":{"type":"string","title":"Status","description":"'running' | 'completed' | 'cancelled' | 'failed'","default":"running"},"cancelRequested":{"type":"boolean","title":"Cancelrequested","default":false},"steps":{"items":{"$ref":"#/components/schemas/JourneyRunStep"},"type":"array","title":"Steps"},"summary":{"type":"string","title":"Summary","default":""}},"type":"object","required":["runId"],"title":"JourneyRunOut"},"JourneyRunStep":{"properties":{"at":{"type":"string","title":"At","default":""},"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"JourneyRunStep"},"JourneySelectInterfacesRequest":{"properties":{"ids":{"items":{"type":"integer"},"type":"array","title":"Ids"}},"type":"object","required":["ids"],"title":"JourneySelectInterfacesRequest"},"JourneySelectSubAppRequest":{"properties":{"appId":{"type":"string","title":"Appid","description":"dbo.Application.Id (GUID)"},"provenance":{"type":"string","title":"Provenance","default":"existing_selected"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sessionid"}},"type":"object","required":["appId"],"title":"JourneySelectSubAppRequest"},"JourneySetupDocumentInfo":{"properties":{"fileName":{"type":"string","title":"Filename","default":""},"status":{"type":"string","title":"Status","default":""},"chunkCount":{"type":"integer","title":"Chunkcount","default":0},"plan":{"anyOf":[{"$ref":"#/components/schemas/SetupPlanInfo"},{"type":"null"}]}},"type":"object","title":"JourneySetupDocumentInfo"},"JourneySetupImportRequest":{"properties":{"step":{"type":"string","title":"Step","description":"Specialist step: codemanager, datamanager, forms, rulemanager, interface, or workflow"}},"type":"object","required":["step"],"title":"JourneySetupImportRequest"},"JourneySetupSkipRequest":{"properties":{"area":{"type":"string","title":"Area"},"name":{"type":"string","title":"Name"},"parent":{"type":"string","title":"Parent","default":""}},"type":"object","required":["area","name"],"title":"JourneySetupSkipRequest"},"JourneyStageItem":{"properties":{"key":{"type":"string","title":"Key","description":"Stage microservice key, e.g. 'bprm', 'codemanager', 'datamanager', 'forms', 'rulemanager', 'interface', 'workflow'"},"stageOrder":{"type":"integer","title":"Stageorder"},"label":{"type":"string","title":"Label"},"description":{"type":"string","title":"Description","default":""},"status":{"type":"string","title":"Status","description":"'completed' | 'active' | 'queued'","default":"queued"},"summary":{"type":"string","title":"Summary","description":"Short badge text, e.g. 'Sub-App #14 Ready' or '2 Files Staged'","default":""},"portalUrl":{"type":"string","title":"Portalurl","default":""}},"type":"object","required":["key","stageOrder","label"],"title":"JourneyStageItem"},"JourneyStateOut":{"properties":{"sessionId":{"type":"string","title":"Sessionid"},"journeyId":{"type":"string","title":"Journeyid"},"currentStage":{"type":"string","title":"Currentstage","default":"bprm"},"activeAgentLabel":{"type":"string","title":"Activeagentlabel","default":"AI Ecosystem Orchestrator Agent"},"subApplication":{"anyOf":[{"$ref":"#/components/schemas/JourneySubApplicationInfo"},{"type":"null"}]},"requirements":{"$ref":"#/components/schemas/WorkflowRequirementBrief"},"formDropdowns":{"anyOf":[{"$ref":"#/components/schemas/FormDropdownSelection"},{"type":"null"}]},"stagedAssets":{"items":{"$ref":"#/components/schemas/StagedUpfrontAsset"},"type":"array","title":"Stagedassets"},"ledger":{"items":{"$ref":"#/components/schemas/JourneyLedgerEntry"},"type":"array","title":"Ledger"},"roadmap":{"items":{"$ref":"#/components/schemas/JourneyStageItem"},"type":"array","title":"Roadmap"},"messages":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Messages"},"assistantReply":{"type":"string","title":"Assistantreply","default":""},"readyForNextMilestone":{"type":"boolean","title":"Readyfornextmilestone","default":false},"activeAgent":{"type":"string","title":"Activeagent","description":"'bprm' | 'codemanager' | 'datamanager' | 'forms' | 'rulemanager' | 'interface' | 'workflow'","default":"bprm"},"codeManagerGate":{"type":"string","title":"Codemanagergate","description":"'queued' | 'active' | 'completed'","default":"queued"},"cmStep":{"type":"string","title":"Cmstep","description":"'types' | 'codes'","default":"types"},"codeCatalog":{"items":{"$ref":"#/components/schemas/CodeCatalogItem"},"type":"array","title":"Codecatalog"},"dataDictionaryGate":{"type":"string","title":"Datadictionarygate","description":"'queued' | 'active' | 'completed'","default":"queued"},"ddStep":{"type":"string","title":"Ddstep","description":"'datatypes' | 'attributes'","default":"datatypes"},"dataCatalog":{"items":{"$ref":"#/components/schemas/DataCatalogItem"},"type":"array","title":"Datacatalog"},"formsGate":{"type":"string","title":"Formsgate","description":"'queued' | 'active' | 'completed'","default":"queued"},"formsStep":{"type":"string","title":"Formsstep","description":"'create' | 'design' | 'bind' | 'publish'","default":"create"},"formCatalog":{"items":{"$ref":"#/components/schemas/FormCatalogItem"},"type":"array","title":"Formcatalog"},"rulesGate":{"type":"string","title":"Rulesgate","description":"'queued' | 'active' | 'completed'","default":"queued"},"rulesStep":{"type":"string","title":"Rulesstep","description":"'author' | 'functions' | 'approve' | 'version' | 'publish'","default":"author"},"ruleCatalog":{"items":{"$ref":"#/components/schemas/RuleCatalogItem"},"type":"array","title":"Rulecatalog"},"interfaceGate":{"type":"string","title":"Interfacegate","description":"'queued' | 'active' | 'completed'","default":"queued"},"interfaceStep":{"type":"string","title":"Interfacestep","description":"'repository' | 'select' | 'configure'","default":"repository"},"interfaceCatalog":{"items":{"$ref":"#/components/schemas/InterfaceCatalogItem"},"type":"array","title":"Interfacecatalog"},"workflowGate":{"type":"string","title":"Workflowgate","description":"'queued' | 'active' | 'completed'","default":"queued"},"workflowStep":{"type":"string","title":"Workflowstep","description":"'create' | 'design' | 'configure' | 'publish'","default":"create"},"workflowCatalog":{"items":{"$ref":"#/components/schemas/WorkflowCatalogItem"},"type":"array","title":"Workflowcatalog"},"inventory":{"$ref":"#/components/schemas/JourneyInventoryOut"},"clarifyingQuestions":{"items":{"$ref":"#/components/schemas/ClarifyingQuestion"},"type":"array","title":"Clarifyingquestions","description":"1 to 2 clarifying questions from the Orchestrator Agent, each with 4 options (1 recommended + 1 Others)."},"visitedSteps":{"items":{"type":"string"},"type":"array","title":"Visitedsteps","description":"Sub-steps the user has opened. Skipped steps are absent."},"setupDocument":{"anyOf":[{"$ref":"#/components/schemas/JourneySetupDocumentInfo"},{"type":"null"}]},"fastTrack":{"anyOf":[{"$ref":"#/components/schemas/JourneyFastTrackInfo"},{"type":"null"}],"description":"The last Fast Track run: per step, expected versus saved"},"setupApproval":{"type":"string","title":"Setupapproval","description":"pending while a setup-document Sub-Application waits for the user to approve continuing","default":""}},"type":"object","required":["sessionId","journeyId"],"title":"JourneyStateOut"},"JourneySubApplicationInfo":{"properties":{"ID":{"type":"string","title":"Id"},"Name":{"type":"string","title":"Name"},"ShortName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shortname"},"Purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"ClientName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clientname"},"ClientId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clientid"},"IndustryId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industryid"},"Industry_Name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry Name"},"Category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"Category_Name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Name"},"SubCategory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategory"},"Sub_Category_Name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub Category Name"},"SubCategoryType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategorytype"},"Type_Name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Name"},"Entity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity"},"Entity_Name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Name"},"CreatedBy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdby"},"DateCreated":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datecreated"},"provenance":{"type":"string","title":"Provenance","description":"'ai_orchestrator' | 'inline_form' | 'bprm_redirect' | 'existing_selected'","default":"ai_orchestrator"}},"type":"object","required":["ID","Name"],"title":"JourneySubApplicationInfo","description":"The journey's view of a dbo.Application row. IDs are GUID strings (dbo.Application.Id,\ndbo.CodeManager.Id); Purpose is the Description; the field names stay as the portal reads them."},"Login2FAConfirmIn":{"properties":{"username":{"type":"string","minLength":1,"title":"Username"},"code":{"type":"string","minLength":1,"title":"Code"}},"type":"object","required":["username","code"],"title":"Login2FAConfirmIn"},"LoginIn":{"properties":{"username":{"type":"string","minLength":1,"title":"Username"},"password":{"type":"string","minLength":1,"title":"Password"}},"type":"object","required":["username","password"],"title":"LoginIn"},"LoginOut":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"},"token_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Type"},"two_factor_required":{"type":"boolean","title":"Two Factor Required","default":false}},"type":"object","required":["success","message"],"title":"LoginOut"},"PartnerFormsCreate":{"properties":{"Name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"PartnerCode":{"type":"string","maxLength":100,"minLength":1,"title":"Partnercode"},"ApplicationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Applicationid"},"ClientId":{"type":"string","format":"uuid","title":"Clientid"},"PartnerType":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Partnertype"},"Email":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Email"},"PhoneNumber":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phonenumber"},"Address":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Address"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"IsActive":{"type":"boolean","title":"Isactive","default":true}},"type":"object","required":["Name","PartnerCode","ClientId"],"title":"PartnerFormsCreate"},"PartnerFormsUpdate":{"properties":{"Name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"PartnerCode":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Partnercode"},"ClientId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Clientid"},"PartnerType":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Partnertype"},"Email":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Email"},"PhoneNumber":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phonenumber"},"Address":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Address"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"IsActive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isactive"}},"type":"object","title":"PartnerFormsUpdate"},"PartnerUserCreate":{"properties":{"UserName":{"type":"string","maxLength":256,"minLength":1,"title":"Username"},"Password":{"type":"string","maxLength":128,"minLength":8,"title":"Password"},"DisplayName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Displayname"},"Email":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Email"},"PhoneNumber":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phonenumber"}},"type":"object","required":["UserName","Password"],"title":"PartnerUserCreate"},"PartnerUserPassword":{"properties":{"Password":{"type":"string","maxLength":128,"minLength":8,"title":"Password"}},"type":"object","required":["Password"],"title":"PartnerUserPassword","description":"A new first password; the user must change it at their next sign-in."},"PartnerUserStatus":{"properties":{"IsActive":{"type":"boolean","title":"Isactive"}},"type":"object","required":["IsActive"],"title":"PartnerUserStatus"},"PasswordResetIn":{"properties":{"username":{"type":"string","minLength":1,"title":"Username"},"token":{"type":"string","minLength":1,"title":"Token"},"new_password":{"type":"string","minLength":6,"title":"New Password"},"confirm_new_password":{"type":"string","minLength":6,"title":"Confirm New Password"}},"type":"object","required":["username","token","new_password","confirm_new_password"],"title":"PasswordResetIn"},"PlannedWorkflowItem":{"properties":{"name":{"type":"string","title":"Name"},"workflowType":{"type":"string","title":"Workflowtype","default":"Workflow"},"description":{"type":"string","title":"Description","default":""},"phases":{"items":{"type":"string"},"type":"array","title":"Phases"}},"type":"object","required":["name"],"title":"PlannedWorkflowItem"},"PublishPermissionCatalogOut":{"properties":{"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"},"presets":{"items":{"$ref":"#/components/schemas/PublishPresetOut"},"type":"array","title":"Presets"}},"type":"object","required":["permissions","presets"],"title":"PublishPermissionCatalogOut"},"PublishPresetOut":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"}},"type":"object","required":["name","description","permissions"],"title":"PublishPresetOut"},"PublishRolePermissionsOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"publishServicePreset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publishservicepreset"},"publishServicePermissions":{"items":{"type":"string"},"type":"array","title":"Publishservicepermissions"}},"type":"object","required":["id"],"title":"PublishRolePermissionsOut"},"PublishRolePermissionsUpdate":{"properties":{"publishServicePreset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publishservicepreset"},"publishServicePermissions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Publishservicepermissions"}},"type":"object","title":"PublishRolePermissionsUpdate"},"ReportDataTypeItem":{"properties":{"dataTypeId":{"type":"integer","title":"Datatypeid"},"dataTypeName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datatypename"},"attributeIds":{"items":{"type":"integer"},"type":"array","title":"Attributeids"}},"type":"object","required":["dataTypeId"],"title":"ReportDataTypeItem"},"RoleCreate":{"properties":{"ApplicationId":{"type":"string","format":"uuid","title":"Applicationid"},"Name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"RoleKey":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Rolekey"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["ApplicationId","Name"],"title":"RoleCreate"},"RolePermissionsIn":{"properties":{"Services":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","title":"Services"}},"type":"object","title":"RolePermissionsIn","description":"The actions the role may take, per service. A listed service always gets View."},"RoleUpdate":{"properties":{"Name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"IsActive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isactive"}},"type":"object","title":"RoleUpdate"},"RuleCatalogItem":{"properties":{"kind":{"type":"string","title":"Kind","description":"'rule' | 'function' | 'version'","default":"rule"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"ruleType":{"type":"string","title":"Ruletype","default":""},"description":{"type":"string","title":"Description","default":""},"action":{"type":"string","title":"Action","description":"'created' | 'updated' | 'existing' | 'approved' | 'suggested'","default":"created"}},"type":"object","required":["name"],"title":"RuleCatalogItem"},"SecurityQuestionConfirmIn":{"properties":{"flow":{"type":"string","enum":["USERNAME","VALID_ID","PASSWORD"],"title":"Flow"},"username":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Username","description":"Required for valid_id and password flows"},"email":{"type":"string","format":"email","title":"Email"},"answer":{"type":"string","minLength":1,"title":"Answer"}},"type":"object","required":["flow","email","answer"],"title":"SecurityQuestionConfirmIn"},"SecurityQuestionStartIn":{"properties":{"flow":{"type":"string","enum":["USERNAME","VALID_ID","PASSWORD"],"title":"Flow"},"username":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Username","description":"Required for valid_id and password flows"},"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["flow","email"],"title":"SecurityQuestionStartIn"},"SetupPlanInfo":{"properties":{"counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts"},"purpose":{"type":"string","title":"Purpose","default":""},"items":{"items":{"$ref":"#/components/schemas/SetupPlanItem"},"type":"array","title":"Items"}},"type":"object","title":"SetupPlanInfo","description":"Counts and named items read from the setup document."},"SetupPlanItem":{"properties":{"area":{"type":"string","title":"Area","default":""},"name":{"type":"string","title":"Name","default":""},"parent":{"type":"string","title":"Parent","default":""},"detail":{"type":"string","title":"Detail","default":""},"source":{"type":"string","title":"Source","default":""},"skipped":{"type":"boolean","title":"Skipped","default":false}},"type":"object","title":"SetupPlanItem"},"StagedUpfrontAsset":{"properties":{"id":{"type":"string","title":"Id"},"fileName":{"type":"string","title":"Filename"},"fileSize":{"type":"integer","title":"Filesize"},"contentType":{"type":"string","title":"Contenttype"},"targetService":{"type":"string","title":"Targetservice","description":"'codemanager' | 'datamanager' | 'forms' | 'workflow'"},"targetServiceLabel":{"type":"string","title":"Targetservicelabel","default":""},"assetKind":{"type":"string","title":"Assetkind","description":"'csv' | 'json' | 'image' | 'pdf' | 'document'"},"status":{"type":"string","title":"Status","description":"'staged' | 'analyzed' | 'imported'","default":"staged"},"detectedColumns":{"items":{"type":"string"},"type":"array","title":"Detectedcolumns"},"rowCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rowcount"},"previewNotes":{"type":"string","title":"Previewnotes","default":""},"stagedAt":{"type":"string","title":"Stagedat","default":""},"previewRows":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Previewrows","description":"First rows of a staged CSV or JSON file, used by the Code Manager agent on import."}},"type":"object","required":["id","fileName","fileSize","contentType","targetService","assetKind"],"title":"StagedUpfrontAsset"},"TechnicalReferenceCreateFolder":{"properties":{"name":{"type":"string","maxLength":260,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"parentId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parentid","description":"Parent folder TYPES row ID. Omit to create under the TRD root."},"seq":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Seq","default":0}},"type":"object","required":["name"],"title":"TechnicalReferenceCreateFolder"},"TechnicalReferenceUpdateFolder":{"properties":{"name":{"type":"string","maxLength":260,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"seq":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Seq"}},"type":"object","required":["name"],"title":"TechnicalReferenceUpdateFolder"},"UrlRef":{"properties":{"obj":{"type":"string","title":"Obj","description":"Machine name, e.g. 'DataManager'."},"val":{"type":"string","title":"Val","description":"Portal URL to open."}},"type":"object","required":["obj","val"],"title":"UrlRef","description":"A microservice the user can move on to, and where to open it."},"UserApplicationAccess":{"properties":{"ApplicationIds":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Applicationids"}},"type":"object","title":"UserApplicationAccess","description":"The applications (dbo.Application.Id) the user should be able to open."},"UserCreate":{"properties":{"ClientId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Clientid"},"UserName":{"type":"string","maxLength":256,"minLength":1,"title":"Username"},"Password":{"anyOf":[{"type":"string","minLength":8},{"type":"null"}],"title":"Password"},"CreateIn":{"type":"string","enum":["System","AzureAD","Both"],"title":"Createin","default":"System"},"AzureUserPrincipalName":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Azureuserprincipalname"},"DisplayName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Displayname"},"Email":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Email"},"PhoneNumber":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phonenumber"},"Address":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Address"},"IsActive":{"type":"boolean","title":"Isactive","default":true},"EmailConfirmed":{"type":"boolean","title":"Emailconfirmed","default":false},"PhoneNumberConfirmed":{"type":"boolean","title":"Phonenumberconfirmed","default":false},"MustChangePassword":{"type":"boolean","title":"Mustchangepassword","default":false},"AiTokenLimit":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Aitokenlimit"}},"type":"object","required":["UserName"],"title":"UserCreate"},"UserManagePermission":{"properties":{"UserAccountId":{"type":"string","format":"uuid","title":"Useraccountid"},"AccountRoleId":{"type":"string","format":"uuid","title":"Accountroleid"},"ApplicationId":{"type":"string","format":"uuid","title":"Applicationid"},"ClientId":{"type":"string","format":"uuid","title":"Clientid"},"IsActive":{"type":"boolean","title":"Isactive","default":true}},"type":"object","required":["UserAccountId","AccountRoleId","ApplicationId","ClientId"],"title":"UserManagePermission"},"UserRolesIn":{"properties":{"AccountRoleIds":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Accountroleids"}},"type":"object","title":"UserRolesIn","description":"The AccountRole ids the user should hold (across applications)."},"UserUpdate":{"properties":{"DisplayName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Displayname"},"Email":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Email"},"PhoneNumber":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phonenumber"},"Address":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Address"},"IsActive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isactive"},"EmailConfirmed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Emailconfirmed"},"PhoneNumberConfirmed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Phonenumberconfirmed"},"MustChangePassword":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Mustchangepassword"},"AiTokenLimit":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Aitokenlimit"}},"type":"object","title":"UserUpdate"},"ValidIdConfirmIn":{"properties":{"username":{"type":"string","minLength":1,"title":"Username"},"email":{"type":"string","format":"email","title":"Email"},"code":{"type":"string","minLength":1,"title":"Code"}},"type":"object","required":["username","email","code"],"title":"ValidIdConfirmIn"},"ValidIdStartIn":{"properties":{"username":{"type":"string","minLength":1,"title":"Username"},"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["username","email"],"title":"ValidIdStartIn"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WFApplicationCreate":{"properties":{"Name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"ShortName":{"type":"string","maxLength":80,"minLength":1,"title":"Shortname"},"ClientId":{"type":"string","format":"uuid","title":"Clientid"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"CategoryCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Categorycodeid"},"SubCategoryCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subcategorycodeid"},"SubCategoryTypeCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subcategorytypecodeid"},"EntityCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Entitycodeid"},"IndustryCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Industrycodeid"},"IsActive":{"type":"boolean","title":"Isactive","default":true},"SourceKey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcekey"},"BprmConnectionReference":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Bprmconnectionreference"}},"type":"object","required":["Name","ShortName","ClientId"],"title":"WFApplicationCreate"},"WFApplicationOut":{"properties":{"Name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"ShortName":{"type":"string","maxLength":80,"minLength":1,"title":"Shortname"},"ClientId":{"type":"string","format":"uuid","title":"Clientid"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"CategoryCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Categorycodeid"},"SubCategoryCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subcategorycodeid"},"SubCategoryTypeCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subcategorytypecodeid"},"EntityCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Entitycodeid"},"IndustryCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Industrycodeid"},"IsActive":{"type":"boolean","title":"Isactive","default":true},"SourceKey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcekey"},"BprmConnectionReference":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Bprmconnectionreference"},"Id":{"type":"string","format":"uuid","title":"Id"},"IsDeleted":{"type":"boolean","title":"Isdeleted"},"CreatedAtUtc":{"type":"string","format":"date-time","title":"Createdatutc"},"CreatedByUserId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Createdbyuserid"},"UpdatedAtUtc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedatutc"},"UpdatedByUserId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updatedbyuserid"},"UpdatedNotes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatednotes"}},"type":"object","required":["Name","ShortName","ClientId","Id","IsDeleted","CreatedAtUtc"],"title":"WFApplicationOut"},"WFApplicationPageOut":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WFApplicationOut"},"type":"array","title":"Items"},"page_no":{"type":"integer","title":"Page No"},"page_size":{"type":"integer","title":"Page Size"},"total":{"type":"integer","title":"Total"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["items","page_no","page_size","total","total_pages"],"title":"WFApplicationPageOut"},"WFApplicationUpdate":{"properties":{"Name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"ShortName":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Shortname"},"ClientId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Clientid"},"Description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"CategoryCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Categorycodeid"},"SubCategoryCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subcategorycodeid"},"SubCategoryTypeCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subcategorytypecodeid"},"EntityCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Entitycodeid"},"IndustryCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Industrycodeid"},"IsActive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isactive"},"SourceKey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcekey"},"BprmConnectionReference":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Bprmconnectionreference"}},"type":"object","title":"WFApplicationUpdate"},"WorkflowCatalogItem":{"properties":{"kind":{"type":"string","title":"Kind","default":"workflow"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"workflowType":{"type":"string","title":"Workflowtype","default":""},"description":{"type":"string","title":"Description","default":""},"published":{"type":"boolean","title":"Published","default":false},"hasDesign":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hasdesign"},"action":{"type":"string","title":"Action","description":"'created' | 'designed' | 'published' | 'existing' | 'suggested'","default":"created"},"designerPath":{"type":"string","title":"Designerpath","default":""},"designerUrl":{"type":"string","title":"Designerurl","default":""}},"type":"object","required":["name"],"title":"WorkflowCatalogItem"},"WorkflowRequirementBrief":{"properties":{"applicationName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationname"},"applicationPurpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationpurpose"},"industryName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industryname"},"categoryName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categoryname"},"subCategoryName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategoryname"},"subCategoryTypeName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategorytypename"},"entityName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entityname"},"targetWorkflowCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Targetworkflowcount"},"plannedWorkflows":{"items":{"$ref":"#/components/schemas/PlannedWorkflowItem"},"type":"array","title":"Plannedworkflows"},"backgroundNotes":{"type":"string","title":"Backgroundnotes","default":""},"hasUpfrontData":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hasupfrontdata"},"upfrontDataSummary":{"type":"string","title":"Upfrontdatasummary","default":""}},"type":"object","title":"WorkflowRequirementBrief"},"WorkspaceModeIn":{"properties":{"mode":{"type":"string","title":"Mode","description":"Either 'with-ai' or 'without-ai'"}},"type":"object","required":["mode"],"title":"WorkspaceModeIn"},"_SelectAppIn":{"properties":{"app_id":{"type":"string","format":"uuid","title":"App Id","description":"The Application UUID to activate"}},"type":"object","required":["app_id"],"title":"_SelectAppIn"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"},"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT Bearer access token (`Authorization: Bearer <token>`)."},"cookieAuth":{"type":"apiKey","in":"cookie","name":"access_token","description":"JWT session cookie (`access_token`). Automatically set upon login."},"csrfHeader":{"type":"apiKey","in":"header","name":"X-CSRF-Token","description":"CSRF verification token (`X-CSRF-Token`). Paste the `csrf_token` cookie value here for mutating calls."},"appIdHeader":{"type":"apiKey","in":"header","name":"X-App-Id","description":"Active WorkFINITY Application ID (`dbo.Application.Id` UUID). Required for application-scoped routes."},"internalAuthHeader":{"type":"apiKey","in":"header","name":"X-Internal-Auth","description":"Internal service secret (`X-Internal-Auth`) used for trusted inter-service communication."}}},"tags":[{"name":"auth","description":"User authentication, JWT session cookies, 2FA OTP verification, password reset workflows, and current user profile."},{"name":"Applications","description":"Core WorkFINITY Solution Application lifecycle, active application selection (`select-app`), context switching, and workspace access controls."},{"name":"Users","description":"User administration, role assignments, user access grants, and account status management."},{"name":"Rules","description":"Business rules engine gateway — decision tables, AI rule compilation, validation, and execution."},{"name":"Forms","description":"Dynamic form schemas gateway — layout configurations, form definitions, and AI form generation."},{"name":"Workflows","description":"BPMN process flows gateway — workflow diagrams, human-in-the-loop task routing, and workflow designer AI."},{"name":"DataTypes","description":"Data type schemas gateway — structure definitions, data dictionaries, field attributes, and composite types."},{"name":"CodeManager","description":"Code Manager gateway — hierarchical reference data, Types, Codes, and NLPS code lookups."},{"name":"Interfaces","description":"Interface gateway — UI component trees, page canvas bindings, and navigation structures."},{"name":"Publish","description":"Publish gateway — solution packaging, environment promotion, release deployment, and deployment status."},{"name":"Partners","description":"Partner organizations management, external partner records, and form access bindings."},{"name":"Offers","description":"Exchange offers, partner collaborations, and integration package proposals."},{"name":"Reports","description":"Real-time enterprise operational reports, system metrics, and audit summaries."},{"name":"Assistant","description":"BPRM AI Assistant & Copilot — natural language workspace guidance, cross-document semantic search, and streaming AI recommendations."},{"name":"Documents","description":"Azure Blob Storage document ingestion, direct upload SAS URL generation, multi-format text extraction (PDF, DOCX, XLSX, PPTX), and vector catalog indexing."},{"name":"TechnicalDocuments","description":"Hierarchical folder structures and document attachments for solution-level technical references and system artifacts."},{"name":"Analytics","description":"Operational analytics, system usage trends, workflow execution statistics, and application activity logs."},{"name":"Token Analytics","description":"Granular OpenAI token expenditure tracking, prompt/completion token consumption metrics, and cost breakdown per application and user."},{"name":"partner-service","description":"Gateway proxy to Partner Integration Service — B2B partner connectivity, protocol adapters, and API exchange."},{"name":"publish-roles","description":"Role definitions, deployment approvals, and access permissions for solution publishing."},{"name":"admin","description":"System administrative diagnostics, application error logs, log tailing, and log clearing."},{"name":"Health","description":"Service operational status, database connectivity diagnostics, and container readiness probes."}]}