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

Data Profiling

Create profile result

post

Creates or updates a profiling result for the specified data structure.

Requires the 'Execute structure profiling' permission. The target structure must be of class field or table; other classes cannot be profiled. If the structure class is not field or table, the operation is rejected. Administrators and service accounts bypass the profilable check only for admin/service actions, but the class restriction still applies.

Request body:

  • profile (required) – Object containing profiling values (e.g., max, min, total_count, null_count, most_frequent, patterns, unique_count).

If a profile already exists for the structure, it is updated; otherwise, a new profile is created.

Path parameters
data_structure_idintegerRequired

Data structure ID

Body
Responses
201

Profile created

application/json
post/api/data_structures/{data_structure_id}/profile_results
POST /api/data_structures/{data_structure_id}/profile_results HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 64

{
  "profile": {
    "max": "100",
    "min": "1",
    "total_count": {
      "value": 1000
    }
  }
}
{
  "data": {
    "data_structure_id": 456,
    "id": 123,
    "updated_at": "2026-05-07T12:34:56Z",
    "value": {
      "total_count": {
        "value": 1000
      }
    }
  }
}

Show profile execution group

get

Retrieves a profile execution group by its ID. The group's executions are filtered to include only those the caller is permitted to view.

Requires the 'View structure profiling' permission. Each execution within the group is additionally validated against the caller's 'View structure profiling' permission.

The response includes only executions visible to the caller. If a group contains no visible executions, an empty list is returned.

Path parameters
idintegerRequired

Profile execution group ID

Responses
200

Profile execution group details

application/json
get/api/profile_execution_groups/{id}
GET /api/profile_execution_groups/{id} HTTP/1.1
Accept: */*
{
  "data": {
    "_embedded": {
      "executions": [
        {
          "_embedded": {
            "data_structure": {
              "external_id": "ds_customer_email",
              "id": 1
            },
            "profile": {
              "total_count": {
                "value": 1000
              }
            },
            "profile_events": []
          },
          "id": 456,
          "inserted_at": "2026-05-07T12:34:56Z"
        }
      ]
    },
    "created_by_id": 456,
    "id": 123,
    "inserted_at": "2026-05-07T12:34:56Z"
  }
}

List profile executions

get

Returns a list of profile executions visible to the current user.

Requires the 'View structure profiling' permission. Each execution is additionally filtered by the caller's 'View structure profiling' permission on the associated domains. Administrators and service accounts bypass the domain‑based filtering and see all executions

No pagination is applied; the full filtered list is returned.

Query parameters
profile_group_idintegerOptional

Filter by profile execution group ID

execution_group_idintegerOptional

Alias for profile_group_id filter

statusstring · enumOptional

Filter pending executions without profile or events

Possible values:
sourcestringOptional

Filter by data source external ID

sourcesstring[]Optional

Filter by multiple data source external IDs

Responses
200

Profile executions

application/json
get/api/profile_executions
GET /api/profile_executions HTTP/1.1
Accept: */*
{
  "data": [
    {
      "id": 123,
      "inserted_at": "2026-05-07T12:34:56Z"
    }
  ]
}

Upload profiling data

post

Uploads profiling data as a CSV file. The file is parsed and the records are loaded asynchronously.

Requires the 'Execute structure profiling' permission.

The CSV is parsed server‑side and the records are queued for background loading. The endpoint returns 202 Accepted immediately. Large files are processed asynchronously.

Body
profilingstring · binaryRequired

CSV file with profiling data

Responses
202

Profile upload accepted

No content

post/api/profiles/upload
POST /api/profiles/upload HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 29

{
  "profiling": "<binary file>"
}

No content

Search profile executions

post

Searches profile executions using a structured search payload. This endpoint behaves like a POST version of the list endpoint, allowing complex filters to be sent in the request body. This endpoint is provided as a convenience for clients that prefer sending search criteria in the request body rather than as query parameters.

Requires the 'View structure profiling' permission. Results are additionally filtered per execution based on the caller's 'View structure profiling' permission on the associated data structure domains.

Request body: Same fields as the list endpoint, but sent as JSON:

  • profile_group_id (optional, integer) – Filter by profile execution group.

  • execution_group_id (optional, integer) – Alias for profile_group_id.

  • status=pending (optional, string) – Return only pending executions.

  • source (optional, string) – Filter by source external ID.

  • sources (optional, array of strings) – Filter by multiple sources.

Delegates to the standard profile execution listing logic. The response shape matches the list endpoint.

Body
execution_group_idinteger · nullableOptional

Alias for profile_group_id filter

profile_group_idinteger · nullableOptional

Filter by profile execution group ID

sourcestring · nullableOptional

Filter by data source external ID

sourcesstring[] · nullableOptional

Filter by multiple data source external IDs

statusstring · enum · nullableOptional

Filter executions without profile or events

Possible values:
Responses
200

Profile executions search results

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

{
  "source": "SYS1",
  "status": "pending"
}
{
  "data": [
    {
      "id": 123,
      "inserted_at": "2026-05-07T12:34:56Z"
    }
  ]
}

Search profiles

post

Searches profiling records matching the supplied criteria.

Requires the 'View structure profiling' permission. Results are further filtered to include only profiles for structures the caller can view.

Request body:

  • limit (optional, integer) – Maximum number of profiles to return.

  • offset (optional, integer) – Number of profiles to skip.

  • since (optional, ISO 8601 timestamp) – Return profiles updated at or after this time.

No pagination metadata (total count) is returned; use limit and offset for manual pagination.

Body
limitintegerOptional

Maximum number of profiles to return

offsetintegerOptional

Number of profiles to skip

sincestringOptional

Return profiles updated at or after this timestamp (ISO 8601)

Responses
200

Search results

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

{
  "limit": 10,
  "offset": 0,
  "since": "2026-01-01T00:00:00Z"
}
{
  "data": [
    {
      "data_structure_id": 456,
      "id": 123,
      "updated_at": "2026-05-07T12:34:56Z",
      "value": {
        "total_count": {
          "value": 1000
        }
      }
    }
  ]
}

Create profile event

post

Creates a profile event associated with the specified profile execution. Profile events are used to track the progress and outcome of profiling operations.

Requires the 'Execute structure profiling' permission.

Request body:

  • profile_event (required) – Object containing:

    • type (optional, string) – Event type (e.g., "SUCCEEDED", "FAILED").

    • message (optional, string, max 1000 chars) – Descriptive message.

The event is created with the execution ID automatically injected into the payload before persistence.

Path parameters
profile_execution_idintegerRequired

Profile execution ID

Body
Responses
201

Profile event

application/json
post/api/profile_executions/{profile_execution_id}/profile_events
POST /api/profile_executions/{profile_execution_id}/profile_events HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 68

{
  "profile_event": {
    "message": "Profile Uploaded.",
    "type": "SUCCEEDED"
  }
}
{
  "data": {
    "id": 123,
    "inserted_at": "2026-05-07T12:34:56Z",
    "message": "Profile Uploaded.",
    "profile_execution_id": 456,
    "type": "SUCCEEDED"
  }
}

Show profile execution

get

Retrieves a specific profile execution by its ID, including its profile data, associated data structure, and profile events.

Requires the 'View structure profiling' permission on the associated data structure's domains.

Returns the execution with its profile, data structure metadata, and events. If available, the latest execution metadata is included.

Path parameters
idintegerRequired

Profile execution ID

Responses
200

Profile execution

application/json
get/api/profile_executions/{id}
GET /api/profile_executions/{id} HTTP/1.1
Accept: */*
{
  "data": {
    "_embedded": {
      "data_structure": {
        "external_id": "ds_customer_email",
        "id": 1
      },
      "profile": {
        "total_count": {
          "value": 1000
        }
      },
      "profile_events": []
    },
    "id": 123,
    "inserted_at": "2026-05-07T12:34:56Z"
  }
}

List profile execution groups

get

Returns a list of all profile execution groups visible to the current user.

Requires the 'View structure profiling' permission. Administrators and service accounts see all groups. Regular users see only groups whose executions they can view.

No pagination is applied; the full list of groups is returned.

Responses
200

List profile execution groups

application/json
get/api/profile_execution_groups
GET /api/profile_execution_groups HTTP/1.1
Accept: */*
{
  "data": [
    {
      "id": 123,
      "inserted_at": "2026-05-07T12:34:56Z"
    }
  ]
}

Create profile execution group

post

Creates a new profile execution group, which triggers profiling for the specified data structures.

Requires the 'Execute structure profiling' permission. Only structures the user can view will be profiled.

Request body (mutually exclusive options):

  • data_structure_ids (optional, array of integers, min 1) – List of data structure IDs to profile. Mutually exclusive with parent_structure_id.

  • parent_structure_id (optional, integer) – Parent structure ID; creates executions for all visible child fields. Mutually exclusive with data_structure_ids. At least one of data_structure_ids or parent_structure_id must be provided. When profiling a parent structure, only child fields the user can view are included.

Body
data_structure_idsinteger[] · min: 1Optional

Data structure IDs to profile. At least one of this or parent_structure_id must be provided.

parent_structure_idintegerOptional

Parent data structure ID. Creates executions for all visible child fields. At least one of this or data_structure_ids must be provided.

Responses
201

Profile execution group created

application/json
post/api/profile_execution_groups
POST /api/profile_execution_groups HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 30

{
  "data_structure_ids": [
    1,
    2,
    3
  ]
}
{
  "data": {
    "_embedded": {
      "executions": [
        {
          "_embedded": {
            "data_structure": {
              "external_id": "ds_customer_email",
              "id": 1
            },
            "profile": {
              "total_count": {
                "value": 1000
              }
            },
            "profile_events": []
          },
          "id": 456,
          "inserted_at": "2026-05-07T12:34:56Z"
        }
      ]
    },
    "created_by_id": 456,
    "id": 123,
    "inserted_at": "2026-05-07T12:34:56Z"
  }
}

Last updated