Skip to main content
For the complete documentation index for agents and LLMs, see llms.txt.

Query Files

POST 

/api/v1/workspaces/:workspace_name/files/_sql

Executes an SQL query on the workspace's file index and returns the raw response. The query must follow the OpenSearch SQL Query syntax.The table must be file. Error responses contain an errors list. The error key is deprecated, so read errors instead, for example {"errors": ["message"]}.

Request​

Responses​

Successful Response