Skip to main content
POST
/
apps
/
{app_id}
/
collections
/
{collection_id}
/
records
/
{record_id}
/
update-rules
{
  "id": "<string>",
  "name": "Important Record",
  "status": "COMPLETED",
  "source": "API",
  "usage": {
    "total": 123,
    "calls": [
      {}
    ],
    "rules": {}
  },
  "rules_count": 123,
  "rules_pass_count": 123,
  "rules_fail_count": 123,
  "rules_warn_count": 123,
  "rules": {},
  "config": {
    "id": "<string>",
    "rules": [
      {
        "name": "Check Business Name",
        "key": "CHECK_BUSINESS_NAME",
        "execution_order": "before-all",
        "on_success": "PASS",
        "on_fail": "WARN",
        "step_key": "<string>",
        "workflow_id": "work_xxx",
        "workflow_version_id": "workv_xxx",
        "workflow_use_latest": true,
        "workflow_input_default": {
          "business_name": "Example Corp"
        },
        "disabled": false
      }
    ],
    "mappings": [
      {
        "source_path": "LOAN_APPLICATION:income",
        "destination_paths": [
          "MONTHLY_INCOME:amount",
          "ANNUAL_INCOME:amount"
        ]
      }
    ],
    "created_at": "2023-12-25",
    "updated_at": "2023-12-25"
  },
  "collection_name": "<string>",
  "collection_id": "col_xxx",
  "created_by": {
    "id": "user_xxx",
    "name": "John Doe"
  },
  "entity": {
    "id": "<string>",
    "entity_id": "<string>",
    "status": "SYNCED",
    "type": "ENCOMPASS",
    "trigger_id": "<string>",
    "record_id": "<string>",
    "created_at": "2023-12-25",
    "updated_at": "2023-12-25"
  },
  "tags": [
    {
      "id": "<string>",
      "name": "<string>",
      "color": "<string>",
      "app_id": "<string>",
      "created_at": "2023-12-25",
      "updated_at": "2023-12-25"
    }
  ],
  "created_at": "2023-12-25",
  "updated_at": "2023-12-25",
  "link": "<string>"
}

Path Parameters

app_id
string
required
collection_id
string
required
record_id
string
required

Response

200 - application/json
id
string
required
name
string | null
required
Example:
status
enum<string>
required
Available options:
DRAFT,
QUEUED,
RUNNING,
CANCELLED,
COMPLETED,
FAILED
Example:
source
enum<string>
required
Available options:
APP,
API,
TRIGGER,
WORKFLOW
Example:
rules_count
number
required
rules_pass_count
number
required
rules_fail_count
number
required
rules_warn_count
number
required
rules
object
required
config
object
required
collection_name
string
required
collection_id
string
required
Example:
created_by
object
required
Example:
entity
object | null
required
tags
object[]
required
created_at
string<date> | null
required
updated_at
string<date> | null
required
usage
object