MindsDB home page
Search...
⌘K
Overview
Introduction
Interfaces
REST API
Python SDK
JavaScript SDK
MindsDB home page
Search...
⌘K
Slack
GitHub
Website
Watch Video
Watch Video
Search...
Navigation
Get a Single Prediction
Documentation
Connect
Unify
Respond
MCP API
SDKs & APIs
Contribute
FAQs
Documentation
Connect
Unify
Respond
MCP API
SDKs & APIs
Contribute
FAQs
Slack
GitHub
Website
Watch Video
On this page
Description
Syntax
Get a Single Prediction
Copy page
Copy page
Description
The
query()
function fetches a single prediction from the model.
Syntax
Here is the syntax:
Copy
Ask AI
await model_name.query(queryOptions);
Here are some useful links:
training options
,
query options
,
batch query options
.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
Assistant
Responses are generated using AI and may contain mistakes.