Ditto · Schema

QueryResponse

Response from executing a DQL statement. Contains query results, affected document IDs, and any warnings or errors that occurred.

Developer ToolsDatabaseSynchronizationPeer-to-PeerEdge ComputingOffline-FirstMobile

Properties

Name Type Description
error object
items array
mutatedDocumentIds array
queryType string Indicates the type of query that was executed
totalWarningsCount integer Total number of warnings generated during query execution
transactionId integer
warnings array
View JSON Schema on GitHub

JSON Schema

ditto-live-queryresponse-schema.json Raw ↑
{
  "type": "object",
  "description": "Response from executing a DQL statement. Contains query results, affected document IDs, and any warnings or errors that occurred.",
  "required": [
    "queryType",
    "items",
    "mutatedDocumentIds",
    "warnings",
    "totalWarningsCount"
  ],
  "properties": {
    "error": {
      "$ref": "#/components/schemas/QueryResponseError"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AnyValue"
      }
    },
    "mutatedDocumentIds": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AnyValue"
      }
    },
    "queryType": {
      "type": "string",
      "description": "Indicates the type of query that was executed"
    },
    "totalWarningsCount": {
      "type": "integer",
      "format": "int64",
      "description": "Total number of warnings generated during query execution"
    },
    "transactionId": {
      "type": "integer",
      "format": "int64"
    },
    "warnings": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/QueryResponseWarning"
      }
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "QueryResponse"
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ditto-live-queryresponse"
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.