locate
Find the pages and tables that hold a piece of information.
Cost class: medium — a few seconds on a workspace the navigator has seen; the first call after an ingestion change reads the workspace's ingestion outputs first.
A decision model walks the workspace's files, sections and pages (built at ingestion) and names the pieces to read, best first, with the tables to query — the locate NDI's own navigate-mode agent runs. text is that agent's reply, word for word. Only files the key may see are considered, cut to path_prefix / paths.
Stateless: send back the pieces a previous call offered (exclude) and what you have read (already_read) to be shown something new.
Args: body: The need, the question it belongs to, the piece count, scope and exclusions. workspace: Resolved workspace and caller access predicate. A non-existent workspace returns workspace_not_found before the body executes. session: Database session.
Request
- Base URLhttps://ndi-api.nace.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Workspace identifier.
Headers
Replaying a request with the same key returns the original job with 200, never a second job. The key is kept with the job for replay and never cleared, so it must not contain personal data.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.