PostHog · Schema
QueryResponseAlternative77
A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| error | string | Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. |
| hogql | string | Generated HogQL query. |
| modifiers | object | Modifiers used when performing the query |
| query_status | object | Query status indicates whether next to the provided data, a query is still running. |
| resolved_date_range | object | The date range used for the query |
| results | array | |
| timings | array | Measured timings for different parts of the query generation process |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/QueryResponseAlternative77",
"title": "QueryResponseAlternative77",
"additionalProperties": false,
"properties": {
"error": {
"default": null,
"description": "Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise.",
"title": "Error",
"type": "string",
"nullable": true
},
"hogql": {
"default": null,
"description": "Generated HogQL query.",
"title": "Hogql",
"type": "string",
"nullable": true
},
"modifiers": {
"default": null,
"description": "Modifiers used when performing the query",
"allOf": [
{
"$ref": "#/components/schemas/HogQLQueryModifiers"
}
],
"nullable": true
},
"query_status": {
"default": null,
"description": "Query status indicates whether next to the provided data, a query is still running.",
"allOf": [
{
"$ref": "#/components/schemas/QueryStatus"
}
],
"nullable": true
},
"resolved_date_range": {
"default": null,
"description": "The date range used for the query",
"allOf": [
{
"$ref": "#/components/schemas/ResolvedDateRangeResponse"
}
],
"nullable": true
},
"results": {
"items": {
"$ref": "#/components/schemas/LogValueResult"
},
"title": "Results",
"type": "array"
},
"timings": {
"default": null,
"description": "Measured timings for different parts of the query generation process",
"title": "Timings",
"items": {
"$ref": "#/components/schemas/QueryTiming"
},
"type": "array",
"nullable": true
}
},
"required": [
"results"
],
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/posthog-queryresponsealternative77"
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.