Data Structures
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=trueis present, it switches to 'Link structures'
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.
Optional structure ID used in hierarchical views to filter by parent/child scope.
123When true, includes child structures in the result set for hierarchical queries.
falseExample: truePage number for pagination (zero-based).
0Example: 0Full-text search query used to narrow data structure results.
customerScroll time (for example 1m) to enable scrolling.
1mScroll ID for retrieving the next page when scrolling is enabled.
some_scroll_idNumber of results per page.
50Example: 20Sorting criteria, either a list of sort fields or a field-order map.
["_score","name.raw"]Fields that must exist in the result documents.
["deleted_at","metadata"]Fields that must not exist in the result documents.
deleted_atBucket structures response
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
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
}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.
falsePossible values: Bulk update template content response
Bulk update template content accepted
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
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 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.
Bulk upload domains response
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
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
]
}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.
Data structure ID
Whether to inherit changes to versions
falseData structure updated
Unauthorized
Forbidden
Not found
Conflict
Unprocessable Entity
Internal Server Error
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
}
}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.
Data structure ID
If true, performs logical deletion (soft delete)
falsePossible values: Data structure deleted
No content
Unauthorized
Forbidden
Not found
Internal Server Error
DELETE /api/data_structures/{id} HTTP/1.1
Accept: */*
No content
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.
Data structure ID
Whether to inherit changes to versions
falseData structure updated
Unauthorized
Forbidden
Not found
Conflict
Unprocessable Entity
Internal Server Error
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
}
}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 withm:(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 withm:.
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 withexternal_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 returns202 Acceptedimmediately.
CSV file with field metadata
CSV file with structure relations
CSV file with structure metadata
Domain external ID to assign to all structures
External ID of the structure to update synchronously
Inherit domains from parent (true/false)
Job ID for tracking
Operation type (upsert, etc.)
Parent external ID for synchronous update
Source external ID
Metadata upload completed
Metadata upload accepted
Unauthorized
Forbidden
Not found
Unprocessable Entity
Internal Server Error
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
}
}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 withm:(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 withm:.
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 withexternal_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 returns202 Acceptedimmediately.
CSV file with field metadata
CSV file with structure relations
CSV file with structure metadata
Domain external ID to assign to all structures
External ID of the structure to update synchronously
Inherit domains from parent (true/false)
Job ID for tracking
Operation type (upsert, etc.)
Parent external ID for synchronous update
Source external ID
Metadata upload completed
Metadata upload accepted
Unauthorized
Forbidden
Not found
Unprocessable Entity
Internal Server Error
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
}
}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=trueis present, it switches to 'Link structures'.
Data structures list response
Unauthorized
Unprocessable Entity
Internal Server Error
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
}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.
Return structure tags with ID greater than or equal to this value
Return structure tags updated at or after this timestamp (ISO 8601)
Maximum number of results to return
Structure tag search response
Unauthorized
Internal Server Error
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"
}
]
}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.
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.
Page number for pagination.
0Start date for metrics, expressed as an ISO-8601 timestamp.
2026-06-01T00:00:00ZNumber of results per page.
50Data structures metrics
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
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
}
]
}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.
Bulk update response
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
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
]
}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=trueis present, it switches to 'Link structures'.
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.
Optional structure ID used in hierarchical views to filter by parent/child scope.
123When true, includes child structures in the result set for hierarchical queries.
falseExample: truePage number for pagination (zero-based).
0Example: 0Full-text search query used to narrow data structure results.
customerScroll time (for example 1m) to enable scrolling.
1mScroll ID for retrieving the next page when scrolling is enabled.
some_scroll_idNumber of results per page.
50Example: 20Sorting criteria, either a list of sort fields or a field-order map.
["_score","name.raw"]Fields that must exist in the result documents.
["deleted_at","metadata"]Fields that must not exist in the result documents.
deleted_atSearch data structures response
Unauthorized
Unprocessable Entity
Internal Server Error
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
}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=trueis present, it switches to 'Link structures'.
System ID
System structures response
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
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