For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Data Structure Filters

List data structure filters

get

Returns the available data-structure filter buckets for the current request context.

Uses the active search_permission from the request. The response is permission-aware and varies by the caller's visibility and the active permission scope.

Responses
200

Data structure filters

application/json
get/api/data_structure_filters
GET /api/data_structure_filters HTTP/1.1
Accept: */*
{
  "data": {
    "system_id": [
      "1"
    ],
    "type": [
      "TABLE"
    ]
  }
}

Get bucket paths

post

Retrieves hierarchical bucket paths for the supplied filter payload.

Uses the request's active search permission.

The response is designed for UI expansion of hierarchical filters and includes the nested path structure plus the filtered child information used by the client.

Body
bucketstringOptional

Bucket name

prefixstringOptional

Prefix to filter paths

Other propertiesanyOptional
Responses
200

Bucket paths response

application/json
post/api/buckets/paths
POST /api/buckets/paths HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 41

{
  "bucket": "some-bucket",
  "prefix": "data/"
}
{
  "filtered_children": {
    "1": [
      2,
      3
    ],
    "4": []
  },
  "forest": {
    "1": {
      "2": {},
      "3": {}
    },
    "4": {}
  }
}

Search data structure filters

post

Searches data-structure filter values using the supplied payload and the caller's permission context.

Permission overrides:

  • my_grant_requests = true evaluates filter visibility in the 'Create grant request' permission context.

  • link_structures = true evaluates filter visibility in the 'Link structures' permission context.

  • Otherwise, the endpoint uses the default search permission already assigned to the request.

Other request values allowed: query, filters, page and size (optional), scroll and scroll_id for scroll-based pagination

Body

Filter search payload used to compute permission-aware aggregation values for data structures. The request can run against the default search permission or override it with either my_grant_requests or link_structures to adapt the permission context. Common values include query, filters, page (default 0), size (default 50), scroll, and scroll_id.

link_structuresbooleanOptional

If true, computes filter values for structures that the current user can link.

Default: falseExample: true
my_grant_requestsbooleanOptional

If true, computes filter values in the grant-request context for the current user.

Default: falseExample: true
pageintegerOptional

Page number for pagination.

Default: 0Example: 0
querystringOptional

Full-text search query used to narrow the filter candidates.

Example: name
scrollstringOptional

Scroll timeout value, for example 1m.

Example: 1m
scroll_idstringOptional

Scroll ID for retrieving the next section of results.

Example: some_scroll_id
sizeinteger · min: 1Optional

Page size for paginated results.

Default: 50Example: 20
Other propertiesanyOptional
Responses
200

Filtered results

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

{
  "filters": {
    "system_id": 1
  },
  "my_grant_requests": true,
  "page": 0,
  "query": "name",
  "size": 20
}
{
  "data": {
    "system_id": [
      "1"
    ],
    "type": [
      "TABLE"
    ]
  }
}

Last updated