{"openapi":"3.0.1","info":{"title":"Welcome to the VAAS API Reference!","description":"# Overview\n\nHere, you'll find documentation on all our VAAS REST API endpoints.\n\n# Authentication\n\n## Direct API calls\n\nFor direct API calls, VAAS uses API keys for authentication on all API calls.\n\nClients must include an Authorization header with the value `Basic {base64_encoded_credentials}` for every API request. The **{base64_encoded_credentials}** should be a base64-encoded string in the format **apiTokenId:apiTokenSecret**.\n\nTo obtain API keys, please contact support.\n\n## API calls from third-party integration\n\nLearn more about [here](/docs/category/third-party-integrations).\n\n# HTTP Status Code\n\n- **200** - `OK` - Request processed as expected.\n- **400** - `INVALID_REQUEST` - Request is not well-formed, violates schema or incorrect fields.\n- **401** - `NOT_AUTHORIZED` - The API key doesn't match or doesn't have permissions to perform the request.\n- **403** - `FORBIDDEN` - The API key's permissions doesn't match the needed permission to complete the request.\n- **404** - `RESOURCE_NOT_FOUND` - The requested resource doesn't exist.\n- **429** - `RATE_LIMIT_REACHED` - Too many requests. Blocked due to rate limiting.\n- **5XX** - Something went wrong on VAAS' end\n\n<SecurityDefinitions />\n","contact":{"name":"API Support","url":"https://developers.vaas.live","email":"support@vaas.live"},"version":"v1"},"servers":[{"url":"https://api.vaas.live"}],"tags":[{"name":"decision-case-v1.0.0","description":"Operations about decision desk cases.","x-displayName":"Decision Desk - Case v1.0.0"},{"name":"decision-case-v2.0.0","description":"Operations about decision desk cases.","x-displayName":"Decision Desk - Case v2.0.0"},{"name":"decision-v3.0.0","description":"Operations about decision desk cases.","x-displayName":"Decision Desk - Case v3.0.0"},{"name":"decision-v3.1.0","description":"Operations about decision desk cases.","x-displayName":"Decision Desk - Case v3.1.0"},{"name":"workflow-v1.0.0","description":"Operations about workflows.","x-displayName":"Workflow v1.0.0"},{"name":"workflow-execution-v1.0.0","description":"Operations about workflow executions.","x-displayName":"Workflow Execution"},{"name":"workflow-v1.1.0","description":"Operations about workflows.","x-displayName":"Workflow v1.1.0"},{"name":"workflow-execution-v1.1.0","description":"Operations about workflow executions.","x-displayName":"Workflow Execution"},{"name":"workflow-execution-v1.1.1","description":"Operations about workflow executions.","x-displayName":"Workflow Execution"},{"name":"workflow-v1.2.0","description":"Operations about workflows.","x-displayName":"Workflow v1.2.0"},{"name":"form-submission-v1.0.0","description":"Operations for form submission over API.","x-displayName":"FormSubmission 1.0.0"},{"name":"risk-central-v1.0.0","description":"Public read access to Risk Central targets.","x-displayName":"Risk Central - Targets v1.0.0"}],"paths":{"/decision-desk/case/{decisionCaseId}/result":{"get":{"tags":["decision-case-v1.0.0"],"summary":"Find a case result by ID (v1.0.0)","description":"Returns the result of a decision case by its ID. **Deprecated** — use v3.0.0 or later for richer case result data.","operationId":"getResult","parameters":[{"name":"decisionCaseId","in":"path","required":true,"style":"simple","explode":false,"schema":{}}],"responses":{"200":{"description":"Decision case result found and returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV1_0_0"}}}},"401":{"description":"Unauthorized — missing or invalid authentication token.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV1_0_0"}}}},"403":{"description":"Forbidden — caller does not have the `read_decision_case` permission or access to this case.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV1_0_0"}}}},"404":{"description":"Not Found — no decision case exists with the given ID.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV1_0_0"}}}}},"deprecated":true}},"/decision-desk/case/v2/{decisionCaseId}/result":{"get":{"tags":["decision-case-v2.0.0"],"summary":"Find a case result by ID (v2.0.0)","description":"Returns the result of a decision case by its ID. **Deprecated** — use v3.0.0 or later for richer case result data.","operationId":"getResult","parameters":[{"name":"decisionCaseId","in":"path","required":true,"style":"simple","explode":false,"schema":{}}],"responses":{"200":{"description":"Decision case result found and returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV2_0_0"}}}},"401":{"description":"Unauthorized — missing or invalid authentication token.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV2_0_0"}}}},"403":{"description":"Forbidden — caller does not have the `read_decision_case` permission or access to this case.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV2_0_0"}}}},"404":{"description":"Not Found — no decision case exists with the given ID.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV2_0_0"}}}}},"deprecated":true}},"/decision/v3.0.0/{decisionCaseId}/result":{"get":{"tags":["decision-v3.0.0"],"summary":"Find a case result by ID (v3.0.0)","description":"Returns the full result of a decision case by its ID, including approval level decisions, analyst information, and timing metrics.","operationId":"getResult","parameters":[{"name":"decisionCaseId","in":"path","required":true,"style":"simple","explode":false,"schema":{}}],"responses":{"200":{"description":"Decision case result found and returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV3_0_0"}}}},"401":{"description":"Unauthorized — missing or invalid authentication token.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV3_0_0"}}}},"403":{"description":"Forbidden — caller does not have the `read_decision_case` permission or access to this case.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV3_0_0"}}}},"404":{"description":"Not Found — no decision case exists with the given ID.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV3_0_0"}}}}}}},"/decision/v3.0.0/search":{"get":{"tags":["decision-v3.0.0"],"summary":"Search for decision cases","description":"Searches and retrieves a paginated list of decision case instances based on various optional filters.\nFilters include:\n- **targetKeyValue**: Searches for a specific value within the decision case's target of analysis.\n- **targetMainLabelValue**: Searches for a specific main label within the decision case's target of analysis.\n- **status**: Filters by the current status of the decision case (e.g., WAITING_ANALYST, WAITING_ANALYSIS, ANALYZING, FINISHED).\n- **startDate** and **endDate**: Filters by the creation date of the decision case within a specific date range.\n- **workflowId**: Filters by the id of the workflow.\n- **workflowVersionId**: Filters by the id of the version of the workflow.\n\nThe response is a paginated list of decision cases, allowing for navigation through large result sets.\n","operationId":"search","parameters":[{"name":"targetKeyValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"targetMainLabelValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"description":"Current status of a decision case at a given approval level.","enum":["WAITING_ANALYST","WAITING_ANALYSIS","ANALYZING","ON_HOLD","WAITING_VOTES","WAITING_TIE_BREAK","FINISHED"]}},{"name":"startDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"endDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"updatedOnStartDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"updatedOnEndDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"workflowId","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"workflowVersionId","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"style":"form","explode":true,"schema":{"minimum":0,"default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"style":"form","explode":true,"schema":{"minimum":1,"default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"responses":{"200":{"description":"Successfully retrieved a paginated list of decision cases","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DecisionCaseResultResponseV3_0_0"}}}}},"400":{"description":"Invalid search parameters","content":{"application/json":{}}}}}},"/decision/v3.1.0/{decisionCaseId}/result":{"get":{"tags":["decision-v3.1.0"],"summary":"Find a case result by ID (v3.1.0)","description":"Returns the full result of a decision case by its ID. v3.1.0 extends v3.0.0 with support for committee levels and additional timing metrics such as `timePaused`, `timeToStartAnalysis`, `timeToFinishAnalysis`, and `timeToComplete` at each level.","operationId":"getResult","parameters":[{"name":"decisionCaseId","in":"path","required":true,"style":"simple","explode":false,"schema":{}}],"responses":{"200":{"description":"Decision case result found and returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV3_1_0"}}}},"401":{"description":"Unauthorized — missing or invalid authentication token.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV3_1_0"}}}},"403":{"description":"Forbidden — caller does not have the `read_decision_case` permission or access to this case.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV3_1_0"}}}},"404":{"description":"Not Found — no decision case exists with the given ID.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DecisionCaseResultResponseV3_1_0"}}}}}}},"/decision/v3.1.0/search":{"get":{"tags":["decision-v3.1.0"],"summary":"Search for decision cases","description":"Searches and retrieves a paginated list of decision case instances based on various optional filters.\nFilters include:\n- **targetKeyValue**: Searches for a specific value within the decision case's target of analysis.\n- **targetMainLabelValue**: Searches for a specific main label within the decision case's target of analysis.\n- **status**: Filters by the current status of the decision case (e.g., WAITING_ANALYST, WAITING_ANALYSIS, ANALYZING, FINISHED).\n- **startDate** and **endDate**: Filters by the creation date of the decision case within a specific date range.\n- **workflowId**: Filters by the id of the workflow.\n- **workflowVersionId**: Filters by the id of the version of the workflow.\n\nThe response is a paginated list of decision cases, allowing for navigation through large result sets.\n","operationId":"search","parameters":[{"name":"targetKeyValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"targetMainLabelValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"description":"Current status of a decision case at a given approval level.","enum":["WAITING_ANALYST","WAITING_ANALYSIS","ANALYZING","ON_HOLD","WAITING_VOTES","WAITING_TIE_BREAK","FINISHED"]}},{"name":"startDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"endDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"updatedOnStartDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"updatedOnEndDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"workflowId","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"workflowVersionId","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"style":"form","explode":true,"schema":{"minimum":0,"default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"style":"form","explode":true,"schema":{"minimum":1,"default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"responses":{"200":{"description":"Successfully retrieved a paginated list of decision cases","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DecisionCaseResultResponseV3_1_0"}}}}},"400":{"description":"Invalid search parameters","content":{"application/json":{}}}}}},"/workflows/v1/{workflowId}/versions/{workflowVersionId}/execute-test":{"post":{"tags":["workflow-v1.0.0"],"summary":"Executes a test workflow.","description":" Runs a test workflow execution on a draft version.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"eamil\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\n","operationId":"executeVersionTest","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"workflowVersionId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"200":{"description":"An workflow execution result object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowV1_0_0Response"}}}}},"deprecated":true}},"/workflows/v1/{workflowId}/versions/{workflowVersionId}/execute-test-async":{"post":{"tags":["workflow-v1.0.0"],"summary":"Executes a test workflow asynchronously.","description":" Runs a test workflow execution on a draft version.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"eamil\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\n","operationId":"executeVersionTestAsync","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"workflowVersionId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"202":{"description":"An workflow execution id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowResponse"}}}}},"deprecated":true}},"/workflows/v1/{workflowId}/execute":{"post":{"tags":["workflow-v1.0.0"],"summary":"Executes a workflow.","description":" Runs a workflow on your currently deployed version.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"eamil\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\n","operationId":"execute","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"200":{"description":"An workflow execution result object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowV1_0_0Response"}}}}},"deprecated":true}},"/workflows/v1/{workflowId}/execute-async":{"post":{"tags":["workflow-v1.0.0"],"summary":"Executes a workflow asynchronously.","description":" Runs a workflow on your currently deployed version.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"eamil\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\n","operationId":"executeAsync","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"202":{"description":"An workflow execution id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowResponse"}}}}},"deprecated":true}},"/workflows/v1/execution-response/{workflowExecutionId}":{"get":{"tags":["workflow-v1.0.0"],"summary":"Retrieve a specific workflow execution","description":"Retrieves detailed information about a specific workflow execution instance\nidentified by its unique execution ID. Returns the execution status,\nresults, and associated metadata.\n","operationId":"getWorkflowExecution","parameters":[{"name":"workflowExecutionId","in":"path","description":"Unique identifier (UUID) of the workflow execution to retrieve","required":true,"style":"simple","explode":false,"schema":{},"example":"550e8400-e29b-41d4-a716-446655440000"}],"responses":{"200":{"description":"Successfully retrieved workflow execution details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowV1_0_0Response"}}}},"400":{"description":"Invalid workflow execution ID format","content":{"application/json":{}}},"404":{"description":"Workflow execution not found","content":{"application/json":{}}}},"deprecated":true}},"/workflows/v1.1.0/{workflowId}/versions/{workflowVersionId}/execute-test":{"post":{"tags":["workflow-v1.1.0"],"summary":"Executes a test workflow.","description":" Runs a test workflow execution on a draft version.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"email\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\n","operationId":"executeVersionTest","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"workflowVersionId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"200":{"description":"An workflow execution result object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowV1_1_0Response"}}}}},"deprecated":true}},"/workflows/v1.1.0/{workflowId}/versions/{workflowVersionId}/execute-test-async":{"post":{"tags":["workflow-v1.1.0"],"summary":"Executes a test workflow asynchronously.","description":" Runs a test workflow execution on a draft version.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"email\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\n","operationId":"executeVersionTestAsync","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"workflowVersionId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"202":{"description":"An workflow execution id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowResponse"}}}}},"deprecated":true}},"/workflows/v1.1.0/{workflowId}/execute":{"post":{"tags":["workflow-v1.1.0"],"summary":"Executes a workflow.","description":" Runs a workflow on your currently deployed version.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"email\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\n","operationId":"execute","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"200":{"description":"An workflow execution result object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowV1_1_0Response"}}}}},"deprecated":true}},"/workflows/v1.1.0/{workflowId}/execute-async":{"post":{"tags":["workflow-v1.1.0"],"summary":"Executes a workflow asynchronously.","description":" Runs a workflow on your currently deployed version.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"email\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\n","operationId":"executeAsync","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"202":{"description":"An workflow execution id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowResponse"}}}}},"deprecated":true}},"/workflows/v1.1.0/file/upload":{"post":{"tags":["workflow-v1.1.0"],"summary":"Uploads files.","description":"Uploads one or more files to be used in workflows and returns their unique identifiers.","operationId":"upload","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/file_upload_body"}}},"required":true},"responses":{"201":{"description":"Files uploaded successfully, IDs are returned in the same order as the uploaded files.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileIdsResponse"}}}},"400":{"description":"Bad request, e.g., no files provided.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/FileIdsResponse"}}}},"500":{"description":"Internal server error if file upload fails.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/FileIdsResponse"}}}}}}},"/workflows/v1.1.0/execution-response/{workflowExecutionId}":{"get":{"tags":["workflow-v1.1.0"],"summary":"Retrieve a specific workflow execution","description":"Retrieves detailed information about a specific workflow execution instance\nidentified by its unique execution ID. Returns the execution status,\nresults, and associated metadata.\n","operationId":"getWorkflowExecution","parameters":[{"name":"workflowExecutionId","in":"path","description":"Unique identifier (UUID) of the workflow execution to retrieve","required":true,"style":"simple","explode":false,"schema":{},"example":"550e8400-e29b-41d4-a716-446655440000"}],"responses":{"200":{"description":"Successfully retrieved workflow execution details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowV1_1_0Response"}}}},"400":{"description":"Invalid workflow execution ID format","content":{"application/json":{}}},"404":{"description":"Workflow execution not found","content":{"application/json":{}}}},"deprecated":true}},"/workflows/v1.1.0/execution-response/search":{"get":{"tags":["workflow-v1.1.0"],"summary":"Search for workflow executions","description":"Searches and retrieves a paginated list of workflow execution instances based on various optional filters.\nFilters include:\n- **targetKeyValue**: Searches for a specific value within the workflow's target of analysis.\n- **targetMainLabelValue**: Searches for a specific main label within the workflow's target of analysis.\n- **status**: Filters by the current status of the workflow execution (e.g., CREATED, PROCESSING, COMPLETE, ERROR).\n- **startDate** and **endDate**: Filters by the creation date of the workflow execution within a specific date range.\n    - **decisionCaseResultCompletedOnStartDate** and **decisionCaseResultCompletedOnEndDate**: Filters by the completion date of the decision case result within a specific date range.\n- **automaticResultValue**: Filters by the type of the automated decision result (e.g., POSITIVE, NEGATIVE, DECISION_DESK).\n- **finalResultValue**: Filters by the type of the final decision result.\n    - **workflowId**: Filters by the workflow ID.\n    - **workflowVersionId**: Filters by the workflow version ID.\n    - **envs**: Filters by workflow execution environments.\n    - **tagIds**: Filters by tag IDs.\n    - **tagSlugs**: Filters by tag slugs.\n\n    Pagination is controlled via standard query parameters: **page**, **size**, and **sort**.\nThe response is a paginated list of workflow executions, allowing for navigation through large result sets.\n","operationId":"search","parameters":[{"name":"targetKeyValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"targetMainLabelValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"enum":["CREATED","PROCESSING","COMPLETE","WAITING","ERROR"]}},{"name":"startDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"endDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"decisionCaseResultCompletedOnStartDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"decisionCaseResultCompletedOnEndDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"automaticResultValue","in":"query","required":false,"style":"form","explode":true,"schema":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]}},{"name":"finalResultValue","in":"query","required":false,"style":"form","explode":true,"schema":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]}},{"name":"workflowId","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"workflowVersionId","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"envs","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{"enum":["TEST","PROD"]}}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}},{"name":"tagSlugs","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"style":"form","explode":true,"schema":{"minimum":0,"default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"style":"form","explode":true,"schema":{"minimum":1,"default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"responses":{"200":{"description":"Successfully retrieved a paginated list of workflow executions","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExecuteWorkflowV1_1_0Response"}}}}},"400":{"description":"Invalid search parameters","content":{"application/json":{}}}},"deprecated":true}},"/workflows/v1.1.1/execution-response/{workflowExecutionId}":{"get":{"tags":["workflow-v1.1.1"],"summary":"Retrieve a specific workflow execution","description":"Retrieves detailed information about a specific workflow execution instance\nidentified by its unique execution ID. Returns the execution status,\nresults, and associated metadata.\n","operationId":"getWorkflowExecution","parameters":[{"name":"workflowExecutionId","in":"path","description":"Unique identifier (UUID) of the workflow execution to retrieve","required":true,"style":"simple","explode":false,"schema":{},"example":"550e8400-e29b-41d4-a716-446655440000"}],"responses":{"200":{"description":"Successfully retrieved workflow execution details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowV1_1_1Response"}}}},"400":{"description":"Invalid workflow execution ID format","content":{"application/json":{}}},"404":{"description":"Workflow execution not found","content":{"application/json":{}}}}}},"/workflows/v1.1.1/execution-response/search":{"get":{"tags":["workflow-v1.1.1"],"summary":"Search for workflow executions","description":"Searches and retrieves a paginated list of workflow execution instances based on various optional filters.\nFilters include:\n- **targetKeyValue**: Searches for a specific value within the workflow's target of analysis.\n- **targetMainLabelValue**: Searches for a specific main label within the workflow's target of analysis.\n- **status**: Filters by the current status of the workflow execution (e.g., CREATED, PROCESSING, COMPLETE, ERROR).\n- **startDate** and **endDate**: Filters by the creation date of the workflow execution within a specific date range.\n- **decisionCaseResultCompletedOnStartDate** and **decisionCaseResultCompletedOnEndDate**: Filters by the completion date of the decision case result within a specific date range.\n- **automaticResultValue**: Filters by the type of the automated decision result (e.g., POSITIVE, NEGATIVE, DECISION_DESK).\n- **finalResultValue**: Filters by the type of the final decision result.\n- **workflowId**: Filters by the workflow ID.\n- **workflowVersionId**: Filters by the workflow version ID.\n- **envs**: Filters by workflow execution environments.\n- **tagIds**: Filters by tag IDs.\n- **tagSlugs**: Filters by tag slugs.\n\nPagination is controlled via standard query parameters: **page**, **size**, and **sort**.\nThe response is a paginated list of workflow executions, allowing for navigation through large result sets.\n","operationId":"search","parameters":[{"name":"targetKeyValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"targetMainLabelValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"enum":["CREATED","PROCESSING","COMPLETE","WAITING","ERROR"]}},{"name":"startDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"endDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"decisionCaseResultCompletedOnStartDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"decisionCaseResultCompletedOnEndDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"automaticResultValue","in":"query","required":false,"style":"form","explode":true,"schema":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]}},{"name":"finalResultValue","in":"query","required":false,"style":"form","explode":true,"schema":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]}},{"name":"workflowId","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"workflowVersionId","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"envs","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{"enum":["TEST","PROD"]}}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}},{"name":"tagSlugs","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"style":"form","explode":true,"schema":{"minimum":0,"default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"style":"form","explode":true,"schema":{"minimum":1,"default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"responses":{"200":{"description":"Successfully retrieved a paginated list of workflow executions","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExecuteWorkflowV1_1_1Response"}}}}},"400":{"description":"Invalid search parameters","content":{"application/json":{}}}}}},"/workflows/v1.2.0/{workflowId}/versions/{workflowVersionId}/execute-test":{"post":{"tags":["workflow-v1.2.0"],"summary":"Executes a test workflow.","description":" Runs a test workflow execution on a draft version.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"email\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\nUse the `X-Async-Timeout` header (integer, 1-60 seconds) to specify how long the server waits for execution completion. Defaults to 60 seconds if not provided.\n\n**Response Behavior:**\n- If execution completes within timeout: Returns **200 OK** with full execution result\n- If execution exceeds timeout: Returns **202 Accepted** with execution ID only (execution continues in background)\n","operationId":"executeVersionTest","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"workflowVersionId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}},{"name":"X-Async-Timeout","in":"header","description":"Maximum wait time in seconds (1-60). Defaults to 60 if not provided.","required":false,"style":"simple","explode":false,"schema":{"format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"200":{"description":"Workflow execution completed within timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowV120Response"}}}},"202":{"description":"Workflow execution started but exceeded timeout (continues in background)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowResponse"}}}}}}},"/workflows/v1.2.0/{workflowId}/versions/{workflowVersionId}/execute-test-async":{"post":{"tags":["workflow-v1.2.0"],"summary":"Executes a test workflow asynchronously.","description":" Runs a test workflow execution on a draft version in fire-and-forget mode.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"email\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\nThis endpoint returns immediately with the execution ID. The workflow execution continues in the background.\n","operationId":"executeVersionTestAsync","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"workflowVersionId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"202":{"description":"Workflow execution started successfully (fire-and-forget mode)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowResponse"}}}}}}},"/workflows/v1.2.0/{workflowId}/execute":{"post":{"tags":["workflow-v1.2.0"],"summary":"Executes a workflow.","description":" Runs a workflow on your currently deployed version.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"email\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\nUse the `X-Async-Timeout` header (integer, 1-60 seconds) to specify how long the server waits for execution completion. Defaults to 60 seconds if not provided.\n\n**Response Behavior:**\n- If execution completes within timeout: Returns **200 OK** with full execution result (all fields populated)\n- If execution exceeds timeout: Returns **202 Accepted** with partial result (only workflowExecutionId populated, execution continues in background)\n","operationId":"execute","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}},{"name":"X-Async-Timeout","in":"header","description":"Maximum wait time in seconds (1-60). Defaults to 60 if not provided.","required":false,"style":"simple","explode":false,"schema":{"format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"200":{"description":"Workflow execution completed within timeout (all fields populated)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowV120Response"}}}},"202":{"description":"Workflow execution started but exceeded timeout (only workflowExecutionId populated, execution continues in background)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowV120Response"}}}}}}},"/workflows/v1.2.0/{workflowId}/execute-async":{"post":{"tags":["workflow-v1.2.0"],"summary":"Executes a workflow asynchronously.","description":" Runs a workflow on your currently deployed version in fire-and-forget mode.\n\nThe execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.\n\n**Example - Onboarding PF**\n```json\n{\n    \"cpf\": \"87813245881\",\n    \"name\": \"John Due\",\n    \"phone\": \"8178829287\",\n    \"email\": \"john.due@example.com\"\n}\n```\n\n**Example - Onboarding PJ**\n```json\n{\n    \"cnpj\": \"12ABC34501DE35\"\n}\n```\n\n**Example - Crypto wallet screening**\n```json\n{\n    \"address\": \"1FfmbHfnpaZjKFvyi1okTjJJusN455paPH\"\n}\n```\n\nThis endpoint returns immediately with the execution ID. The workflow execution continues in the background.\n","operationId":"executeAsync","parameters":[{"name":"workflowId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"tagIds","in":"query","required":false,"style":"form","explode":true,"schema":{"items":{}}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"202":{"description":"Workflow execution started successfully (fire-and-forget mode)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowResponse"}}}}}}},"/form-submission/v1.0.0/create":{"post":{"tags":["form-submission-v1.0.0"],"summary":"Creates a new form submission.","description":" Creates a new form submission. It is required to provide the formId for this submission, and it is possible to provide pre-sharing data...\n\n**Example**\n```json\n{\n    \"formId\": \"b98cffcd-4e30-4264-85c4-ac4f912e6a8a\",\n    \"expiration\": \"2\",\n    \"preSharingFormSubmissionDTO\": {\n        \"structure\": {\n            \"jsonSchema\": \"{\\n  \\\"type\\\": \\\"object\\\",\\n  \\\"properties\\\": {\\n    \\\"cpf\\\": {\\n      \\\"type\\\": \\\"string\\\",\\n      \\\"minLength\\\": 1,\\n      \\\"title\\\": \\\"CPF\\\"\\n    },\\n    \\\"name\\\": {\\n      \\\"type\\\": \\\"string\\\",\\n      \\\"title\\\": \\\"Nome\\\"\\n    }\\n  },\\n  \\\"required\\\": [\\\"cpf\\\", \\\"name\\\"]\\n}\",\n            \"uiSchema\": \"{\\r\\n  \\\"cpf\\\": {\\r\\n    \\\"ui:options\\\": {\\r\\n      \\\"mask\\\": \\\"999.999.999-99\\\"\\r\\n    }\\r\\n  }\\r\\n}\"\n        },\n        \"filledData\": \"{\\\"cpf\\\":\\\"99999999999\\\",\\\"name\\\":\\\"USUÁRIO DE TESTE\\\"}\"\n    }\n}\n```\n\n","operationId":"createFormSubmissionLink","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFormSubmissionRequest"}}},"required":true},"responses":{"201":{"description":"Successfully created a form submission and returned its link.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFormSubmissionResponse"}}}},"400":{"description":"Invalid input data for pre-sharing","content":{"application/json":{}}},"412":{"description":"Form does not exists","content":{"application/json":{}}}}}},"/risk-central/v1/{riskBaseId}/target/{targetId}":{"get":{"tags":["risk-central-v1.0.0"],"summary":"Get a Risk Central target by id","description":"Retrieves a single Risk Central target's full detail, scoped to the caller's organization.\n\nReturns the target's identity and flags plus the complete history of its variables, monitoring\ndates, decisions, classifications and scores — the fuller counterpart to the search response,\nwhich carries only the current values. An id that does not exist within the caller's organization\nreturns `404`.\n","operationId":"getTarget","parameters":[{"name":"riskBaseId","in":"path","required":true,"style":"simple","explode":false,"schema":{}},{"name":"targetId","in":"path","required":true,"style":"simple","explode":false,"schema":{}}],"responses":{"200":{"description":"Successfully retrieved the Risk Central target","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskBaseTargetHistoryResponseV1_0_0"}}}},"401":{"description":"Unauthorized — missing or invalid credentials.","content":{"application/json":{}}},"403":{"description":"Forbidden — caller lacks the read:risk_base permission.","content":{"application/json":{}}},"404":{"description":"Not Found — no target with the given id in the caller's organization.","content":{"application/json":{}}}}}},"/risk-central/v1/target/search":{"get":{"tags":["risk-central-v1.0.0"],"summary":"Search Risk Central targets","description":"Searches and retrieves a page of Risk Central targets assessed by Compliance, scoped to the\ncaller's organization. All filters are optional and AND-combined; the `latest*` filters match\nthe current (most recent) decision, classification, or score.\n\nFilters:\n- **riskBaseId**: restrict to a single risk base.\n- **active**: whether the target is currently active.\n- **targetKeyVariableValue** / **targetMainLabelVariableValue**: the target's key / main-label value.\n- **latestDecisionValue**: current decision value.\n- **latestDecisionUpdatedOnStartDate** / **latestDecisionUpdatedOnEndDate**: inclusive date range on the current decision's last update.\n- **latestClassification**: current classification.\n- **latestClassificationUpdatedOnStartDate** / **latestClassificationUpdatedOnEndDate**: inclusive date range on the current classification's last update.\n- **latestScore**: current score.\n- **latestScoreUpdatedOnStartDate** / **latestScoreUpdatedOnEndDate**: inclusive date range on the current score's last update.\n\nPagination (cursor-based):\n- **size**: page size, capped at 100 (default 20).\n- **sort**: `field,direction` — allowed fields: `monitoredAt`, `createdOn`; direction `asc`/`desc` (default `monitoredAt,desc`). An unsupported field or direction is rejected with 400. Records without a value for the chosen sort field are omitted from that ordering (e.g. never-monitored targets when sorting by `monitoredAt`).\n- **cursor**: the opaque `nextCursor` from the previous response. Omit it for the first page. The\n  cursor pins the ordering it was issued under, so `sort` is ignored once a `cursor` is supplied.\nThe response carries `content` and a `nextCursor` (null on the last page). No total\ncount is returned. To page, follow `nextCursor` until it comes back null.\n\nForward compatibility: new fields may be added to the response without changing the endpoint\nversion — clients must tolerate (ignore) unknown fields.\n","operationId":"searchTargets","parameters":[{"name":"riskBaseId","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"active","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"targetKeyVariableValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"targetMainLabelVariableValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"latestDecisionValue","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"latestDecisionUpdatedOnStartDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"latestDecisionUpdatedOnEndDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"latestClassification","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"latestClassificationUpdatedOnStartDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"latestClassificationUpdatedOnEndDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"latestScore","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"int32"}},{"name":"latestScoreUpdatedOnStartDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"latestScoreUpdatedOnEndDate","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"date-time"}},{"name":"sort","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"cursor","in":"query","required":false,"style":"form","explode":true,"schema":{}},{"name":"size","in":"query","required":false,"style":"form","explode":true,"schema":{"format":"int32"}}],"responses":{"200":{"description":"A page of Risk Central targets plus the cursor for the next page.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CursorPagedResponseRiskBaseTargetHistorySearchResponseV1_0_0"}}}},"400":{"description":"Invalid request — malformed cursor, unsupported sort field, or malformed riskBaseId.","content":{"application/json":{}}},"401":{"description":"Unauthorized — missing or invalid credentials.","content":{"application/json":{}}},"403":{"description":"Forbidden — caller lacks the read:risk_base permission.","content":{"application/json":{}}}}}}},"components":{"schemas":{"DecisionCaseResultResponseV1_0_0":{"properties":{"id":{"description":"Unique identifier of the decision case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"workflowExecutionId":{"description":"ID of the workflow execution that originated this case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"decisionDeskId":{"description":"ID of the decision desk that processed this case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"status":{"description":"Current status of the decision case.","enum":["WAITING_ANALYST","WAITING_ANALYSIS","ANALYZING","ON_HOLD","WAITING_VOTES","WAITING_TIE_BREAK","FINISHED"]},"finalDecision":{"description":"The final decision reached for this case.","enum":["APPROVE","DENY","NO_DECISION"]},"comments":{"description":"List of comments associated with this case.","items":{"$ref":"#/components/schemas/SimpleCommentDTO"}},"completedOn":{"description":"Timestamp when the case reached a final decision.","format":"date-time","example":"2024-06-01T15:00:00Z"}},"description":"Result of a decision case (v1.0.0). Provides the final decision and any associated comments."},"SimpleCommentDTO":{"properties":{"value":{"description":"Text content of the comment.","example":"Applicant meets all criteria."},"creatorName":{"description":"Full name of the user who created the comment.","example":"Ana Silva"},"createdOn":{"description":"Timestamp when the comment was created.","format":"date-time","example":"2024-06-01T13:00:00Z"}},"description":"A single comment associated with a decision case."},"ApprovalLevelDTOV2_0_0":{"properties":{"approvalLevelId":{"description":"Unique identifier of the approval level configuration.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"approvalLevelName":{"description":"Display name of the approval level.","example":"Credit Analysis"},"analystName":{"description":"Full name of the analyst who processed the case at this level.","example":"Ana Silva"},"analystEmail":{"description":"Email address of the analyst who processed the case at this level.","example":"ana.silva@company.com"},"decision":{"$ref":"#/components/schemas/DecisionDTOV2_0_0"}},"description":"An approval level record within a v2.0.0 case result."},"DecisionCaseResultResponseV2_0_0":{"properties":{"id":{"description":"Unique identifier of the decision case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"workflowExecutionId":{"description":"ID of the workflow execution that originated this case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"decisionDeskId":{"description":"ID of the decision desk that processed this case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"status":{"description":"Current status of the decision case.","enum":["WAITING_ANALYST","WAITING_ANALYSIS","ANALYZING","ON_HOLD","WAITING_VOTES","WAITING_TIE_BREAK","FINISHED"]},"approvalLevels":{"description":"List of approval levels the case passed through, each with the analyst's decision.","items":{"$ref":"#/components/schemas/ApprovalLevelDTOV2_0_0"}},"finalDecision":{"description":"The final decision reached for this case.","enum":["APPROVE","DENY","NO_DECISION"]},"completedOn":{"description":"Timestamp when the case reached a final decision.","format":"date-time","example":"2024-06-01T15:00:00Z"}},"description":"Result of a decision case (v2.0.0). Extends v1.0.0 by including per-level approval decisions and analyst details."},"DecisionDTOV2_0_0":{"properties":{"reason":{"description":"Analyst's written justification.","example":"Applicant meets all criteria."},"value":{"description":"Decision value (e.g., APPROVED, DENIED, NO_DECISION).","example":"APPROVED"},"label":{"description":"Human-readable label for the decision.","example":"Aprovado"},"classification":{"description":"Classification applied to the decision.","example":"Baixo Risco"}},"description":"The analyst's decision at an approval level (v2.0.0)."},"ApprovalLevelDTOV3_0_0":{"properties":{"approvalLevelId":{"description":"Unique identifier of the approval level.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"approvalLevelName":{"description":"Display name of the approval level.","example":"Credit Analysis"},"distributionMode":{"description":"Distribution mode configured for this level.","enum":["MANUAL","AUTOMATIC","POOL","PICK"]},"analystName":{"description":"Full name of the analyst who processed the case at this level.","example":"Ana Silva"},"analystEmail":{"description":"Email of the analyst who processed the case at this level.","example":"ana.silva@company.com"},"decision":{"$ref":"#/components/schemas/DecisionDTOV3_0_0"},"createdOn":{"description":"Timestamp when the case entered this approval level.","format":"date-time","example":"2024-06-01T12:00:00Z"},"assignedOn":{"description":"Timestamp when an analyst was assigned to this level.","format":"date-time","example":"2024-06-01T12:10:00Z"},"analysisStartedOn":{"description":"Timestamp when the analyst started the analysis.","format":"date-time","example":"2024-06-01T12:15:00Z"},"analysisFinishedOn":{"description":"Timestamp when the analyst finished the analysis.","format":"date-time","example":"2024-06-01T14:00:00Z"},"completedOn":{"description":"Timestamp when the level was completed (case advanced).","format":"date-time","example":"2024-06-01T14:00:00Z"}},"description":"The analysis outcome at a specific approval level."},"DecisionCaseResultResponseV3_0_0":{"properties":{"id":{"description":"Unique identifier of the decision case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"code":{"description":"Sequential code of the decision case for human-readable reference.","format":"int64","example":1001},"workflowExecutionId":{"description":"ID of the workflow execution that originated this case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"workflow":{"$ref":"#/components/schemas/WorkflowV3_0_0"},"targetOfAnalysis":{"$ref":"#/components/schemas/TargetOfAnalysisV3_0_0"},"decisionDeskId":{"description":"ID of the decision desk that processed this case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"status":{"description":"Current status of the decision case.","enum":["WAITING_ANALYST","WAITING_ANALYSIS","ANALYZING","ON_HOLD","WAITING_VOTES","WAITING_TIE_BREAK","FINISHED"]},"approvalLevels":{"description":"List of approval levels the case has passed through, including decisions made at each level.","items":{"$ref":"#/components/schemas/ApprovalLevelDTOV3_0_0"}},"finalDecision":{"description":"The final decision reached for this case.","enum":["APPROVE","DENY","NO_DECISION"]},"finalDecisionLabel":{"description":"Human-readable label for the final decision.","example":"Aprovado"},"finalDecisionClassification":{"description":"Classification applied to the final decision.","example":"Baixo Risco"},"createdOn":{"description":"Timestamp when the case was created.","format":"date-time","example":"2024-06-01T12:00:00Z"},"updatedOn":{"description":"Timestamp of the last update to the case.","format":"date-time","example":"2024-06-01T14:00:00Z"},"completedOn":{"description":"Timestamp when the case reached a final decision.","format":"date-time","example":"2024-06-01T15:00:00Z"}},"description":"Result of a decision case (v3.0.0). Contains the final decision, approval level outcomes, and the target of analysis."},"DecisionDTOV3_0_0":{"properties":{"reason":{"description":"Analyst's written justification for the decision.","example":"Applicant meets all criteria."},"value":{"description":"Decision value (e.g., APPROVED, DENIED, NO_DECISION).","example":"APPROVED"},"label":{"description":"Human-readable label for the decision.","example":"Aprovado"},"classification":{"description":"Classification applied to this decision.","example":"Baixo Risco"}},"description":"The analyst's decision at this approval level."},"FieldRefV3_0_0":{"properties":{"variableId":{"description":"Unique identifier of the variable.","example":"var-cpf-001"},"variableName":{"description":"Display name of the variable.","example":"CPF"},"variableDescription":{"description":"Description of the variable.","example":"Brazilian individual taxpayer identifier"},"variableGroupPath":{"description":"Path of groups the variable belongs to, from outermost to innermost.","example":["Personal Data","Documents"],"items":{}},"variableSchema":{"description":"JSON schema type or format of the variable value.","example":"string"},"value":{"description":"Resolved value of the variable for this case.","example":"123.456.789-00"}},"description":"A variable field reference with its resolved value."},"TargetOfAnalysisV3_0_0":{"properties":{"key":{"$ref":"#/components/schemas/FieldRefV3_0_0"},"mainLabel":{"$ref":"#/components/schemas/FieldRefV3_0_0"},"additionalLabels":{"description":"Additional descriptive labels for the target.","items":{"$ref":"#/components/schemas/FieldRefV3_0_0"}}},"description":"The entity being analyzed, described by its key field, main label, and any additional labels."},"WorkflowV3_0_0":{"properties":{"id":{"description":"Unique identifier of the workflow.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"version":{"$ref":"#/components/schemas/WorkflowVersionV3_0_0"}},"description":"Workflow reference."},"WorkflowVersionV3_0_0":{"properties":{"id":{"description":"Unique identifier of the workflow version.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"number":{"description":"Human-readable version number.","example":1.3}},"description":"Workflow version reference."},"ApprovalLevelDTOV3_1_0":{"description":"An approval level case record, where a single analyst makes the decision.","allOf":[{"$ref":"#/components/schemas/CaseLevelDTOV3_1_0"},{"properties":{"distributionMode":{"description":"Distribution mode configured for this level.","enum":["MANUAL","AUTOMATIC","POOL","PICK"]},"analystName":{"description":"Full name of the analyst who processed the case.","example":"Ana Silva"},"analystEmail":{"description":"Email of the analyst who processed the case.","example":"ana.silva@company.com"},"decision":{"$ref":"#/components/schemas/DecisionDTOV3_1_0"}}}]},"CaseLevelDTOV3_1_0":{"required":["type"],"properties":{"levelId":{"description":"Unique identifier of the desk-level configuration.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"levelName":{"description":"Display name of the level.","example":"Credit Analysis"},"levelType":{"description":"Type of the level (APPROVAL or COMMITTEE).","enum":["APPROVAL","COMMITTEE"]},"createdOn":{"description":"Timestamp when the case entered this level.","format":"date-time","example":"2024-06-01T12:00:00Z"},"assignedOn":{"description":"Timestamp when an analyst or member was assigned.","format":"date-time","example":"2024-06-01T12:10:00Z"},"timeToStartAnalysis":{"description":"Time from case entry to analysis start, as an ISO 8601 duration string.","example":"PT10M"},"analysisStartedOn":{"description":"Timestamp when the analysis was started.","format":"date-time","example":"2024-06-01T12:15:00Z"},"pausedOn":{"description":"Timestamp when the analysis was most recently paused.","format":"date-time","example":"2024-06-01T13:00:00Z"},"timePaused":{"description":"Total paused time at this level, as an ISO 8601 duration string.","example":"PT15M"},"analysisFinishedOn":{"description":"Timestamp when the analyst finished the analysis.","format":"date-time","example":"2024-06-01T14:00:00Z"},"timeToFinishAnalysis":{"description":"Time from analysis start to finish (excluding paused time), as an ISO 8601 duration string.","example":"PT45M"},"completedOn":{"description":"Timestamp when the level was completed.","format":"date-time","example":"2024-06-01T14:00:00Z"},"timeToComplete":{"description":"Total time from level entry to completion, as an ISO 8601 duration string.","example":"PT2H"},"type":{}},"description":"Base class for a case level (approval or committee). The `type` field discriminates between `caseApprovalLevel` and `caseCommitteeLevel`.","discriminator":{"propertyName":"type"}},"CommitteeDecisionDTOV3_1_0":{"properties":{"value":{"description":"The committee's final decision value.","enum":["APPROVE","DENY"]},"label":{"description":"Human-readable label for the committee decision.","example":"Aprovado por Comitê"},"tieBreak":{"description":"Whether this decision was determined by a tie-break rule.","example":false}},"description":"The collective decision of the committee."},"CommitteeLevelDTOV3_1_0":{"description":"A committee level case record, where multiple members vote to reach a collective decision.","allOf":[{"$ref":"#/components/schemas/CaseLevelDTOV3_1_0"},{"properties":{"committeeDecision":{"$ref":"#/components/schemas/CommitteeDecisionDTOV3_1_0"},"votes":{"description":"List of individual votes cast by committee members.","items":{"$ref":"#/components/schemas/CommitteeVoteDTOV3_1_0"}}}}]},"CommitteeVoteDTOV3_1_0":{"properties":{"memberName":{"description":"Full name of the committee member who voted.","example":"João Santos"},"memberEmail":{"description":"Email of the committee member who voted.","example":"joao.santos@company.com"},"decision":{"$ref":"#/components/schemas/DecisionDTOV3_1_0"},"votedOn":{"description":"Timestamp when the vote was cast.","format":"date-time","example":"2024-06-01T13:30:00Z"},"timeToVote":{"description":"Time from level entry to vote submission, as an ISO 8601 duration string.","example":"PT1H30M"}},"description":"An individual member's vote in a committee level."},"DecisionCaseResultResponseV3_1_0":{"properties":{"id":{"description":"Unique identifier of the decision case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"code":{"description":"Sequential code of the decision case for human-readable reference.","format":"int64","example":1001},"workflowExecutionId":{"description":"ID of the workflow execution that originated this case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"workflow":{"$ref":"#/components/schemas/WorkflowV3_1_0"},"targetOfAnalysis":{"$ref":"#/components/schemas/TargetOfAnalysisV3_1_0"},"decisionDeskId":{"description":"ID of the decision desk that processed this case.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"status":{"description":"Current status of the decision case.","enum":["WAITING_ANALYST","WAITING_ANALYSIS","ANALYZING","ON_HOLD","WAITING_VOTES","WAITING_TIE_BREAK","FINISHED"]},"approvalLevels":{"description":"List of levels (approval or committee) the case has passed through, as a polymorphic list discriminated by the `type` field.","items":{"oneOf":[{"$ref":"#/components/schemas/ApprovalLevelDTOV3_1_0"},{"$ref":"#/components/schemas/CommitteeLevelDTOV3_1_0"}]}},"finalDecision":{"description":"The final decision reached for this case.","enum":["APPROVE","DENY","NO_DECISION"]},"finalDecisionLabel":{"description":"Human-readable label for the final decision.","example":"Aprovado"},"finalDecisionClassification":{"description":"Classification applied to the final decision.","example":"Baixo Risco"},"createdOn":{"description":"Timestamp when the case was created.","format":"date-time","example":"2024-06-01T12:00:00Z"},"updatedOn":{"description":"Timestamp of the last update to the case.","format":"date-time","example":"2024-06-01T14:00:00Z"},"timePaused":{"description":"Total time the analysis was paused across all levels, as an ISO 8601 duration string.","example":"PT30M"},"completedOn":{"description":"Timestamp when the case reached a final decision.","format":"date-time","example":"2024-06-01T15:00:00Z"},"timeToComplete":{"description":"Total time from case creation to completion, as an ISO 8601 duration string.","example":"PT3H"}},"description":"Result of a decision case (v3.1.0). Extends v3.0.0 with support for committee levels and detailed per-level timing metrics."},"DecisionDTOV3_1_0":{"properties":{"reason":{"description":"Analyst's written justification.","example":"Applicant meets all criteria."},"value":{"description":"Decision value (e.g., APPROVED, DENIED, NO_DECISION).","example":"APPROVED"},"label":{"description":"Human-readable label for the decision.","example":"Aprovado"},"classification":{"description":"Classification applied to the decision.","example":"Baixo Risco"},"tieBreak":{"description":"Whether this decision was determined by a tie-break rule.","example":false}},"description":"The analyst's decision at an approval level."},"FieldRefV3_1_0":{"properties":{"variableId":{"description":"Unique identifier of the variable.","example":"var-cpf-001"},"variableName":{"description":"Display name of the variable.","example":"CPF"},"variableDescription":{"description":"Description of the variable.","example":"Brazilian individual taxpayer identifier"},"variableGroupPath":{"description":"Path of groups the variable belongs to, from outermost to innermost.","example":["Personal Data","Documents"],"items":{}},"variableSchema":{"description":"JSON schema type or format of the variable value.","example":"string"},"value":{"description":"Resolved value of the variable for this case.","example":"123.456.789-00"}},"description":"A variable field reference with its resolved value."},"TargetOfAnalysisV3_1_0":{"properties":{"key":{"$ref":"#/components/schemas/FieldRefV3_1_0"},"mainLabel":{"$ref":"#/components/schemas/FieldRefV3_1_0"},"additionalLabels":{"description":"Additional descriptive labels for the target.","items":{"$ref":"#/components/schemas/FieldRefV3_1_0"}}},"description":"The entity being analyzed, described by its key field, main label, and any additional labels."},"WorkflowV3_1_0":{"properties":{"id":{"description":"Unique identifier of the workflow.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"version":{"$ref":"#/components/schemas/WorkflowVersionV3_1_0"}},"description":"Workflow reference."},"WorkflowVersionV3_1_0":{"properties":{"id":{"description":"Unique identifier of the workflow version.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"number":{"description":"Human-readable version number.","example":1.3}},"description":"Workflow version reference."},"DecisionDTO":{"properties":{"type":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]}},"discriminator":{"propertyName":"type"}},"DecisionResultDTOV1_0_0":{"properties":{"value":{"oneOf":[{"$ref":"#/components/schemas/NegativeDecisionDTO"},{"$ref":"#/components/schemas/PositiveDecisionDTO"},{"$ref":"#/components/schemas/SendToDecisionDeskDTO"},{"$ref":"#/components/schemas/SendToNextStepDecisionDTO"}]},"label":{},"classification":{},"activatedRules":{"items":{"$ref":"#/components/schemas/RuleDTOV1_0_0"}}}},"ErrorDTOV1_0_0":{"properties":{"message":{}}},"ExecuteWorkflowV1_0_0Response":{"properties":{"output":{"$ref":"#/components/schemas/OutputDTOV1_0_0"},"error":{"$ref":"#/components/schemas/ErrorDTOV1_0_0"}}},"NegativeDecisionDTO":{"allOf":[{"$ref":"#/components/schemas/DecisionDTO"}]},"OutputDTOV1_0_0":{"properties":{"workflowExecutionId":{},"targetOfAnalysis":{"$ref":"#/components/schemas/OutputTargetOfAnalysisDTOV1_0_0"},"inputVariables":{"items":{"$ref":"#/components/schemas/VariableDTOV1_0_0"}},"dataSourceVariables":{"items":{"$ref":"#/components/schemas/VariableDTOV1_0_0"}},"result":{"$ref":"#/components/schemas/ResultDTOV1_0_0"},"status":{"enum":["CREATED","PROCESSING","COMPLETE","WAITING","ERROR"]},"env":{"enum":["TEST","PROD"]}}},"OutputTargetOfAnalysisDTOV1_0_0":{"properties":{"key":{"$ref":"#/components/schemas/VariableDTOV1_0_0"},"mainLabel":{"$ref":"#/components/schemas/VariableDTOV1_0_0"},"additionalLabels":{"items":{"$ref":"#/components/schemas/VariableDTOV1_0_0"}}}},"PositiveDecisionDTO":{"allOf":[{"$ref":"#/components/schemas/DecisionDTO"}]},"ResultDTOV1_0_0":{"properties":{"score":{"$ref":"#/components/schemas/ScoreResultDTOV1_0_0"},"decision":{"$ref":"#/components/schemas/DecisionResultDTOV1_0_0"}}},"RuleDTOV1_0_0":{"properties":{"id":{},"name":{},"alias":{},"description":{},"versionId":{},"versionNumber":{},"configParams":{"additionalProperties":{}},"inputVariables":{"items":{"$ref":"#/components/schemas/VariableDTOV1_0_0"}},"stepId":{},"stepName":{}}},"ScoreResultDTOV1_0_0":{"properties":{"value":{"format":"int32"},"label":{},"activatedRules":{"items":{"$ref":"#/components/schemas/RuleDTOV1_0_0"}}}},"SendToDecisionDeskDTO":{"required":["decisionDeskQueueId"],"allOf":[{"$ref":"#/components/schemas/DecisionDTO"},{"properties":{"decisionDeskQueueId":{}}}]},"SendToNextStepDecisionDTO":{"required":["nextStepId"],"allOf":[{"$ref":"#/components/schemas/DecisionDTO"},{"properties":{"nextStepId":{}}}]},"VariableDTOV1_0_0":{"properties":{"id":{},"name":{},"description":{},"groupId":{},"stepId":{},"loopIterationNumber":{"format":"int32"},"schema":{},"uiSchema":{},"value":{}}},"ExecuteWorkflowResponse":{"properties":{"workflowExecutionId":{}}},"ApprovalLevelDTOV1_1_0":{"properties":{"approvalLevelId":{},"approvalLevelName":{},"analystName":{},"analystEmail":{},"decision":{"$ref":"#/components/schemas/DecisionDTOV1_1_0"},"createdOn":{"format":"date-time"},"assignedOn":{"format":"date-time"},"analysisStartedOn":{"format":"date-time"},"analysisFinishedOn":{"format":"date-time"},"completedOn":{"format":"date-time"}}},"BusinessMessageDTOV1_1_0":{"properties":{"level":{"enum":["ERROR","WARN","INFO"]},"message":{}}},"DecisionCaseDTOV1_1_0":{"properties":{"approvalLevels":{"items":{"$ref":"#/components/schemas/ApprovalLevelDTOV1_1_0"}},"completedOn":{"format":"date-time"}}},"DecisionDTOV1_1_0":{"properties":{"reason":{},"value":{},"label":{},"classification":{}}},"DecisionRuleDTOV1_1_0":{"properties":{"ruleId":{},"ruleName":{},"ruleDescription":{},"stepId":{},"stepName":{},"ruleDecision":{"$ref":"#/components/schemas/RuleDecisionDTOV1_1_0"}}},"ExecuteWorkflowV1_1_0Response":{"properties":{"workflowExecutionId":{},"workflow":{"$ref":"#/components/schemas/WorkflowRefV1_1_0"},"targetOfAnalysis":{"$ref":"#/components/schemas/TargetOfAnalysisDTOV1_1_0"},"automaticResult":{"$ref":"#/components/schemas/ResultDTOV1_1_0"},"finalResult":{"$ref":"#/components/schemas/ResultDTOV1_1_0"},"status":{"enum":["CREATED","PROCESSING","COMPLETE","WAITING","ERROR"]},"environment":{"enum":["TEST","PROD"]},"entrypointVariables":{"items":{"$ref":"#/components/schemas/VariableDTOV1_1_0"}},"variables":{"items":{"$ref":"#/components/schemas/VariableDTOV1_1_0"}},"scoreRules":{"items":{"$ref":"#/components/schemas/ScoreRuleDTOV1_1_0"}},"decisionRules":{"items":{"$ref":"#/components/schemas/DecisionRuleDTOV1_1_0"}},"loop":{"items":{"$ref":"#/components/schemas/LoopResultDTOV1_1_0"}},"decisionCase":{"$ref":"#/components/schemas/DecisionCaseDTOV1_1_0"},"tags":{"items":{"$ref":"#/components/schemas/TagRefDTOV1_1_0"}},"messages":{"items":{"$ref":"#/components/schemas/BusinessMessageDTOV1_1_0"}},"creator":{"$ref":"#/components/schemas/UserRefDTO"},"startedOn":{"format":"date-time"}}},"LoopIterationResultDTOV1_1_0":{"properties":{"variables":{"items":{"$ref":"#/components/schemas/VariableDTOV1_1_0"}},"scoreRules":{"items":{"$ref":"#/components/schemas/ScoreRuleDTOV1_1_0"}},"iterationScore":{"format":"int32"}}},"LoopResultDTOV1_1_0":{"properties":{"iterationVariable":{"$ref":"#/components/schemas/VariableDTOV1_1_0"},"iterations":{"items":{"$ref":"#/components/schemas/LoopIterationResultDTOV1_1_0"}},"scoreStrategy":{"enum":["MIN","MAX","AVERAGE","SUM","NONE"]},"loopScore":{"format":"int32"}}},"ResultDTOV1_1_0":{"properties":{"score":{"format":"int32"},"value":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]},"label":{},"classification":{},"assessment":{},"completeOn":{"format":"date-time"}}},"RuleDecisionDTOV1_1_0":{"properties":{"value":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]},"label":{},"classification":{}}},"ScoreRuleDTOV1_1_0":{"properties":{"ruleId":{},"ruleName":{},"ruleDescription":{},"stepId":{},"stepName":{},"ruleScore":{"format":"int32"}}},"TagRefDTOV1_1_0":{"properties":{"id":{},"slug":{}}},"TargetOfAnalysisDTOV1_1_0":{"properties":{"key":{"$ref":"#/components/schemas/VariableDTOV1_1_0"},"mainLabel":{"$ref":"#/components/schemas/VariableDTOV1_1_0"},"additionalLabels":{"items":{"$ref":"#/components/schemas/VariableDTOV1_1_0"}}}},"UserRefDTO":{"required":["id"],"properties":{"id":{},"name":{},"email":{},"orgId":{}}},"VariableDTOV1_1_0":{"properties":{"variableId":{},"variableName":{},"variableDescription":{},"variableGroupPath":{"items":{}},"variableSchema":{},"value":{}}},"WorkflowRefV1_1_0":{"properties":{"id":{},"version":{"$ref":"#/components/schemas/WorkflowVersionRefV1_1_0"}}},"WorkflowVersionRefV1_1_0":{"properties":{"id":{},"number":{}}},"FileIdsResponse":{"properties":{"ids":{"items":{}}}},"file_upload_body":{"required":["files"],"properties":{"files":{"items":{"format":"binary"}}}},"BusinessMessageDTOV1_1_1":{"properties":{"level":{"enum":["ERROR","WARN","INFO"]},"message":{}}},"CaseApprovalLevelDTOV1_1_1":{"allOf":[{"$ref":"#/components/schemas/CaseLevelDTOV1_1_1"},{"properties":{"analyst":{"$ref":"#/components/schemas/UserDecisionDTOV1_1_1"},"decision":{"$ref":"#/components/schemas/DecisionDTOV1_1_1"}}}]},"CaseCommitteeLevelDTOV1_1_1":{"allOf":[{"$ref":"#/components/schemas/CaseLevelDTOV1_1_1"},{"properties":{"committeeDecision":{"$ref":"#/components/schemas/CommitteeDecisionDTOV1_1_1"},"votes":{"items":{"$ref":"#/components/schemas/CommitteeVoteDTOV1_1_1"}}}}]},"CaseLevelDTOV1_1_1":{"required":["type"],"properties":{"levelName":{},"levelType":{"enum":["APPROVAL","COMMITTEE"]},"createdOn":{"format":"date-time"},"assignedOn":{"format":"date-time"},"analysisStartedOn":{"format":"date-time"},"analysisFinishedOn":{"format":"date-time"},"completedOn":{"format":"date-time"},"type":{}},"discriminator":{"propertyName":"type"}},"CommitteeDecisionDTOV1_1_1":{"properties":{"value":{"enum":["APPROVE","DENY"]},"label":{}}},"CommitteeDecisionVoteDTOV1_1_1":{"properties":{"value":{"enum":["APPROVE","DENY"]},"label":{},"reason":{}}},"CommitteeVoteDTOV1_1_1":{"properties":{"member":{"$ref":"#/components/schemas/UserDecisionDTOV1_1_1"},"decision":{"$ref":"#/components/schemas/CommitteeDecisionVoteDTOV1_1_1"}}},"DecisionCaseDTOV1_1_1":{"properties":{"caseLevels":{"items":{"oneOf":[{"$ref":"#/components/schemas/CaseApprovalLevelDTOV1_1_1"},{"$ref":"#/components/schemas/CaseCommitteeLevelDTOV1_1_1"}]}},"completedOn":{"format":"date-time"}}},"DecisionDTOV1_1_1":{"properties":{"reason":{},"value":{},"label":{},"classification":{}}},"DecisionRuleDTOV1_1_1":{"properties":{"ruleId":{},"ruleName":{},"ruleDescription":{},"stepId":{},"stepName":{},"ruleDecision":{"$ref":"#/components/schemas/RuleDecisionDTOV1_1_1"}}},"ExecuteWorkflowV1_1_1Response":{"properties":{"workflowExecutionId":{},"workflow":{"$ref":"#/components/schemas/WorkflowRefV1_1_1"},"targetOfAnalysis":{"$ref":"#/components/schemas/TargetOfAnalysisDTOV1_1_1"},"automaticResult":{"$ref":"#/components/schemas/ResultDTOV1_1_1"},"finalResult":{"$ref":"#/components/schemas/ResultDTOV1_1_1"},"status":{"enum":["CREATED","PROCESSING","COMPLETE","WAITING","ERROR"]},"environment":{"enum":["TEST","PROD"]},"entrypointVariables":{"items":{"$ref":"#/components/schemas/VariableDTOV1_1_1"}},"variables":{"items":{"$ref":"#/components/schemas/VariableDTOV1_1_1"}},"scoreRules":{"items":{"$ref":"#/components/schemas/ScoreRuleDTOV1_1_1"}},"decisionRules":{"items":{"$ref":"#/components/schemas/DecisionRuleDTOV1_1_1"}},"loop":{"items":{"$ref":"#/components/schemas/LoopResultDTOV1_1_1"}},"decisionCase":{"$ref":"#/components/schemas/DecisionCaseDTOV1_1_1"},"tags":{"items":{"$ref":"#/components/schemas/TagRefDTOV1_1_1"}},"messages":{"items":{"$ref":"#/components/schemas/BusinessMessageDTOV1_1_1"}},"creator":{"$ref":"#/components/schemas/UserRefDTO"},"startedOn":{"format":"date-time"}}},"LoopIterationResultDTOV1_1_1":{"properties":{"variables":{"items":{"$ref":"#/components/schemas/VariableDTOV1_1_1"}},"scoreRules":{"items":{"$ref":"#/components/schemas/ScoreRuleDTOV1_1_1"}},"iterationScore":{"format":"int32"}}},"LoopResultDTOV1_1_1":{"properties":{"iterationVariable":{"$ref":"#/components/schemas/VariableDTOV1_1_1"},"iterations":{"items":{"$ref":"#/components/schemas/LoopIterationResultDTOV1_1_1"}},"scoreStrategy":{"enum":["MIN","MAX","AVERAGE","SUM","NONE"]},"loopScore":{"format":"int32"}}},"ResultDTOV1_1_1":{"properties":{"score":{"format":"int32"},"value":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]},"label":{},"classification":{},"assessment":{},"completeOn":{"format":"date-time"}}},"RuleDecisionDTOV1_1_1":{"properties":{"value":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]},"label":{},"classification":{}}},"ScoreRuleDTOV1_1_1":{"properties":{"ruleId":{},"ruleName":{},"ruleDescription":{},"stepId":{},"stepName":{},"ruleScore":{"format":"int32"}}},"TagRefDTOV1_1_1":{"properties":{"id":{},"slug":{}}},"TargetOfAnalysisDTOV1_1_1":{"properties":{"key":{"$ref":"#/components/schemas/VariableDTOV1_1_1"},"mainLabel":{"$ref":"#/components/schemas/VariableDTOV1_1_1"},"additionalLabels":{"items":{"$ref":"#/components/schemas/VariableDTOV1_1_1"}}}},"UserDecisionDTOV1_1_1":{"properties":{"name":{},"email":{}}},"VariableDTOV1_1_1":{"properties":{"variableId":{},"variableName":{},"variableDescription":{},"variableGroupPath":{"items":{}},"variableSchema":{},"value":{}}},"WorkflowRefV1_1_1":{"properties":{"id":{},"version":{"$ref":"#/components/schemas/WorkflowVersionRefV1_1_1"}}},"WorkflowVersionRefV1_1_1":{"properties":{"id":{},"number":{}}},"BusinessMessageDTOV120":{"properties":{"level":{"enum":["ERROR","WARN","INFO"]},"message":{}}},"CaseApprovalLevelDTOV120":{"allOf":[{"$ref":"#/components/schemas/CaseLevelDTOV120"},{"properties":{"analyst":{"$ref":"#/components/schemas/UserDecisionDTOV120"},"decision":{"$ref":"#/components/schemas/DecisionDTOV120"}}}]},"CaseCommitteeLevelDTOV120":{"allOf":[{"$ref":"#/components/schemas/CaseLevelDTOV120"},{"properties":{"committeeDecision":{"$ref":"#/components/schemas/CommitteeDecisionDTOV120"},"votes":{"items":{"$ref":"#/components/schemas/CommitteeVoteDTOV120"}}}}]},"CaseLevelDTOV120":{"required":["type"],"properties":{"levelName":{},"levelType":{"enum":["APPROVAL","COMMITTEE"]},"createdOn":{"format":"date-time"},"assignedOn":{"format":"date-time"},"analysisStartedOn":{"format":"date-time"},"analysisFinishedOn":{"format":"date-time"},"completedOn":{"format":"date-time"},"type":{}},"discriminator":{"propertyName":"type"}},"CommitteeDecisionDTOV120":{"properties":{"value":{"enum":["APPROVE","DENY"]},"label":{}}},"CommitteeDecisionVoteDTOV120":{"properties":{"value":{"enum":["APPROVE","DENY"]},"label":{},"reason":{}}},"CommitteeVoteDTOV120":{"properties":{"member":{"$ref":"#/components/schemas/UserDecisionDTOV120"},"decision":{"$ref":"#/components/schemas/CommitteeDecisionVoteDTOV120"}}},"DecisionCaseDTOV120":{"properties":{"caseLevels":{"items":{"oneOf":[{"$ref":"#/components/schemas/CaseApprovalLevelDTOV120"},{"$ref":"#/components/schemas/CaseCommitteeLevelDTOV120"}]}},"completedOn":{"format":"date-time"}}},"DecisionDTOV120":{"properties":{"reason":{},"value":{},"label":{},"classification":{}}},"DecisionRuleDTOV120":{"properties":{"ruleId":{},"ruleName":{},"ruleDescription":{},"stepId":{},"stepName":{},"ruleDecision":{"$ref":"#/components/schemas/RuleDecisionDTOV120"}}},"ExecuteWorkflowV120Response":{"properties":{"workflowExecutionId":{"description":"Unique identifier of the workflow execution."},"workflow":{"$ref":"#/components/schemas/WorkflowRefV120"},"targetOfAnalysis":{"$ref":"#/components/schemas/TargetOfAnalysisDTOV120"},"automaticResult":{"$ref":"#/components/schemas/ResultDTOV120"},"finalResult":{"$ref":"#/components/schemas/ResultDTOV120"},"status":{"description":"Current status of the workflow execution (e.g. COMPLETE, PROCESSING, ERROR).","enum":["CREATED","PROCESSING","COMPLETE","WAITING","ERROR"]},"environment":{"description":"Environment in which the workflow was executed (e.g. TEST, PROD).","enum":["TEST","PROD"]},"entrypointVariables":{"description":"Input variables provided through the entrypoint of the workflow.","items":{"$ref":"#/components/schemas/VariableDTOV120"}},"variables":{"description":"Output variables collected from the main target data sources. Does not include loop iteration variables — those are available inside each iteration entry under the loop field.","items":{"$ref":"#/components/schemas/VariableDTOV120"}},"scoreRules":{"description":"Score rules that were activated during the execution, each containing the rule metadata and its computed score.","items":{"$ref":"#/components/schemas/ScoreRuleDTOV120"}},"decisionRules":{"description":"Decision rules that were activated during the execution, each containing the rule metadata and its computed decision.","items":{"$ref":"#/components/schemas/DecisionRuleDTOV120"}},"loop":{"description":"Loop execution results. Each entry corresponds to a loop step in the workflow and contains the variable used to iterate, the list of iterations with their own variables and score rules, the score aggregation strategy and the aggregated loop score. To access the data source variables produced inside a loop, look at the variables field within each iteration rather than the root-level variables field.","items":{"$ref":"#/components/schemas/LoopResultDTOV120"}},"decisionCase":{"$ref":"#/components/schemas/DecisionCaseDTOV120"},"tags":{"description":"Tags associated with this workflow execution.","items":{"$ref":"#/components/schemas/TagRefDTOV120"}},"messages":{"description":"Business messages generated during the execution, such as warnings or informational notices.","items":{"$ref":"#/components/schemas/BusinessMessageDTOV120"}},"creator":{"$ref":"#/components/schemas/UserRefDTO"},"startedOn":{"description":"Timestamp (ISO 8601) indicating when the workflow execution started.","format":"date-time"}}},"LoopIterationResultDTOV120":{"properties":{"variables":{"description":"Output variables collected from the data sources executed within this loop iteration. These are separate from the root-level variables, which only contain main target variables.","items":{"$ref":"#/components/schemas/VariableDTOV120"}},"scoreRules":{"description":"Score rules activated during this specific iteration.","items":{"$ref":"#/components/schemas/ScoreRuleDTOV120"}},"iterationScore":{"description":"Score computed for this individual iteration.","format":"int32"}}},"LoopResultDTOV120":{"properties":{"iterationVariable":{"$ref":"#/components/schemas/VariableDTOV120"},"iterations":{"description":"List of individual loop iterations. Each iteration contains its own output variables, activated score rules and computed score.","items":{"$ref":"#/components/schemas/LoopIterationResultDTOV120"}},"scoreStrategy":{"description":"Strategy used to aggregate individual iteration scores into the overall loop score (e.g. SUM, MAX, AVG).","enum":["MIN","MAX","AVERAGE","SUM","NONE"]},"loopScore":{"description":"Aggregated score for the entire loop, computed from the individual iteration scores according to the score strategy.","format":"int32"}}},"ResultDTOV120":{"properties":{"score":{"format":"int32"},"value":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]},"label":{},"classification":{},"assessment":{},"completeOn":{"format":"date-time"}}},"RuleDecisionDTOV120":{"properties":{"value":{"enum":["POSITIVE","NEGATIVE","DECISION_DESK","NEXT_STEP"]},"label":{},"classification":{}}},"ScoreRuleDTOV120":{"properties":{"ruleId":{},"ruleName":{},"ruleDescription":{},"stepId":{},"stepName":{},"ruleScore":{"format":"int32"}}},"TagRefDTOV120":{"properties":{"id":{},"slug":{}}},"TargetOfAnalysisDTOV120":{"properties":{"key":{"$ref":"#/components/schemas/VariableDTOV120"},"mainLabel":{"$ref":"#/components/schemas/VariableDTOV120"},"additionalLabels":{"items":{"$ref":"#/components/schemas/VariableDTOV120"}}}},"UserDecisionDTOV120":{"properties":{"name":{},"email":{}}},"VariableDTOV120":{"properties":{"variableId":{},"variableName":{},"variableDescription":{},"variableGroupPath":{"items":{}},"variableSchema":{},"value":{}}},"WorkflowRefV120":{"properties":{"id":{},"version":{"$ref":"#/components/schemas/WorkflowVersionRefV120"}}},"WorkflowVersionRefV120":{"properties":{"id":{},"number":{}}},"CreateFormSubmissionResponse":{"properties":{"id":{},"link":{}}},"CreateFormSubmissionRequest":{"required":["formId"],"properties":{"formId":{"minLength":1},"expiration":{"format":"int64"},"preSharingFormSubmissionDTO":{"$ref":"#/components/schemas/PreSharingFormSubmissionDTO"}}},"FormStructureConfDTO":{"required":["jsonSchema"],"properties":{"jsonSchema":{"minLength":1},"uiSchema":{}}},"PreSharingFormSubmissionDTO":{"required":["filledData"],"properties":{"structure":{"$ref":"#/components/schemas/FormStructureConfDTO"},"filledData":{"minLength":1}}},"FlagSummaryV1_0_0":{"properties":{"value":{}}},"RiskBaseRefV1_0_0":{"properties":{"id":{},"name":{},"description":{}}},"RiskBaseTargetHistoryResponseV1_0_0":{"properties":{"id":{},"riskBase":{"$ref":"#/components/schemas/RiskBaseRefV1_0_0"},"target":{"$ref":"#/components/schemas/TargetSummaryV1_0_0"},"flags":{"items":{"$ref":"#/components/schemas/FlagSummaryV1_0_0"}},"variables":{"items":{"$ref":"#/components/schemas/TargetVariableV1_0_0"}},"monitoringDate":{"$ref":"#/components/schemas/TargetMonitoringDateV1_0_0"},"decision":{"$ref":"#/components/schemas/TargetDecisionV1_0_0"},"classification":{"$ref":"#/components/schemas/TargetClassificationV1_0_0"},"score":{"$ref":"#/components/schemas/TargetScoreV1_0_0"},"monitoredAt":{"format":"date-time"},"active":{}}},"TargetClassificationHistoryV1_0_0":{"properties":{"classification":{},"createdOn":{"format":"date-time"},"updatedOn":{"format":"date-time"}}},"TargetClassificationV1_0_0":{"properties":{"history":{"items":{"$ref":"#/components/schemas/TargetClassificationHistoryV1_0_0"}}}},"TargetDecisionHistoryV1_0_0":{"properties":{"value":{},"label":{},"createdOn":{"format":"date-time"},"updatedOn":{"format":"date-time"}}},"TargetDecisionV1_0_0":{"properties":{"history":{"items":{"$ref":"#/components/schemas/TargetDecisionHistoryV1_0_0"}}}},"TargetMonitoringDateHistoryV1_0_0":{"properties":{"monitoringDate":{"format":"date-time"},"createdOn":{"format":"date-time"},"updatedOn":{"format":"date-time"}}},"TargetMonitoringDateV1_0_0":{"properties":{"history":{"items":{"$ref":"#/components/schemas/TargetMonitoringDateHistoryV1_0_0"}}}},"TargetScoreHistoryV1_0_0":{"properties":{"value":{"format":"int32"},"label":{},"createdOn":{"format":"date-time"},"updatedOn":{"format":"date-time"}}},"TargetScoreV1_0_0":{"properties":{"history":{"items":{"$ref":"#/components/schemas/TargetScoreHistoryV1_0_0"}}}},"TargetSummaryV1_0_0":{"properties":{"keyVariableValue":{},"mainLabelVariableValue":{}}},"TargetVariableHistoryV1_0_0":{"properties":{"value":{},"createdOn":{"format":"date-time"},"updatedOn":{"format":"date-time"}}},"TargetVariableV1_0_0":{"properties":{"variable":{"$ref":"#/components/schemas/VariableRefV1_0_0"},"history":{"items":{"$ref":"#/components/schemas/TargetVariableHistoryV1_0_0"}}}},"VariableRefV1_0_0":{"properties":{"variableId":{},"variableCode":{"format":"int64"},"variableName":{},"variableDescription":{},"variableSchema":{},"variableGroupPath":{"items":{}}}},"CursorPagedResponseRiskBaseTargetHistorySearchResponseV1_0_0":{"properties":{"content":{"items":{"$ref":"#/components/schemas/RiskBaseTargetHistorySearchResponseV1_0_0"}},"nextCursor":{}}},"LatestClassificationV1_0_0":{"properties":{"classification":{},"updatedOn":{"format":"date-time"}}},"LatestDecisionV1_0_0":{"properties":{"value":{},"label":{},"updatedOn":{"format":"date-time"}}},"LatestScoreV1_0_0":{"properties":{"value":{"format":"int32"},"updatedOn":{"format":"date-time"}}},"RiskBaseTargetHistorySearchResponseV1_0_0":{"properties":{"id":{},"riskBase":{"$ref":"#/components/schemas/RiskBaseRefV1_0_0"},"target":{"$ref":"#/components/schemas/TargetSummaryV1_0_0"},"flags":{"items":{"$ref":"#/components/schemas/FlagSummaryV1_0_0"}},"latestDecision":{"$ref":"#/components/schemas/LatestDecisionV1_0_0"},"latestClassification":{"$ref":"#/components/schemas/LatestClassificationV1_0_0"},"latestScore":{"$ref":"#/components/schemas/LatestScoreV1_0_0"},"monitoredAt":{"format":"date-time"},"active":{}}}}},"x-tagGroups":[{"name":"VAAS API","tags":[]},{"name":"Decision Engine","tags":["decision-case-v1.0.0","decision-case-v2.0.0","decision-v3.0.0","decision-v3.1.0","form-submission-v1.0.0"]},{"name":"Workflow","tags":["workflow-v1.0.0","workflow-v1.1.0","workflow-v1.1.1","workflow-v1.2.0"]},{"name":"Risk Central","tags":["risk-central-v1.0.0"]}]}