Volver al catálogo

Rulebricks

rulebricks

Rulebricks is a decision automation platform for building, testing, publishing, and executing business rules and decision flows.

Acciones
59
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (59)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Bulk Submit Context DataRULEBRICKS_BULK_SUBMIT_CONTEXT_DATAAcción

Merge a non-empty batch into a Rulebricks context and execute ready bound rules or flows. External effects and partial writes may occur; retrying after an uncertain response can repeat effects. Returns per-instance outcomes.

Parámetros de entrada

  • includestring

    Comma-separated per-instance response fields to include.

  • recordsobject[]Obligatorio

    Dynamic context records; each must carry the context identity fact.

  • context_slugstringObligatorio

    Context slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Cascade Context InstanceRULEBRICKS_CASCADE_CONTEXT_INSTANCEAcción

Re-evaluate registered pending rule and flow work for a Rulebricks context instance after dependencies may have become available. Flows may invoke external actions, and retrying an uncertain request can repeat their effects.

Parámetros de entrada

  • instance_idstringObligatorio

    Context instance identity.

  • context_slugstringObligatorio

    Context slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Count Decision LogsRULEBRICKS_COUNT_DECISION_LOGSAcción

Count decision logs matching asset, status, trace, payload-content, or time-range filters without returning log payloads.

Parámetros de entrada

  • flowsstring[]

    Flow names, IDs, or slugs whose flow-level execution logs to include.

  • rulesstring[]

    Rule names, IDs, or slugs to include.

  • searchstring

    Decision-data expression using comparisons, contains operators, and AND/OR, or a bare UUID/32-hex execution identifier.

  • contextsstring[]

    Context names or slugs whose triggered executions to include.

  • end_timestringdate-time

    Inclusive end of the decision time range in ISO 8601 format.

  • statusesstring[]

    HTTP decision statuses to include.

  • trace_idstring

    Count decisions associated with this execution-trace correlation identifier.

  • start_timestringdate-time

    Inclusive start of the decision time range in ISO 8601 format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Asset TestRULEBRICKS_CREATE_ASSET_TESTAcción

Create a saved test case for a Rulebricks rule or flow with an input, expected response, comparison policy, and criticality.

Parámetros de entrada

  • namestringObligatorio

    Test name.

  • policystringenum

    Response comparison policy; missing or null defaults to contains.

    containsmatchesexcludes
  • requestobjectObligatorio

    Input to send when running the test.

  • criticalbooleanObligatorio

    Whether failure of this test should block a release.

  • responseobjectObligatorio

    Expected rule or flow response.

  • asset_slugstringObligatorio

    Slug of the rule or flow for which to create a test.

  • asset_typestringObligatorioenum

    Type of Rulebricks asset for which to create a test.

    ruleflow

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ContextRULEBRICKS_CREATE_CONTEXTAcción

Create a Rulebricks context with stored and derived fields, an identity fact, retention settings, and access controls.

Parámetros de entrada

  • namestringObligatorio

    Context name; Rulebricks generates a unique slug from it.

  • folderstring

    Context folder ID.

  • schemaobjectObligatorio

    Stored and derived field definitions.

  • descriptionstring

    Context description.

  • ttl_secondsinteger

    Instance time-to-live in seconds; defaults to 86400.

  • user_groupsstring[]

    User groups allowed to access the context.

  • history_limitinteger

    Maximum history entries retained per field; defaults to 100.

  • identity_factstringObligatorio

    Key from schema.base that uniquely identifies instances.

  • source_objectsstring[]

    Workspace object IDs associated with the schema.

  • on_schema_mismatchstringenum

    Handling for fields outside the schema; defaults to ignore.

    ignorerejectstore
  • auto_execute_decisionsboolean

    Whether bound rules and flows execute automatically; defaults to true.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Context RelationshipRULEBRICKS_CREATE_CONTEXT_RELATIONSHIPAcción

Create a has-many, has-one, or belongs-to relationship from one Rulebricks context to another.

Parámetros de entrada

  • namestring

    Runtime relationship key; Rulebricks normalizes it to snake_case.

  • context_idstringObligatorio

    Unique identifier of the source context.

  • descriptionstring

    Relationship description.

  • relation_typestringObligatorioenum

    Cardinality and direction of the relationship.

    has_manyhas_onebelongs_to
  • to_context_idstringObligatorio

    Unique identifier of the target context.

  • foreign_key_factstringObligatorio

    Source-context field key used as the foreign key.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create FolderRULEBRICKS_CREATE_FOLDERAcción

Create a folder for rule, flow, or context assets; the asset type defaults to rule.

Parámetros de entrada

  • namestringObligatorio

    Folder name.

  • asset_typestringenum

    Type of assets organized by this folder; defaults to rule.

    ruleflowcontext
  • descriptionstring

    Folder description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create UserRULEBRICKS_CREATE_USERAcción

Create a new user directly with a password, bypassing the email invitation flow. The user can immediately log in with the provided credentials. The provider-issued API key is omitted from the response.

Parámetros de entrada

  • namestring

    Display name for the user.

  • rolestring

    Role to assign to the user. Defaults to 'developer' if not specified.

  • emailstringObligatorioemail

    Email address for the new user.

  • passwordstringObligatorio

    Password for the new user (minimum 8 characters). The user can log in immediately with this password.

  • user_groupsstring[]

    List of user group names or IDs to assign to the user.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create User GroupRULEBRICKS_CREATE_USER_GROUPAcción

Create a new user group in your Rulebricks organization.

Parámetros de entrada

  • namestringObligatorio

    Unique name of the user group.

  • descriptionstring

    Description of the user group.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Asset TestRULEBRICKS_DELETE_ASSET_TESTAcción

Permanently delete one saved test case from a Rulebricks rule or flow.

Parámetros de entrada

  • test_idstringObligatorio

    ID of the test to delete.

  • asset_slugstringObligatorio

    Slug of the rule or flow that owns the test.

  • asset_typestringObligatorioenum

    Type of Rulebricks asset that owns the test.

    ruleflow

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ContextRULEBRICKS_DELETE_CONTEXTAcción

Delete a Rulebricks context and all of its live instances, returning affected bindings and pending evaluations.

Parámetros de entrada

  • context_idstringObligatorio

    Unique identifier of the context to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Context InstanceRULEBRICKS_DELETE_CONTEXT_INSTANCEAcción

Permanently delete one Rulebricks context instance and its history, cancel its pending evaluations, and re-evaluate dependent context instances. Ready dependent rules or flows may execute; flows may invoke external actions.

Parámetros de entrada

  • instance_idstringObligatorio

    Context instance identity.

  • context_slugstringObligatorio

    Context slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Context RelationshipRULEBRICKS_DELETE_CONTEXT_RELATIONSHIPAcción

Delete a specific relationship owned by a Rulebricks context.

Parámetros de entrada

  • context_idstringObligatorio

    Unique identifier of the context that owns the relationship.

  • relationship_idstringObligatorio

    Unique identifier of the relationship to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete FlowRULEBRICKS_DELETE_FLOWAcción

Permanently delete one Rulebricks flow by ID.

Parámetros de entrada

  • flow_idstringObligatorio

    ID of the flow to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete FolderRULEBRICKS_DELETE_FOLDERAcción

Delete one folder by ID without deleting the assets it contains.

Parámetros de entrada

  • folder_idstringObligatorio

    ID of the folder to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ObjectRULEBRICKS_DELETE_OBJECTAcción

Delete a workspace object by ID or exact name and archive, delete, or detach its generated values.

Parámetros de entrada

  • valuesstringenum

    Handling for generated values: omit or use archive to delete unused values and archive referenced values; use detach to retain all values.

    archivedetach
  • object_idstringObligatorio

    Object ID or exact object name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete RuleRULEBRICKS_DELETE_RULEAcción

Permanently delete one Rulebricks rule by ID.

Parámetros de entrada

  • rule_idstringObligatorio

    ID of the rule to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ValueRULEBRICKS_DELETE_VALUEAcción

Delete one vocabulary value by ID and replace references from other values with its content; rule or flow references and object-managed namespaces can block deletion.

Parámetros de entrada

  • value_idstringObligatorio

    ID of the vocabulary value to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Execute Assets in ParallelRULEBRICKS_EXECUTE_ASSETS_IN_PARALLELAcción

Execute multiple published Rulebricks rules or flows in parallel from one named map. Each entry is independent, so successful results are returned alongside reserved `$error` details for entries that fail. Flows may invoke external actions, and retrying an uncertain request can repeat their effects. A successful call uses the organization's monthly execution allowance for each entry.

Parámetros de entrada

  • executionsobjectObligatorio

    Named rule or flow executions. Each value is its dynamic input payload with either `$rule` or `$flow` at the same level. The selector value is a published slug, optionally suffixed with `/{version}` or a release environment, such as `pricing/3` or `pricing/production`; a bare slug uses the current published version. `$rule` and `$flow` cannot be top-level map keys.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Execute Bulk RuleRULEBRICKS_EXECUTE_BULK_RULEAcción

Execute one published Rulebricks rule against up to 1000 ordered input objects and return one aligned result per input. A successful call uses the organization's monthly execution allowance for each input.

Parámetros de entrada

  • versionstring

    Numeric version, release environment slug, or latest.

  • payloadsobject[]Obligatorio

    Ordered rule input objects, each matching the rule's request schema; maximum 1000.

  • rule_slugstringObligatorio

    Published rule slug to execute.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Execute FlowRULEBRICKS_EXECUTE_FLOWAcción

Execute a published Rulebricks flow once or in bulk and return the ordered flow-defined output and execution ID for querying its decision logs. A flow may invoke external actions, and retrying an uncertain request can repeat their effects. A successful execution uses the organization's monthly execution allowance.

Parámetros de entrada

  • payloadanyObligatorio

    One flow input object, or a list of input objects for bulk execution. Each object must match the flow's request schema.

  • versionstring

    Numeric version, release environment slug, or latest.

  • flow_slugstringObligatorio

    Published flow slug to execute.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Execute RuleRULEBRICKS_EXECUTE_RULEAcción

Execute a published Rulebricks rule with its input payload and return the rule-defined decision output. A successful execution uses the organization's monthly execution allowance.

Parámetros de entrada

  • payloadobjectObligatorio

    Rule input fields as a JSON object matching the rule's request schema.

  • versionstring

    Numeric version, release environment slug, or latest.

  • rule_slugstringObligatorio

    Published rule slug to execute.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export FlowRULEBRICKS_EXPORT_FLOWAcción

Export one flow as a Rulebricks Flow Schema document that can be round-tripped through the flow import endpoint. Provide flow_id or flow_slug; at least one is required, and the provider accepts both together.

Parámetros de entrada

  • flow_idstring

    ID of the flow to export. Provide flow_id or flow_slug; either or both are accepted.

  • flow_slugstring

    Slug of the flow to export. Provide flow_id or flow_slug; either or both are accepted.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export Asset ManifestRULEBRICKS_EXPORT_MANIFESTAcción

Export selected Rulebricks rules, flows, contexts, or values with their resolved dependencies, or preview the export. Provide at least one of root_ids, root_collection, root_collections, or all_values=true for value catalogs; selectors may be combined.

Parámetros de entrada

  • formatstringenum

    Export format. json is supported only for root_type=value with download=true; rbm preserves the complete manifest.

    rbmjson
  • compressboolean

    Return the manifest as a compress-json array.

  • downloadboolean

    Request direct-download mode; the tool returns the downloaded JSON under manifest. Required when format is json.

  • root_idsstring[]

    IDs of root assets to export. At least one of root_ids, root_collection, root_collections, or all_values=true is required.

  • root_typestringObligatorioenum

    Type of root asset to export.

    ruleflowcontextvalue
  • all_valuesboolean

    For root_type=value, export every accessible active, non-function, user-managed value without IDs or collection paths. Set true as at least one required root selector.

  • preview_onlyboolean

    Return an export preview without full asset data.

  • root_versionany

    For one rule or flow root, export the draft, latest published version, or a positive published version number.

  • manifest_namestring

    Exported file name.

  • root_collectionstring

    One value collection path to export. At least one of root_ids, root_collection, root_collections, or all_values=true is required.

  • root_collectionsstring[]

    Value collection paths to export together. At least one of root_ids, root_collection, root_collections, or all_values=true is required.

  • include_downstreamboolean

    For a context export, include rules and flows bound to the context.

  • manifest_descriptionstring

    Exported manifest description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export RuleRULEBRICKS_EXPORT_RULEAcción

Export one rule by ID as a raw rule document that can be round-tripped through the Rulebricks rule import endpoint.

Parámetros de entrada

  • rule_idstringObligatorio

    ID of the rule to export.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ContextRULEBRICKS_GET_CONTEXTAcción

Retrieve a Rulebricks context by ID, including its schema, bindings, access controls, and relationships.

Parámetros de entrada

  • context_idstringObligatorio

    Unique identifier of the context to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Context InstanceRULEBRICKS_GET_CONTEXT_INSTANCEAcción

Retrieve the current base facts, derived facts, status, and selected execution or relationship data for one Rulebricks context instance.

Parámetros de entrada

  • includestring

    Comma-separated fields: positions, is_new, status, have, need, state, derived, expires_at, created_at, updated_at, executions, executed, triggered, reason, cascaded, relations, or execution_results. Context is always returned; relations require include_relations and history uses GET_CONTEXT_INSTANCE_HISTORY.

  • instance_idstringObligatorio

    Context instance identity.

  • context_slugstringObligatorio

    Context slug.

  • include_relationsstring

    Comma-separated relationship names to include, or * for all.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Context Instance HistoryRULEBRICKS_GET_CONTEXT_INSTANCE_HISTORYAcción

Retrieve newest-first historical values for all fields or one selected field on a Rulebricks context instance.

Parámetros de entrada

  • fieldstring

    Return history for only this field key.

  • limitinteger

    Maximum history entries to return.

  • instance_idstringObligatorio

    Context instance identity.

  • context_slugstringObligatorio

    Context slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ObjectRULEBRICKS_GET_OBJECTAcción

Fetch one workspace object (JSON Schema) by its ID or exact name.

Parámetros de entrada

  • object_idstringObligatorio

    Object ID or exact object name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get UsageRULEBRICKS_GET_USAGEAcción

Return the organization's current plan and monthly Rulebricks execution usage, limit, and remaining allowance.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import FlowRULEBRICKS_IMPORT_FLOWAcción

Create or update a flow from a Rulebricks Flow Schema document; imported flows publish by default unless publish (provider field _publish) is false.

Parámetros de entrada

  • flowobjectObligatorio

    Rulebricks Flow Schema document with dynamic node configuration and connections; provider field casing is preserved.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import Asset ManifestRULEBRICKS_IMPORT_MANIFESTAcción

Atomically create or update rules, flows, contexts, and values from a Rulebricks manifest. Override updates conflicts in place while preserving prior versions, release pins, context records, IDs, folders, and access groups. Use PREVIEW_IMPORT_MANIFEST to inspect the write-free plan first.

Parámetros de entrada

  • manifestany

    Rulebricks manifest object or compress-json array to import.

  • import_idstringuuid

    Idempotency UUID for retrying the same manifest and options. Reuse it after an uncertain response so a completed import is not repeated.

  • clear_historyboolean

    Legacy option accepted but ignored by Rulebricks. Existing history is always preserved and source edit diffs are never replayed.

  • manifest_uploadobject

    Uploaded large-manifest reference from UPLOAD_MANIFEST_PART. Use instead of manifest.

  • parent_folder_idstring

    Parent folder ID for imported asset folders.

  • conflict_strategystringenum

    How to handle existing assets. 'override' updates them in place and appends versions while preserving prior versions, release pins, context records, IDs, slugs, folders, and access groups; 'block' rejects the entire atomic import when any asset conflicts.

    overrideblock
  • compressed_requestobject

    Gzip-compressed JSON ImportManifestRequest file. Use instead of manifest or manifest_upload; the compressed JSON must contain all import options.

  • target_folder_namestring

    Folder name in which to place imported assets.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import RuleRULEBRICKS_IMPORT_RULEAcción

Create a rule from a complete raw rule document, or partially update an existing rule when the document includes its ID.

Parámetros de entrada

  • ruleobjectObligatorio

    Raw Rulebricks rule document. Provider field casing such as requestSchema, sampleRequest, and createdAt is preserved.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Invite UserRULEBRICKS_INVITE_USERAcción

Invite a new user to the organization or update role or user group data for an existing user.

Parámetros de entrada

  • rolestring

    System or custom role ID to assign to the user. Available system roles include 'admin', 'editor', and 'developer'.

  • emailstringObligatorioemail

    Email of the user to invite.

  • user_groupsstring[]

    List of user group names or IDs to assign to the user. All specified groups must exist in your organization.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Asset TestsRULEBRICKS_LIST_ASSET_TESTSAcción

List saved test cases for a Rulebricks rule or flow, including expected responses and latest execution state.

Parámetros de entrada

  • asset_slugstringObligatorio

    Slug of the rule or flow whose tests to list.

  • asset_typestringObligatorioenum

    Type of Rulebricks asset whose tests to list.

    ruleflow

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Context RelationshipsRULEBRICKS_LIST_CONTEXT_RELATIONSHIPSAcción

List incoming and outgoing relationships configured for a Rulebricks context.

Parámetros de entrada

  • context_idstringObligatorio

    Unique identifier of the context whose relationships to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ContextsRULEBRICKS_LIST_CONTEXTSAcción

List contexts visible to the connected API key, optionally filtered or paginated by the provider's opaque cursor.

Parámetros de entrada

  • namestring

    Case-insensitive context-name substring filter.

  • limitinteger

    Page size. Supplying it enables the paginated response form.

  • cursorstring

    Opaque cursor from the previous page; requires limit.

  • folderstring

    Folder name or ID used to filter contexts.

  • user_groupstring

    Accessible user-group name or ID used to filter contexts.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List FlowsRULEBRICKS_LIST_FLOWSAcción

List flows visible to the connected API key, optionally selecting an exact asset version or filtering by identifier, search, folder, labels, group, or name.

Parámetros de entrada

  • namestring

    Flow name filter.

  • folderstring

    Folder identifier or name used to filter flows.

  • labelsstring[]

    Labels that matching flows must have.

  • searchstring

    Exact flow ID or slug, or a case-insensitive flow-name substring.

  • flow_idstring

    Exact flow ID to return.

  • versionstring

    Published version number, release environment slug, or latest. Requires the other filters to identify exactly one flow.

  • flow_slugstring

    Exact case-sensitive flow slug to return.

  • user_groupstring

    User-group identifier used to restrict visible flows.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List FoldersRULEBRICKS_LIST_FOLDERSAcción

List asset folders visible to the connected API key, optionally filtered by user group or name.

Parámetros de entrada

  • namestring

    Folder name filter.

  • user_groupstring

    User-group identifier used to restrict visible folders.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ObjectsRULEBRICKS_LIST_OBJECTSAcción

List workspace objects (JSON Schemas) visible to the connected API key's user groups.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Pending Context EvaluationsRULEBRICKS_LIST_PENDING_CONTEXT_EVALUATIONSAcción

List rule and flow evaluations registered as pending for one Rulebricks context instance, including their missing dependencies.

Parámetros de entrada

  • instance_idstringObligatorio

    Context instance identity.

  • context_slugstringObligatorio

    Context slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List RulesRULEBRICKS_LIST_RULESAcción

List rules visible to the connected API key, optionally selecting an exact asset version or filtering by identifier, search, folder, labels, group, or name.

Parámetros de entrada

  • namestring

    Rule name filter.

  • folderstring

    Folder identifier or name used to filter rules.

  • labelsstring[]

    Labels that matching rules must have; sent as one comma-separated filter.

  • searchstring

    Exact rule ID or slug, or a case-insensitive rule-name substring.

  • rule_idstring

    Exact rule ID to return.

  • versionstring

    Published version number, release environment slug, or latest. Requires the other filters to identify exactly one rule.

  • rule_slugstring

    Exact case-sensitive rule slug to return.

  • user_groupstring

    User-group identifier used to restrict visible rules.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List User GroupsRULEBRICKS_LIST_USER_GROUPSAcción

List all user groups available in your Rulebricks organization.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List UsersRULEBRICKS_LIST_USERSAcción

List all users (including the admin and all team members) in the organization with their email, name, role, user groups, and join date. Provider-issued API keys are omitted from the response.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ValuesRULEBRICKS_LIST_VALUESAcción

Return one page of vocabulary values visible to the connected API key, with optional name, prefix, type, group, and usage filters.

Parámetros de entrada

  • namestring

    Text that matching vocabulary value names must contain.

  • limitinteger

    Maximum vocabulary values to return in this page (1-1000).

  • cursorstring

    Opaque continuation cursor returned by a previous call. Pass it back unchanged.

  • prefixstring

    Name prefix used to filter vocabulary values.

  • includestring

    Set to usage to include the rules that reference each vocabulary value.

  • resolveboolean

    Whether to replace value references with their resolved values. Set false to return stored reference markers.

  • user_groupstring

    User-group identifier or name used to restrict visible values.

  • value_typestringenum

    Vocabulary value type to include.

    stringnumberbooleandatelistfunction

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Preview Asset Manifest ImportRULEBRICKS_PREVIEW_IMPORT_MANIFESTAcción

Return the server-authoritative plan for importing Rulebricks rules, flows, contexts, and values without writing any assets.

Parámetros de entrada

  • manifestany

    Rulebricks manifest object or compress-json array to import.

  • import_idstringuuid

    Idempotency UUID for retrying the same manifest and options. Reuse it after an uncertain response so a completed import is not repeated.

  • clear_historyboolean

    Legacy option accepted but ignored by Rulebricks. Existing history is always preserved and source edit diffs are never replayed.

  • manifest_uploadobject

    Uploaded large-manifest reference from UPLOAD_MANIFEST_PART. Use instead of manifest.

  • parent_folder_idstring

    Parent folder ID for imported asset folders.

  • conflict_strategystringenum

    How to handle existing assets. 'override' updates them in place and appends versions while preserving prior versions, release pins, context records, IDs, slugs, folders, and access groups; 'block' rejects the entire atomic import when any asset conflicts.

    overrideblock
  • compressed_requestobject

    Gzip-compressed JSON ImportManifestRequest file. Use instead of manifest or manifest_upload; the compressed JSON must contain all import options.

  • target_folder_namestring

    Folder name in which to place imported assets.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Preview Value Collection SyncRULEBRICKS_PREVIEW_SYNC_VALUESAcción

Preview the created, updated, unchanged, archived, and deleted values for one complete single-request collection synchronization without writing changes.

Parámetros de entrada

  • valuesobjectObligatorio

    Complete desired membership keyed relative to the collection. An empty object previews emptying the collection.

  • metadataobject

    Custom metadata that would be applied, keyed by full value name including the collection prefix.

  • collectionstringObligatorio

    Collection path to preview synchronizing; only values beneath this path are considered.

  • user_groupsstring[]

    User-group names that would be assigned to submitted values.

  • permanently_deleteboolean

    Preview marking omitted values deleted instead of archived. Requires the delete-values entitlement.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Preview Object UpsertRULEBRICKS_PREVIEW_UPSERT_OBJECTAcción

Validate and preview creating or updating a workspace object and synchronizing its JSON Schema enum values without writing any changes.

Parámetros de entrada

  • idstring

    Object ID that would be updated.

  • namestring

    Object name; required when id is omitted.

  • contentanyObligatorio

    JSON Schema object or serialized JSON string to validate and preview.

  • user_groupsstring[]

    User groups that would be applied to the object and generated values.

  • field_renameobject

    One field rename whose generated value ID preservation should be previewed.

  • expected_updated_atstring

    Report a conflict if the object's updated_at timestamp has changed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Query Decision LogsRULEBRICKS_QUERY_DECISION_LOGSAcción

Return one page of decision logs filtered by assets, status, trace, payload content, or time range. Check limited even when no next cursor is returned; a limited page does not cover all matching history.

Parámetros de entrada

  • flowsstring[]

    Flow names, IDs, or slugs whose flow-level execution logs to include.

  • limitinteger

    Maximum decision logs to return in this page (1-1000).

  • rulesstring[]

    Rule names, IDs, or slugs to include. Names match partially; IDs and slugs match exactly.

  • cursorstring

    Opaque continuation cursor returned by a previous call. Pass it back unchanged.

  • searchstring

    Decision-data expression using comparisons, contains operators, and AND/OR, or a bare UUID/32-hex execution identifier.

  • sort_bystringenum

    Field used to sort matching decisions.

    timenamestatustype
  • contextsstring[]

    Context names or slugs whose triggered rule and flow executions to include.

  • end_timestringdate-time

    Inclusive end of the decision time range in ISO 8601 format.

  • statusesstring[]

    HTTP decision statuses to include. The values are combined into a status filter.

  • trace_idstring

    Return decisions associated with this execution-trace correlation identifier.

  • sort_orderstringenum

    Ascending or descending result order.

    ascdesc
  • start_timestringdate-time

    Inclusive start of the decision time range in ISO 8601 format.

  • item_filterstring

    Exact bulk payload-item filter in path=value form, such as customer.id=cst_123.

  • include_tracesboolean

    Whether to include potentially large execution path traces in flow decision logs.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace Value MetadataRULEBRICKS_REPLACE_VALUE_METADATAAcción

Replace or clear all custom metadata for one vocabulary value by ID without resending its value payload. The API key must have edit-values permission.

Parámetros de entrada

  • metadataobjectObligatorio

    Complete replacement custom metadata. Send an empty object to clear all custom metadata.

  • value_idstringObligatorio

    ID of the vocabulary value whose custom metadata will be replaced.

  • previous_metadataobject

    Expected current custom metadata. Rulebricks rejects the write if it no longer matches.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Run Asset TestsRULEBRICKS_RUN_ASSET_TESTSAcción

Run all saved tests, or only critical tests, against the latest draft of a Rulebricks rule or flow and return pass totals and failure diagnostics. Version targeting is not supported.

Parámetros de entrada

  • asset_slugstringObligatorio

    Slug of the rule or flow whose tests to run.

  • asset_typestringObligatorioenum

    Type of Rulebricks asset whose tests to run.

    ruleflow
  • critical_onlyboolean

    Run only critical tests when true; omit to run the full suite.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Solve Context AssetRULEBRICKS_SOLVE_CONTEXT_ASSETAcción

Persist optional facts and execute one rule or flow bound to a Rulebricks context instance, or register it pending when dependencies are missing. Flows may cause external effects; retrying an uncertain outcome can repeat them.

Parámetros de entrada

  • payloadobject

    Optional dynamic facts to persist before executing the asset.

  • asset_slugstringObligatorio

    Slug of the rule or flow bound to the context.

  • asset_typestringObligatorioenum

    Type of context-bound asset to execute.

    ruleflow
  • instance_idstringObligatorio

    Context instance identity.

  • context_slugstringObligatorio

    Context slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Submit Context DataRULEBRICKS_SUBMIT_CONTEXT_DATAAcción

Merge facts into one Rulebricks context instance. This may immediately execute bound rules or flows and cause their external effects; returns the resolved state and triggered evaluations.

Parámetros de entrada

  • includestring

    Comma-separated response fields to include.

  • payloadobjectObligatorio

    Dynamic facts matching the context schema to merge into the instance.

  • instance_idstringObligatorio

    Context instance identity.

  • context_slugstringObligatorio

    Context slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Sync Value CollectionRULEBRICKS_SYNC_VALUESAcción

Synchronize one vocabulary collection to a desired set. Chunks commit independently and must run sequentially under one fresh sync_id; finalize only after every chunk succeeds and do not overlap collection pipelines. Completion archives or deletes omitted members. This action always writes.

Parámetros de entrada

  • valuesobject

    Desired members keyed relative to the collection. Omit only when finalizing an existing chunked run.

  • sync_idstring

    Run identifier for sequential chunk uploads. Omit for a single-request synchronization.

  • completeboolean

    Whether this is the final chunk and Rulebricks should sweep omitted members. Omission completes single-request syncs and leaves chunked runs open.

  • metadataobject

    Custom metadata keyed by full value name, including the collection prefix.

  • collectionstringObligatorio

    Collection path to synchronize; only values beneath this path are affected.

  • user_groupsstring[]

    User-group names to assign to values written by this call.

  • permanently_deleteboolean

    Whether omitted values should be marked deleted instead of archived. Requires the delete-values entitlement.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ContextRULEBRICKS_UPDATE_CONTEXTAcción

Update a Rulebricks context's name, schema, identity, retention, execution behavior, folder, or access groups. Changing identity_fact on a context with live instances changes how future writes resolve them.

Parámetros de entrada

  • namestring

    New context name; changing it regenerates the slug.

  • folderstring

    Context folder ID. Pass null explicitly to remove the current folder.

  • schemaobject

    Replacement stored and derived field definitions.

  • context_idstringObligatorio

    Unique identifier of the context to update.

  • descriptionstring

    New context description.

  • ttl_secondsinteger

    Instance time-to-live in seconds.

  • user_groupsstring[]

    User groups allowed to access the context.

  • history_limitinteger

    Maximum history entries retained per field.

  • identity_factstring

    Key from schema.base that uniquely identifies instances. Changing it on a context with live instances changes how future writes resolve them.

  • source_objectsstring[]

    Workspace object IDs associated with the schema.

  • on_schema_mismatchstringenum

    Handling for submitted fields outside the schema.

    ignorerejectstore
  • auto_execute_decisionsboolean

    Whether ready bound rules and flows execute automatically.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update FolderRULEBRICKS_UPDATE_FOLDERAcción

Update an existing folder's required name and optional description by ID without changing its asset type.

Parámetros de entrada

  • namestringObligatorio

    Updated folder name.

  • folder_idstringObligatorio

    ID of the folder to update.

  • descriptionstring

    Updated folder description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload Manifest PartRULEBRICKS_UPLOAD_MANIFEST_PARTAcción

Upload one plain UTF-8 or gzip-compressed part of a Rulebricks manifest larger than 4 MiB. Reuse one upload_id, send parts in zero-based order, then pass that ID and the total part count as manifest_upload to IMPORT_MANIFEST. Parts expire after 24 hours.

Parámetros de entrada

  • partintegerObligatorio

    Zero-based part index, from 0 through 4095.

  • contentstring

    One UTF-8 slice of serialized manifest JSON, at most 4 MiB. Split only between characters so concatenating every part recreates the manifest.

  • upload_idstringObligatoriouuid

    Client-generated UUID reused for every part and the import reference.

  • compressed_contentobject

    One gzip-compressed manifest part. Use instead of content; decompressed UTF-8 bytes must be at most 4 MiB.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upsert ObjectRULEBRICKS_UPSERT_OBJECTAcción

Create a workspace object by name or update one by ID or name, then synchronize values generated from its JSON Schema enums. Generated values removed from the submitted schema are archived. This action always writes.

Parámetros de entrada

  • idstring

    Object ID to update.

  • namestring

    Object name; required when id is omitted.

  • contentanyObligatorio

    JSON Schema object or serialized JSON string; enums become managed values.

  • user_groupsstring[]

    User groups applied to the object and its generated values.

  • field_renameobject

    One field rename that preserves generated value IDs.

  • expected_updated_atstring

    Reject the update if the object's updated_at timestamp has changed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or Update ValuesRULEBRICKS_UPSERT_VALUESAcción

Create new vocabulary values or update existing values by name, including nested values and per-value metadata.

Parámetros de entrada

  • valuesobjectObligatorio

    Vocabulary values to create or update. Nested objects are flattened into dot-separated value names.

  • metadataobject

    Custom metadata keyed by vocabulary value name. Empty or omitted entries preserve existing metadata.

  • user_groupsstring[]

    User-group names or IDs to assign to the written values. If omitted, Rulebricks applies the connected user's groups.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not