For the complete documentation index, see llms.txt. This page is also available as Markdown.

Implementations

List rule implementations

get

Returns the rule implementations visible to the current user.

Requires the 'View quality' permission. Implementations whose domain the caller cannot view are excluded from the result set. Administrators and service accounts see all implementations.

No pagination is applied; the full filtered list is returned. Each implementation includes its rule, results, source, and linked data structures. The response includes a _actions object with the operations the caller can perform on the collection.

This is a database‑backed listing, not an Elasticsearch query, so the exact filters available are limited to those documented above.

Query parameters
rule_business_concept_idintegerOptional

Filter by rule business concept ID

is_rule_activestring · enumOptional

Filter by the active flag of the linked rule.

Possible values:
Responses
200

Implementations response

application/json
get/api/rule_implementations
GET /api/rule_implementations HTTP/1.1
Accept: */*
{
  "data": [
    {
      "id": 1,
      "implementation_key": "imp_123",
      "rule_id": 10,
      "status": "published",
      "version": 1
    }
  ]
}

Create rule implementation

post

Creates a new rule implementation. Three creation modes are supported, determined by the payload:

  • Clone mode (operation: "clone" with implementation_ref) – Creates a rule‑less implementation and copies relations from the referenced implementation. The relation clone runs synchronously against the remote cluster.

  • Rule‑bound mode (rule_id present) – Creates an implementation bound to the given rule.

  • Rule‑less mode (no rule_id, no clone) – Creates an implementation without a linked rule.

Permissions: The exact permission depends on the resulting implementation type and whether it is rule‑bound:

  • 'Manage form implementations' for default rule‑bound implementations.

  • 'Manage native implementations' for raw implementations.

  • 'Manage basic implementations' for basic implementations.

  • 'Manage implementations without rule' is additionally required whenever the implementation has no rule_id.

  • 'Review implementations' is additionally required when the payload requests status: "published".

  • 'Manage Implementation segments' is additionally required when the payload includes segments. All permissions are validated against the domain specified in the payload.

The implementation is created in draft unless a published status is requested and permitted. A Location header points to the created resource.

If the clone operation succeeds but the relation copy fails, the implementation is still created and the relation error is handled asynchronously.

Body
Responses
201

Implementation response

application/json
Other propertiesanyOptional
post/api/rule_implementations
POST /api/rule_implementations HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 119

{
  "rule_implementation": {
    "goal": 100,
    "implementation_key": "new_imp",
    "minimum": 50,
    "result_type": "percentage",
    "rule_id": 1
  }
}
{
  "id": 1,
  "implementation_status": "active",
  "rule_id": 11
}

Link data structure to implementation

post

Links a data structure to an implementation.

Permissions: Three permissions are required, each validated on the relevant resource:

  • 'Link implementations to structures' on the implementation's domain.

  • 'View structures' on the data structure's domain.

  • 'Link structures' on the data structure's domain. Administrators bypass all checks. Service accounts are not granted these permissions by default and cannot use this endpoint unless the corresponding ACLs are explicitly assigned to them.

Request body:

  • data_structure_id (required, integer) – ID of the data structure to link.

  • type (required, string) – Role of the structure in the implementation. Common values are 'dataset', 'population', and 'validation'.

The link is created and the response includes the link ID and type. A Location header points to the implementation's show endpoint.

Path parameters
implementation_idintegerRequired

Implementation ID

Body
data_structure_idintegerRequired

ID of the data structure to link

typestringRequired

Link type (e.g., 'dataset', 'population')

Responses
201

Structure link response

application/json
post/api/rule_implementations/{implementation_id}/data_structures
POST /api/rule_implementations/{implementation_id}/data_structures HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 40

{
  "data_structure_id": 1,
  "type": "dataset"
}
{
  "data": {
    "data_structure_id": 5,
    "id": 1,
    "implementation_id": 10,
    "type": "dataset"
  }
}

Upload implementations from CSV

post

Uploads quality implementations from a CSV file. The upload is processed synchronously: rows are parsed, validated, and persisted before the response is returned. Partial success is possible: valid rows are persisted and invalid rows are reported individually in errors.

Permissions: The permission required depends on the resulting implementation type and on the requested status. All checks are applied per row, against the implementation's domain:

  • 'Manage form implementations' for default (rule‑bound) implementations.

  • 'Manage native implementations' for raw implementations.

  • 'Manage basic implementations' for basic implementations.

  • 'Manage implementations without rule' is additionally required whenever the row has no linked rule.

  • 'Manage Implementation segments' is additionally required when the row defines segments.

  • 'Review implementations' is required when the row requests status: "published" or when auto_publish causes the workflow to publish. Administrators and service accounts are always allowed.

Request body (multipart/form-data):

  • implementations (required, file) – CSV file with one implementation per row.

  • auto_publish (optional, string) – 'true' or 'false'. When 'true', the workflow may publish the row if the caller holds the required permission and the published content would change. Default: 'false'.

  • lang (optional, string) – Language used for labels and translations during import. Defaults to the server‑configured application language; the browser language is not read by the API.

File semantics:

  • Creation rows must provide:

    • identifier (required).

    • domain_external_id (required only if the row is not linked to a rule; when a rule is provided, the domain is inherited from the rule and any value in this column is ignored).

    • rule (required only if the implementation should be linked to an existing rule).

    • result_type — one of percentage, errors_number, deviation (or their translated equivalents).

    • goal, threshold.

    • implementation_template (the template name, not the label).

    • All template‑required fields.

  • Update rows must provide either:

    • implementation_ref — identifies the implementation. If the implementation_key in the row differs from the stored one, the key is updated (allowing rename via file).

    • or implementation_key alone — the implementation is located by key.

  • Column semantics: a column that is not present in the CSV leaves the field unchanged; a column that is present but empty clears the field.

  • Mixed content: rows that create and rows that update can coexist in the same file, as can rows with and without a linked rule.

Restrictions:

  • Rows targeting implementations in deprecated, pending_approval, or versioned status are rejected individually.

  • Updating a published implementation creates a new draft version (v+1) instead of overwriting the published one. The published version remains visible until the new draft is published.

  • Changing the rule of an implementation also moves it to the rule's domain.

  • Only basic information is loaded. dataset, population, and validations must be completed through the web interface after the upload.

Response: Contains two lists:

  • ids – IDs of the implementations that were created or updated.

  • errors – Per‑row errors, each with the row's identifier (implementation key or ref) and a message.

Field formats (relevant for CSV content):

  • Number – Numeric string (e.g., 42, 3.14).

  • Date – yyyy-mm-dd, yyyy/mm/dd, dd-mm-yyyy or dd/mm/yyyy.

  • DateTime – Same date patterns, followed by hh:mm:ss.

  • Link – [Link text](https://example.com/).

  • User or Group – user:Full Name or group:Group Name / group:Group Alias (e.g., user:Antonio García, group:Data Team).

  • User – The user's full name without the user: prefix.

  • Group – Group name or alias without the group: prefix.

  • Table / Dynamic Table – Column headers separated by semicolons (;), with a line break inside the cell separating headers from data rows.

  • Multiple Values – Values separated by pipe (|), e.g. user1|user2|user3.

  • Rich Text – Downloaded and uploaded without formatting; remove the column unless uploading plain text content.

  • Dropdown / Radio / Checkbox – Values must match the template definition exactly (case‑sensitive).

Body
auto_publishstring · nullableOptional

Auto-publish flag (true/false)

implementationsstring · binaryRequired

CSV file with implementations

langstring · nullableOptional

Language code (e.g., 'en', 'es')

Responses
200

Upload response

application/json
post/api/rule_implementations/upload
POST /api/rule_implementations/upload HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 69

{
  "auto_publish": "false",
  "implementations": "file content",
  "lang": "en"
}
{
  "data": {
    "errors": [],
    "ids": [
      1,
      2
    ]
  }
}

Get implementation filters

post

Returns the set of available filter values for quality implementation searches, scoped to what the caller is permitted to see.

Permissions: The endpoint is accessible to any caller holding at least one of the following permissions on any domain:

  • 'View quality'

  • 'Manage form implementations'

  • 'Manage native implementations'

  • 'Manage confidential business concepts' When the request includes an executable filter inside filters, the caller must additionally hold the 'Execute implementations' permission, and the returned filter values are computed against the extended permission set (which also includes the executable-implementations scope).

Request body:

  • filters (optional, object) – Optional criteria used to narrow the set of filter values returned (for example, restricting by implementation status or domain).

  • must, must_not (optional, objects) – Alternative filter containers supported by the search layer. The executable marker is only read from filters.

Soft‑deleted implementations are excluded by default; the endpoint applies a without: deleted_at filter internally before computing aggregations. Returns aggregation metadata for the filters, not the implementations themselves. No pagination is applied.

Service accounts receive a default filter limiting the scope to status = published when no explicit status filter is provided. Because filter values are derived from the implementations the caller can see, two users with different permission sets may receive different filter options for the same request.

Body
Other propertiesanyOptional
Responses
200

Filter response

application/json
post/api/rule_implementation_filters/search
POST /api/rule_implementation_filters/search HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "filters": {
    "implementation_status": [
      "active"
    ]
  }
}
{
  "filters": {
    "implementation_status": [
      {
        "count": 1,
        "key": "active"
      }
    ]
  }
}

Search rule implementations

post

Searches rule implementations using Elasticsearch, with the filters supplied as a JSON body.

The set of implementations returned is filtered by the caller's search permissions on the implementations index. These include 'View quality', 'Manage form implementations', 'Manage native implementations', and 'Manage confidential business concepts'. When the payload includes filters.executable = [true], the 'Execute implementations' permission is also taken into account, which broadens the visible scope. Administrators and service accounts see all implementations.

Request body:

  • page, size (optional) – Same meaning as the query parameters.

  • filters, must, must_not (optional, objects) – Structured Elasticsearch‑style filters.

  • scroll, scroll_id (optional) – Enable or continue a scroll session for large result sets. When both are present, page and size are ignored and the response returns a scroll_id for the next page.

The response includes an x-total-count header with the total number of matches, plus an implementations array, a filters object with facet counts when available, and a scroll_id when scrolling is active.

Service accounts receive a default filter (status: published) when no status filter is provided. Soft‑deleted implementations are not automatically excluded by this endpoint; include or exclude them explicitly via the filters.

Query parameters
pageintegerOptional

Page number

Default: 0
sizeintegerOptional

Page size.

Default: 20
Body
pageintegerOptional

Page number

Default: 0
sizeinteger · min: 1Optional

Page size

Default: 20
statusstring · nullableOptional

Filter by status (e.g., 'deleted')

Other propertiesanyOptional
Responses
200

Implementation search response

application/json
scroll_idstring · nullableOptional

Scroll ID for pagination

post/api/rule_implementations/search
POST /api/rule_implementations/search HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 90

{
  "filters": {
    "implementation_status": [
      "active"
    ]
  },
  "must": {
    "rule_id": 123
  },
  "page": 0,
  "size": 20
}
{
  "filters": {
    "implementation_status": [
      {
        "count": 1,
        "key": "active"
      }
    ]
  },
  "implementations": [
    {
      "id": 88,
      "implementation_status": "active",
      "rule_id": 11
    }
  ],
  "scroll_id": null
}

Search rule implementations by rule

post

Returns the implementations linked to a specific rule. This endpoint is intended for clients that already know the rule ID and want to enumerate its implementations.

Requires the 'View quality' permission. The result set is further filtered by the caller's search permissions on the implementations index: 'View quality', 'Manage form implementations', 'Manage native implementations', and 'Manage confidential business concepts'. Administrators and service accounts see all results.

Request body:

  • must.rule_id (required, integer) – The rule whose implementations should be returned. The rule ID is extracted from the request body; other filters from the payload are applied on top.

The listing is capped at 1,000 results per request. Soft‑deleted implementations are excluded unless the request explicitly asks for them. The response includes a _actions object for the caller.

This endpoint is not paginated; use the general implementation search endpoint for large result sets or pagination.

Body
pageintegerOptional

Page number

Default: 0
sizeinteger · min: 1Optional

Page size

Default: 20
statusstring · nullableOptional

Filter by status (e.g., 'deleted')

Other propertiesanyOptional
Responses
200

Implementation search response

application/json
scroll_idstring · nullableOptional

Scroll ID for pagination

post/api/rules/rule_implementations
POST /api/rules/rule_implementations HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 90

{
  "filters": {
    "implementation_status": [
      "active"
    ]
  },
  "must": {
    "rule_id": 123
  },
  "page": 0,
  "size": 20
}
{
  "filters": {
    "implementation_status": [
      {
        "count": 1,
        "key": "active"
      }
    ]
  },
  "implementations": [
    {
      "id": 88,
      "implementation_status": "active",
      "rule_id": 11
    }
  ],
  "scroll_id": null
}

Get rule implementation

get

Retrieves a single rule implementation by its ID, including its rule, results, links, and data structures.

Requires the 'View quality' permission on the implementation's domain. Administrators and service accounts see all implementations.

Behavior: The response includes:

  • quality_event – Last recorded quality event for the implementation.

  • _last_rule_result_ – Most recent rule result.

  • Filtered links – Only business concept links the caller can see.

  • Filtered data_structures – Only structures the caller can view.

  • A _actions object with the operations the caller can perform.

Non‑admin users may receive fewer links or data structures than exist, depending on their permissions on the linked concepts and structures.

Path parameters
idintegerRequired

Implementation ID

Responses
200

Implementation response

application/json
get/api/rule_implementations/{id}
GET /api/rule_implementations/{id} HTTP/1.1
Accept: */*
{
  "_actions": {
    "autoPublish": {
      "href": "/api/rule_implementations/upload",
      "method": "POST"
    },
    "clone": {
      "method": "POST"
    },
    "delete": {
      "method": "POST"
    },
    "link_concept": {
      "method": "POST"
    },
    "link_structure": {
      "method": "POST"
    },
    "restore": {
      "method": "POST"
    },
    "view_approval_pending_concept": {
      "method": "POST"
    },
    "view_draft_concept": {
      "method": "POST"
    },
    "view_published_concept": {
      "method": "POST"
    }
  },
  "data": {
    "df_content": {
      "field": "value"
    },
    "executable": true,
    "goal": 100,
    "id": 1,
    "implementation_key": "imp_123",
    "inserted_at": "2026-06-10T10:00:00Z",
    "minimum": 50,
    "result_type": "percentage",
    "rule_id": 10,
    "status": "published",
    "updated_at": "2026-06-10T10:00:00Z",
    "version": 1
  }
}

Update rule implementation

put

Updates an existing rule implementation.

Permissions: The permission set is derived from the resulting implementation state:

  • 'Manage form implementations' for default implementations.

  • 'Manage native implementations' for raw implementations.

  • 'Manage basic implementations' for basic implementations.

  • 'Manage implementations without rule' when the implementation has no rule_id.

  • 'Manage Implementation segments' when the payload modifies the segments field.

  • 'Review implementations' when the payload requests status: 'published'. All permissions are validated against the implementation's domain. The implementation must be in an editable or versionable state; the request is rejected otherwise.

If the response contains an error field, the update partially succeeded and the error describes what could not be applied.

Path parameters
idintegerRequired

Implementation ID

Body
Responses
200

Implementation response

application/json
Other propertiesanyOptional
put/api/rule_implementations/{id}
PUT /api/rule_implementations/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 56

{
  "rule_implementation": {
    "goal": 90,
    "status": "published"
  }
}
{
  "id": 1,
  "implementation_status": "active",
  "rule_id": 11
}

Delete rule implementation

delete

Deletes a rule implementation. The actual behavior depends on the current status of the implementation:

  • Published implementations are soft‑deleted: the record is kept, its status becomes deprecated and deleted_at is set. The record remains queryable through the deleted scope.

  • Deprecated implementations are hard‑deleted together with all versions sharing the same implementation_ref. This removes the entire version group from the database.

  • Other non‑versioned statuses (e.g., draft, rejected) are hard‑deleted individually.

  • Versioned implementations cannot be deleted; the operation returns success without removing anything.

Permissions: The exact check depends on the implementation's current status:

  • Published implementations require the 'Review implementations' permission on the domain, and the implementation must be in a versionable state.

  • Other statuses require the permission set derived from the implementation's type ('Manage form implementations', 'Manage native implementations', 'Manage basic implementations', 'Manage implementations without rule', and 'Manage Implementation segments' if segments are present), all validated against the implementation's domain. Administrators and service accounts are always allowed.

After the delete, the affected implementations are reindexed in the search engine. If the implementation is in a state that cannot be deleted (e.g., versioned), the endpoint returns 204 No Content without actually removing any record.

Path parameters
idintegerRequired

Implementation ID

Responses
204

No content

No content

delete/api/rule_implementations/{id}
DELETE /api/rule_implementations/{id} HTTP/1.1
Accept: */*

No content

Update rule implementation

patch

Updates an existing rule implementation.

Permissions: The permission set is derived from the resulting implementation state:

  • 'Manage form implementations' for default implementations.

  • 'Manage native implementations' for raw implementations.

  • 'Manage basic implementations' for basic implementations.

  • 'Manage implementations without rule' when the implementation has no rule_id.

  • 'Manage Implementation segments' when the payload modifies the segments field.

  • 'Review implementations' when the payload requests status: 'published'. All permissions are validated against the implementation's domain. The implementation must be in an editable or versionable state; the request is rejected otherwise.

If the response contains an error field, the update partially succeeded and the error describes what could not be applied.

Path parameters
idintegerRequired

Implementation ID

Body
Responses
200

Implementation response

application/json
Other propertiesanyOptional
patch/api/rule_implementations/{id}
PATCH /api/rule_implementations/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 56

{
  "rule_implementation": {
    "goal": 90,
    "status": "published"
  }
}
{
  "id": 1,
  "implementation_status": "active",
  "rule_id": 11
}

Download implementations as XLSX

post

Exports quality implementations as an Excel (XLSX) workbook. The export may contain published, draft or archived implementations that match the filters. A content-disposition header is set with the generated filename.

Permissions: Requires the 'View quality' permission. The workbook is filtered to the implementations visible to the caller; administrators and service accounts see all implementations.

File format:

  • Type: Excel (XLSX).

  • Structure: One sheet per implementation type. The sheet name is the template name (not the template label).

  • Columns per row:

    • Common fields: implementation ref, identifier, type, domain ext id, domain, executable, rule, rule template, implementation template, result type, goal, threshold, records, errors, quality, execution, last execution, inserted at, updated at, concepts, structure domains.

    • Template fields: every field defined by the implementation template.

    • Dataset info: data_set_external_id_1, data_set_external_id_2, … as many as datasets are linked to the implementation.

    • Validation field info: validation_field_1, validation_field_2, … as many as fields exist in the implementation's validation.

  • Language: headers and field values are rendered in the language set by the lang parameter, falling back to the server default.

Query parameters
pageintegerOptional

Page number. Accepted but ignored. The export always streams the complete result set via a scroll query.

sizeintegerOptional

Page size. Accepted but ignored. The export always streams the complete result set via a scroll query.

impl_statusstring · enumOptional

Implementation status filter. Restricts the export to published or non‑published implementations. When omitted, both are included

Possible values:
header_labelsstringOptional

Header labels. Serialized map of custom column labels keyed by the original field name

content_labelsstringOptional

Content labels used to render dynamic content columns.

langstringOptional

Language for headers and content. Defaults to the server‑configured application language; the API does not read the browser language.

Responses
200

XLSX file

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
string · binaryOptionalExample: binary content
post/api/rule_implementations/xlsx/download
POST /api/rule_implementations/xlsx/download HTTP/1.1
Accept: */*
binary content

Reindex implementations

get

Triggers a full reindex of the implementations search index. The reindex is started asynchronously in the background. The endpoint returns 202 Accepted immediately after the task is queued.

Only administrators can reindex implementations.

This is a heavy maintenance operation. Search results may be temporarily incomplete while the index is rebuilt.

Responses
202

Accepted

No content

get/api/rule_implementations/search/reindex_all
GET /api/rule_implementations/search/reindex_all HTTP/1.1
Accept: */*

No content

Unlink data structure from implementation

delete

Removes the link between an implementation and a data structure.

Requires the 'Link implementations to structures' permission on the domain of the implementation associated with the link. Administrators bypass the check; service accounts are not granted this permission by default.

Path parameters
idintegerRequired

Implementation-structure link ID

Responses
204

No content

No content

delete/api/rule_implementations/data_structures/{id}
DELETE /api/rule_implementations/data_structures/{id} HTTP/1.1
Accept: */*

No content

Upload implementations from XLSX

post

Uploads quality implementations from an Excel (XLSX) workbook. The upload is processed asynchronously by a background worker; the endpoint returns a job_id for tracking. If the same file hash is uploaded while a previous job is still pending, the existing job is reused. Processing errors are reported per row via the job's event record.

Permissions: The initial authorization check requires the 'Review implementations' permission (via the :mutation, :submit_implementation policy). In practice this means the caller must hold at least one of the following on the relevant domains:

  • 'Manage implementations without rule'

  • 'Manage form implementations'

  • 'Manage native implementations'

Per‑row permissions are validated by the worker once the job runs:

  • 'Manage form implementations' for default (rule‑bound) implementations.

  • 'Manage native implementations' for raw implementations.

  • 'Manage basic implementations' for basic implementations.

  • 'Manage implementations without rule' when the row has no linked rule.

  • 'Manage Implementation segments' when the row defines segments.

  • 'Review implementations' when the row requests status: "published" or when auto_publish publishes content. Administrators and service accounts are always allowed.

Request body (multipart/form-data):

  • implementations (required, file) – XLSX workbook using the same format as the download endpoint.

File semantics:

  • Creation rows must provide:

    • Identifier (required).

    • Domain ext id (required only if the row is not linked to a rule; when a rule is provided, the domain is inherited from the rule and any value in this column is ignored).

    • Rule (required only if the implementation should be linked to an existing rule).

    • Result Type — one of percentage, errors_number, deviation (or their translated equivalents).

    • Goal, Threshold.

    • Implementation template (the template name, not the label).

    • All template‑required fields.

  • Update rows must provide either:

    • Implementation ref — identifies the implementation. If the implementation key in the file differs, the key is updated (allowing rename via file).

    • or Implementation key alone — the implementation is located by key.

  • Column semantics: a column that is not present in the file leaves the field unchanged; a column that is present but empty clears the field.

  • Mixed content: rows that create and rows that update can coexist in the same workbook, as can rows with and without a linked rule.

Restrictions:

  • Rows targeting implementations in deprecated, pending_approval, or versioned status are rejected individually by the worker.

  • Updating a published implementation creates a new draft version (v+1) instead of overwriting the published one.

  • Changing the rule of an implementation also moves it to the rule's domain.

  • Only basic information is loaded. dataset, population, and validations must be completed through the web interface after the upload.

Field formats (Excel uploads):

  • Number – Excel cell format Number or General.

  • Date – Excel cell format Date, or Text whose value matches one of: yyyy-mm-dd, yyyy/mm/dd, dd-mm-yyyy, dd/mm/yyyy.

  • DateTime – Excel cell format Date, or Text whose value matches one of: yyyy-mm-dd hh:mm:ss, yyyy/mm/dd hh:mm:ss, dd-mm-yyyy hh:mm:ss, dd/mm/yyyy hh:mm:ss.

  • Link – [Link text] (https://example.com/).

  • User or Group – user:Full Name or group:Group Name / group:Group Alias. Example: user:Antonio García, group:Data Team.

  • User – The user's full name without the user: prefix.

  • Group – Group name or alias without the group: prefix.

  • Table / Dynamic Table – Column headers separated by semicolons (;), with a line break inside the cell separating headers from data rows.

  • Multiple Values – Values separated by pipe (|), e.g. user1|user2|user3.

  • Rich Text – Downloaded and uploaded without formatting; remove the column unless uploading plain text content.

  • Dropdown / Radio / Checkbox – Values must match the template definition exactly (case‑sensitive).

Query parameters
langstringOptional

Language used for labels and translations during import. Defaults to the server‑configured application language; the API does not read the browser language.

auto_publishbooleanOptional

When true, the worker may publish rows if the caller holds 'Review implementations' and the published content would change.

Default: false
Body
auto_publishstring · nullableOptional

Auto-publish flag (true/false)

implementationsstring · binaryRequired

XLSX file with implementations

langstring · nullableOptional

Language code (e.g., 'en', 'es')

Responses
200

Upload response

application/json
job_idintegerRequired

Job ID for tracking upload progress

post/api/rule_implementations/xlsx/upload
POST /api/rule_implementations/xlsx/upload HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 69

{
  "auto_publish": "false",
  "implementations": "file_content",
  "lang": "en"
}
{
  "job_id": 123
}

Create implementation result

post

Creates a rule result for the specified implementation.

Requires the 'Manage quality execution results' permission on the domain of the implementation. Administrators and service accounts bypass the domain check.

Request body:

  • rule_result (required) – Object containing:

    • records (required, integer) – Total number of records processed.

    • errors (optional, integer) – Number of errors detected.

    • params (optional, object) – Extra parameters for the execution.

    • date (optional, ISO 8601 timestamp) – Accepted but ignored; the result date is set by the server.

    • implementation_key (optional, string) – Accepted but ignored; the key is taken from the URL.

    • segments (optional, array) – Segment‑level results, each with records, errors, params, and name.

The result is created and any segment results are inserted. The response includes segments_inserted, the number of segment results created.

If no published implementation matches the key, the endpoint returns 404 Not Found.

Path parameters
implementation_idstringRequired

Implementation key

Body
Responses
201

Result response

application/json
post/api/rule_implementations/{implementation_id}/results
POST /api/rule_implementations/{implementation_id}/results HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "rule_result": {
    "errors": 2,
    "params": {
      "foo": "bar"
    },
    "records": 100
  }
}
{
  "data": {
    "id": 1,
    "params": {
      "foo": "bar"
    },
    "result": "98.00"
  }
}

Last updated