Search
Retrieve possible filter values for search facets.
Optional filters to apply when retrieving filter values. Currently unused but reserved for future extensions.
Filter by domain IDs
[1,2,3]Filter by resource type (e.g., 'business_concept')
business_conceptFilter by status values
["pending","approved"]OK
Unauthorized
Internal Server Error
POST /api/relations/filters HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"domain_ids": [
1,
2
],
"resource_type": "business_concept",
"status": [
"pending"
]
}{
"data": {
"source_type": {
"values": [
"business_concept"
]
},
"status": {
"values": [
"pending",
"approved"
]
}
}
}Search for relations with filters, pagination, sorting and scrolling.
Search parameters for relations
Starting offset for pagination
0If true, filters results to those linkable by the user
trueSearch query string
fooScroll time (e.g., '1m') to enable scrolling
1mScroll ID for retrieving next page (when scrolling)
some_scroll_idNumber of results per page
20OK
Unauthorized
Internal Server Error
POST /api/relations/index_search HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"filters": {
"status": [
"pending"
]
},
"from": 0,
"query": "foo",
"size": 20,
"sort": {
"updated_at": "desc"
}
}{
"data": [
{
"domain_ids": [
101,
102
],
"id": 1,
"inserted_at": "2025-01-01T00:00:00Z",
"origin": "suggested",
"source_domain_ids": [
101
],
"source_id": 123,
"source_name": "Concept A",
"source_type": "business_concept",
"status": "pending",
"target_domain_ids": [
102
],
"target_id": 456,
"target_name": "Structure B",
"target_type": "data_structure",
"updated_at": "2025-01-02T00:00:00Z"
}
],
"scroll_id": null
}Triggers a full reindexing of all relations in Elasticsearch.
Reindexing accepted
No content
Unauthorized
Forbidden
Internal Server Error
GET /api/relations/index_search/reindex_all HTTP/1.1
Accept: */*
No content
Last updated