v1

latestOpenAPI 3.1.02026-07-24239123562.1 KB
Search

Search files via Elasticsearch Query Language

Execute advanced search queries using Elasticsearch Query Language to find files based on metadata, content, labels, and processing attributes. Use this for complex search operations that require precise filtering.

post/v1/datalake/searchEql

Query parameters

string[]
OR
string

Headers

ts-auth-tokenstring required

JWT Token for authentication

x-org-slugstring required

Your organization slug

Request body

object required

The Elasticsearch query/aggregation JSON.

Response

200

tookinteger
timed_outboolean

Example response

{
  "took": 4,
  "_shards": {
    "total": 10,
    "successful": 10
  },
  "hits": {
    "total": 1,
    "max_score": 0.2876821,
    "hits": [
      {
        "_index": "client-uat_raw",
        "_type": "entity",
        "_id": "N2FRhmUBsUUn35dwY3Z5",
        "_score": 0.2876821,
        "_source": {
          "fileId": "256dd68f-747c-4135-88e7-6b7dda3ae3e0",
          "orgSlug": "kaleido-uat",
          "category": "raw",
          "sourceType": "egnyte",
          "source": {
            "type": "egnyte",
            "egnyte": {
              "integrationId": "a94b6a27-59e9-4d1d-a014-dbc810f688dd",
              "filePath": "/Shared/client-uat/abc.txt",
              "fileName": "abc.txt",
              "groupId": "6bec083d-ae58-4e29-a3ae-87049a0bc72f",
              "entryId": "61e316d4-94fc-48bd-83bf-911172c68964",
              "checksum": "59ea1c161e1f789b27dfee620f16fdca3da1f4b04cda2480a539cb13540421c245e27314307182aae83e3ad0472e30ac5504c3476573b13ebd55be90daa05fd2",
              "versionId": "61e316d4-94fc-48bd-83bf-911172c68964",
              "lastModifiedTime": "2018-08-23T00:42:42.000Z",
              "versionNum": 2
            }
          },
          "createdAt": "2018-08-29T15:33:25.469Z"
        }
      }
    ]
  }
}