SingleStore · Schema
QueryRequest
Request body for executing a SQL SELECT statement and returning a result set.
DatabaseSQLAnalyticsCloudDistributed SQL
Properties
| Name | Type | Description |
|---|---|---|
| sql | string | The SQL SELECT statement to execute. Any valid SingleStore SQL SELECT syntax is supported. |
| database | string | Name of the database to query. If not provided, the default database for the authenticated user is used. |
| args | array | Positional arguments for parameterized SQL queries. Use ? placeholders in the sql field and provide values in order here. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/singlestore/main/json-schema/singlestore-query-request-schema.json",
"title": "QueryRequest",
"description": "Request body for executing a SQL SELECT statement and returning a result set.",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/singlestore-queries-api-openapi.yml#/components/schemas/QueryRequest",
"type": "object",
"required": [
"sql"
],
"properties": {
"sql": {
"type": "string",
"description": "The SQL SELECT statement to execute. Any valid SingleStore SQL SELECT syntax is supported."
},
"database": {
"type": "string",
"description": "Name of the database to query. If not provided, the default database for the authenticated user is used."
},
"args": {
"type": "array",
"description": "Positional arguments for parameterized SQL queries. Use ? placeholders in the sql field and provide values in order here.",
"items": {}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/singlestore-query-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.