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

Data Structures

Get bucket structures

post

Searches bucket structures using the provided filters.

Results are filtered by the caller's active search permission.

x-total-count reports the total matches.

Permissions:

  • Uses the active search permission, typically 'View structures'.

  • When the request includes my_grant_requests=true, the permission automatically switches to 'Create grant request'.

  • When link_structures=true is present, it switches to 'Link structures'

Body

Search parameters for data structures. Common values include query, filters, must, must_not, with, without, sort, scroll, scroll_id, page (default 0), and size (default 50). filters and must are object-based criteria evaluated by the Elasticsearch layer; the endpoint also supports hierarchical flags such as include_children, data_structure_id, and other catalog-specific values depending on the view being used.

data_structure_idintegerOptional

Optional structure ID used in hierarchical views to filter by parent/child scope.

Example: 123
include_childrenbooleanOptional

When true, includes child structures in the result set for hierarchical queries.

Default: falseExample: true
pageintegerOptional

Page number for pagination (zero-based).

Default: 0Example: 0
querystringOptional

Full-text search query used to narrow data structure results.

Example: customer
scrollstringOptional

Scroll time (for example 1m) to enable scrolling.

Example: 1m
scroll_idstringOptional

Scroll ID for retrieving the next page when scrolling is enabled.

Example: some_scroll_id
sizeinteger · min: 1 · max: 100Optional

Number of results per page.

Default: 50Example: 20
sortone ofOptional

Sorting criteria, either a list of sort fields or a field-order map.

Example: ["_score","name.raw"]
string[]Optional
or
withone ofOptional

Fields that must exist in the result documents.

Example: ["deleted_at","metadata"]
string[]Optional
or
stringOptional
withoutone ofOptional

Fields that must not exist in the result documents.

Example: deleted_at
string[]Optional
or
stringOptional
Other propertiesanyOptional
Responses
200

Bucket structures response

application/json
scroll_idstring · nullableOptional
post/api/buckets/structures
POST /api/buckets/structures HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 119

{
  "filters": {
    "domain_id": [
      101
    ]
  },
  "include_children": true,
  "must": {
    "type": [
      "TABLE"
    ]
  },
  "page": 0,
  "query": "customer",
  "size": 20
}
{
  "data": [
    {
      "domain_ids": [
        101
      ],
      "external_id": "ds_customer_email",
      "id": 123,
      "inserted_at": "2026-06-10T10:00:00Z",
      "metadata": {
        "description": "some description"
      },
      "name": "customer_email",
      "system": {
        "external_id": "sys1",
        "id": 1,
        "name": "System1"
      },
      "type": "Table",
      "updated_at": "2026-06-10T10:00:00Z",
      "version": 0
    }
  ],
  "filters": {
    "domain": [
      {
        "count": 1,
        "key": 101
      }
    ]
  },
  "scroll_id": null
}

Bulk update template content for data structures

post

Updates template content (notes) for data structures using a CSV upload.

Requires the bulk note-update permission.

Request parameters:

  • structures (required) – CSV file containing the template updates. It must contain at least the columns required by the template.

  • lang (optional) – language for labels and translations; defaults to the configured application language.

  • auto_publish (optional) – string 'true' or 'false'; defaults to 'false'. When 'true', the workflow may publish the content if allowed and if the published content would change.

If the same file hash is already being processed, the endpoint returns the existing event status (200 with event details). Otherwise, it starts a background job and returns a task_reference (response status 202).

The response includes hash, status, and task_reference.

Body
auto_publishstring · enumOptionalDefault: falsePossible values:
langstringOptional
structuresstring · binaryRequired
Responses
200

Bulk update template content response

application/json
hashstringOptional
statusstringOptional
post/api/data_structures/bulk_update_template_content
POST /api/data_structures/bulk_update_template_content HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 73

{
  "auto_publish": "false",
  "lang": "en",
  "structures": "@template_updates.csv"
}
{
  "hash": "abc123",
  "status": "JUST_STARTED",
  "task_reference": {
    "job_id": "1"
  }
}

Bulk upload data structure domains

post

Bulk uploads domain assignments for data structures from a CSV payload.

Requires the 'Manage structure domain' permission.

The CSV must contain external_id and domain_external_ids columns; the latter can be a comma-separated list of domain external IDs.

Body
structures_domainsstring · binaryRequired
Responses
200

Bulk upload domains response

application/json
idsinteger[]Optional
post/api/data_structures/bulk_upload_domains
POST /api/data_structures/bulk_upload_domains HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 48

{
  "structures_domains": "@structures_domains.csv"
}
{
  "errors": [
    {
      "external_id": "ds_customer_name",
      "message": {
        "field": [
          "missing"
        ]
      },
      "row": 2
    }
  ],
  "ids": [
    123,
    456
  ]
}

Update data structure

put

Updates the specified data structure using the required data_structure object.

The optional inherit query parameter defaults to false; when true, the update is propagated according to the service workflow.

The data_structure payload must contain at least one updatable field.

Requires the 'Update structures' permission.

Path parameters
idintegerRequired

Data structure ID

Query parameters
inheritbooleanOptional

Whether to inherit changes to versions

Default: false
Body
inheritbooleanOptional
Responses
200

Data structure updated

application/json
put/api/data_structures/{id}
PUT /api/data_structures/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 84

{
  "data_structure": {
    "name": "customer_email",
    "note": "Updated by API"
  },
  "inherit": false
}
{
  "data": {
    "domain_ids": [
      101
    ],
    "external_id": "ds_customer",
    "id": 123,
    "inserted_at": "2026-06-10T10:00:00Z",
    "metadata": {
      "description": "some description"
    },
    "name": "customer_table",
    "system": {
      "external_id": "sys1",
      "id": 1,
      "name": "SystemA"
    },
    "type": "Table",
    "updated_at": "2026-06-10T10:00:00Z",
    "user_permissions": {
      "confidential": true,
      "update": false,
      "view_profiling_permission": false
    },
    "version": 0
  },
  "user_permissions": {
    "confidential": true,
    "update": false,
    "view_profiling_permission": false
  }
}

Delete data structure

delete

Deletes the specified data structure.

The logical query parameter defaults to false: omit it or send false for permanent deletion, and send true to soft-delete the latest version.

Requires the 'Delete structures' permission.

Path parameters
idintegerRequired

Data structure ID

Query parameters
logicalstring · enumOptional

If true, performs logical deletion (soft delete)

Default: falsePossible values:
Responses
204

Data structure deleted

No content

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

No content

Update data structure

patch

Updates the specified data structure using the required data_structure object.

The optional inherit query parameter defaults to false; when true, the update is propagated according to the service workflow.

The data_structure payload must contain at least one updatable field.

Requires the 'Update structures' permission.

Path parameters
idintegerRequired

Data structure ID

Query parameters
inheritbooleanOptional

Whether to inherit changes to versions

Default: false
Body
inheritbooleanOptional
Responses
200

Data structure updated

application/json
patch/api/data_structures/{id}
PATCH /api/data_structures/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 84

{
  "data_structure": {
    "name": "customer_email",
    "note": "Updated by API"
  },
  "inherit": false
}
{
  "data": {
    "domain_ids": [
      101
    ],
    "external_id": "ds_customer",
    "id": 123,
    "inserted_at": "2026-06-10T10:00:00Z",
    "metadata": {
      "description": "some description"
    },
    "name": "customer_table",
    "system": {
      "external_id": "sys1",
      "id": 1,
      "name": "SystemA"
    },
    "type": "Table",
    "updated_at": "2026-06-10T10:00:00Z",
    "user_permissions": {
      "confidential": true,
      "update": false,
      "view_profiling_permission": false
    },
    "version": 0
  },
  "user_permissions": {
    "confidential": true,
    "update": false,
    "view_profiling_permission": false
  }
}

Upload data structures metadata

post

Uploads metadata for data structures via multipart form data.

Requires the 'Manage structure metadata' permission on the target domain. When no domain is specified, the permission is checked globally. Administrators and service accounts can upload metadata without domain restrictions.

Request body (multipart/form-data):

  • data_structures (required) – CSV file with structure metadata. Columns:

    • external_id (required) – Unique structure external ID within the system.

    • name (required) – Structure name.

    • system (required) – System name.

    • group (required) – Group name.

    • type (required) – Structure type.

    • class (optional) – Structure class (e.g., "field").

    • description (optional) – Structure description.

    • ou (optional) – Domain name.

    • m:* (optional) – Metadata fields prefixed with m: (e.g., m:data_type).

  • data_fields (optional) – CSV file with field metadata. Columns:

    • external_id (required) – External ID of the parent structure.

    • field_name (required) – Field name.

    • type (required) – Field type.

    • description (optional) – Field description.

    • nullable (optional) – Field nullability.

    • precision (optional) – Field precision.

    • field_external_id (optional) – Field external ID.

    • m:* (optional) – Metadata fields prefixed with m:.

  • data_structure_relations (optional) – CSV file with structure relations. Columns:

    • parent_external_id (required) – External ID of the parent.

    • child_external_id (required) – External ID of the child.

  • external_id (optional) – When provided, the upload is processed synchronously and the response returns the latest version of the specified structure.

  • parent_external_id (optional) – Parent external ID for synchronous uploads. When provided together with external_id, the parent must already exist.

  • domain (optional) – Domain external ID to assign to all uploaded structures.

  • inherit_domains (optional) – Whether to inherit domains from the parent (true/false). Default: false.

  • source (optional) – Source external ID.

  • op (optional) – Operation type (e.g., 'upsert').

  • job_id (optional) – Job ID for tracking.

Behavior differences:

  • With external_id: The upload is processed synchronously and the latest version of the specified structure is returned.

  • Without external_id: The upload is processed asynchronously and the endpoint returns 202 Accepted immediately.

Body
data_fieldsstring · binary · nullableOptional

CSV file with field metadata

data_structure_relationsstring · binary · nullableOptional

CSV file with structure relations

data_structuresstring · binaryRequired

CSV file with structure metadata

domainstring · nullableOptional

Domain external ID to assign to all structures

external_idstring · nullableOptional

External ID of the structure to update synchronously

inherit_domainsstring · nullableOptional

Inherit domains from parent (true/false)

job_idstring · nullableOptional

Job ID for tracking

opstring · nullableOptional

Operation type (upsert, etc.)

parent_external_idstring · nullableOptional

Parent external ID for synchronous update

sourcestring · nullableOptional

Source external ID

Responses
200

Metadata upload completed

application/json
post/api/data_structures/metadata
POST /api/data_structures/metadata HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 179

{
  "data_fields": "@data_fields.csv",
  "data_structure_relations": "@data_structure_relations.csv",
  "data_structures": "@data_structures.csv",
  "external_id": "parent_structure_external_id"
}
{
  "data": {
    "external_id": "ds_customer_email",
    "group": "Group1",
    "id": 123,
    "name": "customer_email",
    "system": {
      "id": 1,
      "name": "System1"
    },
    "type": "table",
    "version": 1
  }
}

Upload data structures metadata

patch

Uploads metadata for data structures via multipart form data.

Requires the 'Manage structure metadata' permission on the target domain. When no domain is specified, the permission is checked globally. Administrators and service accounts can upload metadata without domain restrictions.

Request body (multipart/form-data):

  • data_structures (required) – CSV file with structure metadata. Columns:

    • external_id (required) – Unique structure external ID within the system.

    • name (required) – Structure name.

    • system (required) – System name.

    • group (required) – Group name.

    • type (required) – Structure type.

    • class (optional) – Structure class (e.g., "field").

    • description (optional) – Structure description.

    • ou (optional) – Domain name.

    • m:* (optional) – Metadata fields prefixed with m: (e.g., m:data_type).

  • data_fields (optional) – CSV file with field metadata. Columns:

    • external_id (required) – External ID of the parent structure.

    • field_name (required) – Field name.

    • type (required) – Field type.

    • description (optional) – Field description.

    • nullable (optional) – Field nullability.

    • precision (optional) – Field precision.

    • field_external_id (optional) – Field external ID.

    • m:* (optional) – Metadata fields prefixed with m:.

  • data_structure_relations (optional) – CSV file with structure relations. Columns:

    • parent_external_id (required) – External ID of the parent.

    • child_external_id (required) – External ID of the child.

  • external_id (optional) – When provided, the upload is processed synchronously and the response returns the latest version of the specified structure.

  • parent_external_id (optional) – Parent external ID for synchronous uploads. When provided together with external_id, the parent must already exist.

  • domain (optional) – Domain external ID to assign to all uploaded structures.

  • inherit_domains (optional) – Whether to inherit domains from the parent (true/false). Default: false.

  • source (optional) – Source external ID.

  • op (optional) – Operation type (e.g., 'upsert').

  • job_id (optional) – Job ID for tracking.

Behavior differences:

  • With external_id: The upload is processed synchronously and the latest version of the specified structure is returned.

  • Without external_id: The upload is processed asynchronously and the endpoint returns 202 Accepted immediately.

Body
data_fieldsstring · binary · nullableOptional

CSV file with field metadata

data_structure_relationsstring · binary · nullableOptional

CSV file with structure relations

data_structuresstring · binaryRequired

CSV file with structure metadata

domainstring · nullableOptional

Domain external ID to assign to all structures

external_idstring · nullableOptional

External ID of the structure to update synchronously

inherit_domainsstring · nullableOptional

Inherit domains from parent (true/false)

job_idstring · nullableOptional

Job ID for tracking

opstring · nullableOptional

Operation type (upsert, etc.)

parent_external_idstring · nullableOptional

Parent external ID for synchronous update

sourcestring · nullableOptional

Source external ID

Responses
200

Metadata upload completed

application/json
patch/api/data_structures/metadata
PATCH /api/data_structures/metadata HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 179

{
  "data_fields": "@data_fields.csv",
  "data_structure_relations": "@data_structure_relations.csv",
  "data_structures": "@data_structures.csv",
  "external_id": "parent_structure_external_id"
}
{
  "data": {
    "external_id": "ds_customer_email",
    "group": "Group1",
    "id": 123,
    "name": "customer_email",
    "system": {
      "id": 1,
      "name": "System1"
    },
    "type": "table",
    "version": 1
  }
}

List data structures

get

Retrieves up to 10,000 data structures using the caller's active search permission.

Does not read query parameters; use the search action for query, filters, sorting, pagination, and scroll behavior.

Soft-deleted structures are excluded by default in the search flow

Permissions:

  • Uses the active search permission, typically 'View structures'.

  • When the request includes my_grant_requests=true, the permission automatically switches to 'Create grant request'.

  • When link_structures=true is present, it switches to 'Link structures'.

Responses
200

Data structures list response

application/json
scroll_idstring · nullableOptional
get/api/data_structures
GET /api/data_structures HTTP/1.1
Accept: */*
{
  "data": [
    {
      "domain_ids": [
        101
      ],
      "external_id": "ds_customer_email",
      "id": 123,
      "inserted_at": "2026-06-10T10:00:00Z",
      "metadata": {
        "description": "some description"
      },
      "name": "customer_email",
      "system": {
        "external_id": "sys1",
        "id": 1,
        "name": "System1"
      },
      "type": "Table",
      "updated_at": "2026-06-10T10:00:00Z",
      "version": 0
    }
  ],
  "filters": {
    "domain": [
      {
        "count": 1,
        "key": 101
      }
    ]
  },
  "scroll_id": null
}

Search structure tags

post

Searches for structure tags (associations between tags and data structures) using optional filters.

Requires the 'View structures' permission.

Request body:

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

  • min_id (optional, integer) – Return structure tags with ID greater than or equal to this value.

  • size (optional, integer) – Maximum number of results to return. If omitted, the service default applies. Only the allowed filters are applied; other fields in the request body are ignored.

The response includes an x-total-count header indicating the total number of matching structure tags.

Body
min_idinteger · nullableOptional

Return structure tags with ID greater than or equal to this value

sincestring · nullableOptional

Return structure tags updated at or after this timestamp (ISO 8601)

sizeinteger · min: 1 · nullableOptional

Maximum number of results to return

Responses
200

Structure tag search response

application/json
post/api/data_structures/structure_tags/search
POST /api/data_structures/structure_tags/search HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 53

{
  "min_id": 1,
  "since": "2026-05-01T00:00:00Z",
  "size": 20
}
{
  "data": [
    {
      "comment": "example",
      "data_structure_id": 123,
      "id": 1,
      "inserted_at": "2026-05-07T10:00:00Z",
      "tag_id": 456,
      "updated_at": "2026-05-07T10:00:00Z"
    }
  ]
}

Get data structures metrics

post

Retrieves data‑structure metrics (aggregates) for the authenticated user.

Requires administrative privileges (administrator or service account).

The supported filter is since, supplied as an ISO-8601 timestamp; page defaults to 0 and size to 50. The response is paginated and includes x-total-count.

Body

Metrics request for data structure aggregates. The optional since parameter can be sent as an ISO-8601 DateTime string to filter metrics from a given date onward. Pagination defaults are page = 0 and size = 50 when not provided.

pageintegerOptional

Page number for pagination.

Default: 0
sincestring · date-timeOptional

Start date for metrics, expressed as an ISO-8601 timestamp.

Example: 2026-06-01T00:00:00Z
sizeinteger · min: 1Optional

Number of results per page.

Default: 50
Other propertiesanyOptional
Responses
200

Data structures metrics

application/json
post/api/data_structures/metrics
POST /api/data_structures/metrics HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "page": 0,
  "since": "2026-05-01T00:00:00Z",
  "size": 20
}
{
  "data": [
    {
      "confidential": false,
      "domain_ids": [
        101
      ],
      "id": 123,
      "inserted_at": "2026-06-10T10:00:00Z",
      "name": "customer_table",
      "system_id": 1,
      "type": "table",
      "updated_at": "2026-06-10T10:00:00Z",
      "version": 1
    }
  ]
}

Bulk update data structures

post

Performs a bulk update on structures selected by search_params using update_attributes.

Requires the bulk note-update permission.

The response is raw JSON containing updated structure IDs in ids and per-item failures in errors; processing can publish when auto_publish is supplied.

Body
Responses
200

Bulk update response

application/json
idsinteger[]Optional
post/api/data_structures/bulk_update
POST /api/data_structures/bulk_update HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 140

{
  "bulk_update_request": {
    "auto_publish": false,
    "search_params": {
      "filters": {
        "domain_id": [
          101
        ]
      }
    },
    "update_attributes": {
      "note": "Updated by API"
    }
  }
}
{
  "errors": [
    {
      "external_id": "ds_customer_name",
      "field": null,
      "message": "content_unchanged"
    }
  ],
  "ids": [
    123,
    456
  ]
}

Search data structures

post

Searches data structures using the supplied filters.

Search parameters are documented in DataStructureSearchRequest schema. page defaults to 0 and size defaults to 50; scroll and scroll_id support retrieving large result sets.

The response contains permission-filtered structures, aggregation filters when returned by the search layer, and a scroll_id when scrolling is active.

The x-total-count header reports the total number of matches.

Permissions:

  • Uses the active search permission, typically 'View structures'.

  • When the request includes my_grant_requests=true, the permission automatically switches to 'Create grant request'.

  • When link_structures=true is present, it switches to 'Link structures'.

Body

Search parameters for data structures. Common values include query, filters, must, must_not, with, without, sort, scroll, scroll_id, page (default 0), and size (default 50). filters and must are object-based criteria evaluated by the Elasticsearch layer; the endpoint also supports hierarchical flags such as include_children, data_structure_id, and other catalog-specific values depending on the view being used.

data_structure_idintegerOptional

Optional structure ID used in hierarchical views to filter by parent/child scope.

Example: 123
include_childrenbooleanOptional

When true, includes child structures in the result set for hierarchical queries.

Default: falseExample: true
pageintegerOptional

Page number for pagination (zero-based).

Default: 0Example: 0
querystringOptional

Full-text search query used to narrow data structure results.

Example: customer
scrollstringOptional

Scroll time (for example 1m) to enable scrolling.

Example: 1m
scroll_idstringOptional

Scroll ID for retrieving the next page when scrolling is enabled.

Example: some_scroll_id
sizeinteger · min: 1 · max: 100Optional

Number of results per page.

Default: 50Example: 20
sortone ofOptional

Sorting criteria, either a list of sort fields or a field-order map.

Example: ["_score","name.raw"]
string[]Optional
or
withone ofOptional

Fields that must exist in the result documents.

Example: ["deleted_at","metadata"]
string[]Optional
or
stringOptional
withoutone ofOptional

Fields that must not exist in the result documents.

Example: deleted_at
string[]Optional
or
stringOptional
Other propertiesanyOptional
Responses
200

Search data structures response

application/json
scroll_idstring · nullableOptional
post/api/data_structures/search
POST /api/data_structures/search HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 119

{
  "filters": {
    "domain_id": [
      101
    ]
  },
  "include_children": true,
  "must": {
    "type": [
      "TABLE"
    ]
  },
  "page": 0,
  "query": "customer",
  "size": 20
}
{
  "data": [
    {
      "domain_ids": [
        101
      ],
      "external_id": "ds_customer_email",
      "id": 123,
      "inserted_at": "2026-06-10T10:00:00Z",
      "metadata": {
        "description": "some description"
      },
      "name": "customer_email",
      "system": {
        "external_id": "sys1",
        "id": 1,
        "name": "System1"
      },
      "type": "Table",
      "updated_at": "2026-06-10T10:00:00Z",
      "version": 0
    }
  ],
  "filters": {
    "domain": [
      {
        "count": 1,
        "key": 101
      }
    ]
  },
  "scroll_id": null
}

Get structures for a system

get

Retrieves up to 1,000 structures for the specified system, excluding deleted structures.

Results are filtered by the caller's active search permission.

x-total-count reports the total matches.

Permissions:

  • Uses the active search permission, typically 'View structures'.

  • When the request includes my_grant_requests=true, the permission automatically switches to 'Create grant request'.

  • When link_structures=true is present, it switches to 'Link structures'.

Path parameters
system_idintegerRequired

System ID

Responses
200

System structures response

application/json
scroll_idstring · nullableOptional
get/api/systems/{system_id}/structures
GET /api/systems/{system_id}/structures HTTP/1.1
Accept: */*
{
  "data": [
    {
      "domain_ids": [
        101
      ],
      "external_id": "ds_customer_email",
      "id": 123,
      "inserted_at": "2026-06-10T10:00:00Z",
      "metadata": {
        "description": "some description"
      },
      "name": "customer_email",
      "system": {
        "external_id": "sys1",
        "id": 1,
        "name": "System1"
      },
      "type": "Table",
      "updated_at": "2026-06-10T10:00:00Z",
      "version": 0
    }
  ],
  "filters": {
    "domain": [
      {
        "count": 1,
        "key": 101
      }
    ]
  },
  "scroll_id": null
}

Last updated