Folder metadata, catalog, locate, read-file and run-sql have no SDK or MCP
method: call them over HTTP, or with the
ndi CLI. qa-file and
query-tables are client.tools.qa_file and client.tools.query_tables in Python, and
client.tools.qaFile and client.tools.queryTables in TypeScript.
Other routes under .../tools/ that this reference does not list serve the NDI
console and NDI’s own agents. They are not part of the API and can change or
be removed without notice.
Every path is the file’s full path relative to the workspace root, exactly as
uploaded: never a bare file name, a folder, a file id, or a path that starts
with the workspace id. See File paths.
The id-based file metadata response includes source properties in file and
native_metadata, an overall summary, and documents[] and sheets[] with
their own summaries. Each documents[] entry has a single category and
subcategory. Each sheets[] entry has a categories list of
{category, subcategory} pairs, which can be empty. Each sheets[] entry also has queryable
and table_name (the run SQL table name, null
when the metadata cannot state one). Each level carries keywords: string[]
and keyword_descriptions: [{keyword, description}].
description is null when the source does not establish the keyword’s role.
Older ingests may have keywords without generated descriptions.