Automatic search
Answers one question from the workspace's ingested files: a quick fact search, or an agent that reads documents and queries tables. The result has routing, output and output_job_id. Successful Drex Search costs $0.10 per million input tokens and $0.50 per million output tokens across its models. The initiating account pays. Cached input is counted once; answer-cache hits, failed and cancelled searches are free. Read the charge in Usage Logs. Missing final usage remains pending.
Request
- Base URLhttps://console.nace.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The workspace's workspace_id.
Query parameters
Hold the request open until the job finishes, up to this many seconds. 0 (default) returns at once; a value above 60 waits 60.
Headers
Up to 200 characters, unique per account. Retry identical inputs with the same key to get the original job; use a new key for changed inputs.
Request body
Response
The job, finished within wait_seconds.
Changes
No recorded changes to this operation across all 1 revision of this API.