FOLIO · Schema

QueryDetails

The page with content.

CompanyLibrariesLibrary Services PlatformOpen SourceMicroservicesEducation

Properties

Name Type Description
content array The rows of the page.
totalRecords integer The total number of records in this resultset.
queryId string ID of the query
fqlQuery string FQL query
entityTypeId string ID of the entity type
fields array Fields to be included in query results
status string Status of the resultset
failureReason string Reason for query execution failure (if execution failed)
startDate string Date and time when the query execution was started
endDate string Date and time when the query execution was completed
crossTenant boolean Indicates whether a query is cross-tenant
View JSON Schema on GitHub

JSON Schema

folio-query-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/folio/main/json-schema/folio-query-details-schema.json",
  "title": "QueryDetails",
  "description": "The page with content.",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-folio-query-tool-metadata-querytool-openapi.yml#/components/schemas/QueryDetails",
  "type": "object",
  "properties": {
    "content": {
      "description": "The rows of the page.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResultsetContent"
      }
    },
    "totalRecords": {
      "description": "The total number of records in this resultset.",
      "type": "integer"
    },
    "queryId": {
      "description": "ID of the query",
      "type": "string",
      "format": "UUID"
    },
    "fqlQuery": {
      "description": "FQL query",
      "type": "string"
    },
    "entityTypeId": {
      "description": "ID of the entity type",
      "type": "string",
      "format": "UUID"
    },
    "fields": {
      "description": "Fields to be included in query results",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "status": {
      "description": "Status of the resultset",
      "type": "string",
      "enum": [
        "QUEUED",
        "IN_PROGRESS",
        "SUCCESS",
        "FAILED",
        "CANCELLED",
        "MAX_SIZE_EXCEEDED"
      ]
    },
    "failureReason": {
      "description": "Reason for query execution failure (if execution failed)",
      "type": "string"
    },
    "startDate": {
      "description": "Date and time when the query execution was started",
      "type": "string",
      "format": "date-time"
    },
    "endDate": {
      "description": "Date and time when the query execution was completed",
      "type": "string",
      "format": "date-time"
    },
    "crossTenant": {
      "description": "Indicates whether a query is cross-tenant",
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "entityTypeId",
    "status",
    "startDate",
    "queryId",
    "fqlQuery"
  ],
  "additionalProperties": false,
  "$defs": {
    "ResultsetContent": {
      "description": "The content row represented as a map.",
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    }
  }
}

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/folio-query-details"
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.