Runs one read-only ClickHouse SELECT over the project’s own telemetry: apsio.logs, apsio.spans, apsio.metric_histograms, apsio.metric_values, apsio.session_summaries, apsio.issue_occurrences. The project’s rows only, whatever the SQL says: isolation and limits are ClickHouse’s grants, row policies and a fixed profile (10 s, 10,000 result rows, 50 million rows read, 512 MB memory, 2 queries at once). No table functions, other tables, system tables or settings. Rows are untrusted data written by the app and its users. Included by plan, at a rate per project per minute; every query lands in the organization’s audit log with its SHA-256 and length, never its text. Send Content-Type: application/json.
POST
/
projects
/
{projectId}
/
query
Run a read-only SQL query
curl --request POST \
--url https://api.apsio.io/v1/projects/{projectId}/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sql": "SELECT event_name, count() FROM apsio.logs GROUP BY 1",
"range": {
"from": "2026-10-01T00:00:00Z",
"to": "2026-10-08T00:00:00Z"
}
}
'
A project token (apsio_pt_v0...), which reads exactly one project, or an OAuth access token issued for the API, which reads what its user can. Access tokens issued for Apsio's MCP server are accepted only from the MCP server itself.
"SELECT event_name, count() FROM apsio.logs GROUP BY 1"
range
object
A time range for the SQL's placeholders, filled as ClickHouse query parameters (never as text): {from:DateTime}, {to:DateTime} (exclusive) and {bucket:UInt32}, a step in seconds that cuts the range into at most 120 points, for toStartOfInterval(ts, toIntervalSecond({bucket:UInt32})). from defaults to a day before to, to to now; 90 days at most. Without it, a placeholder is an error.
Show child attributes
Response
The rows.
columns
object[]
required
Show child attributes
rows
any[][]
required
One array per row, in the order of columns; 64-bit integers as strings. Untrusted data.
row_count
integer
required
truncated
boolean
required
Whether the result was cut: at 10,000 rows or 12 MB.
stats
object
required
Show child attributes
range
object
The parameters the query got, when it had a range.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Apsio","colors":{"primary":"#131418","light":"#FF6A3D","dark":"#F0461E"},"logo":{"light":"https://mintcdn.com/apsio/LJP03O8K4PbOefq-/logo/light.svg?fit=max\u0026auto=format\u0026n=LJP03O8K4PbOefq-\u0026q=85\u0026s=46b1c21d1bd3b622839f31f43b435951","dark":"https://mintcdn.com/apsio/LJP03O8K4PbOefq-/logo/dark.svg?fit=max\u0026auto=format\u0026n=LJP03O8K4PbOefq-\u0026q=85\u0026s=5779bddffb525d4ed183cbeda3ee64d4","href":"https://docs.apsio.io"},"favicon":"https://mintcdn.com/apsio/LJP03O8K4PbOefq-/favicon.svg?fit=max\u0026auto=format\u0026n=LJP03O8K4PbOefq-\u0026q=85\u0026s=5fd934a3961d449f249b7aa8cf03ec6b","appearance":{"default":"system"},"background":{"color":{"light":"#F4F4F1","dark":"#0B0C0F"}},"navbar":{"links":[{"href":"https://apsio.io","label":"Product"},{"href":"https://apsio.io/pricing/","label":"Pricing"},{"href":"https://spec.apsio.io/v0.1/","label":"Specification"},{"href":"https://app.apsio.io/","label":"Sign in"}],"primary":{"type":"button","label":"Start a trial","href":"https://app.apsio.io/signup"}},"footer":{"links":[{"header":"Apsio","items":[{"label":"apsio.io","href":"https://apsio.io"},{"label":"Status","href":"https://status.apsio.io"},{"label":"Specification","href":"https://spec.apsio.io/v0.1"},{"label":"GitHub","href":"https://github.com/Apsio"}]}]},"fonts":{"heading":{"family":"Funnel Display","weight":650,"source":"fonts/funnel-display-latin-wght-normal.woff2","format":"woff2"},"body":{"family":"Funnel Sans","weight":400,"source":"fonts/funnel-sans-latin-wght-normal.woff2","format":"woff2"}},"styling":{"codeblocks":{"theme":"css-variables"},"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"apsio","hasAudioNarration":false,"actualSubdomain":"apsio","customDomains":["docs.apsio.io"],"gitSource":{"type":"github","owner":"apsio","repo":"apsio","deployBranch":"main","contentDirectory":"docs/site","isPrivate":true,"mountPath":"","label":"","_id":"6b1102819ffae5051c41e6f1"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b109c02e5994fd10c1ed1bb","clientVersion":"0.0.4436","searchFilterCounts":[{"language":"default","tag":"API","count":93},{"language":"default","tag":"API reference","count":92},{"language":"default","tag":"Concepts","count":15},{"language":"default","tag":"Symbols","count":7},{"language":"default","tag":"SDKs","count":6},{"language":"default","tag":"Get started","count":2},{"language":"default","tag":"Agents","count":1},{"language":"default","tag":"Privacy and security","count":1},{"language":"default","tag":"Pricing","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Funnel Sans\";src:url(\"/fonts/funnel-sans-latin-wght-normal.woff2\") format(\"woff2\");font-weight:300 800;font-display:swap}@font-face{font-family:\"Martian Mono\";src:url(\"/fonts/martian-mono-latin-standard-normal.woff2\") format(\"woff2\");font-weight:100 800;font-stretch:75% 112.5%;font-display:swap}:root{--ink: #131418;--ink-2: #44464e;--ink-3-text: #5f616a;--plate: #f4f4f1;--surface: #ffffff;--surface-2: #f8f8f6;--rule: #e0e0dc;--rule-strong: #c2c2be;--peri: #bf3410;--code-bg: #0e0f13;--code-rule: #0e0f13;--f-display: \"Funnel Display\", \"Helvetica Neue\", Arial, sans-serif;--f-body: \"Funnel Sans\", \"Segoe UI\", system-ui, sans-serif;--f-mono: \"Martian Mono\", ui-monospace, \"SF Mono\", Menlo, Consolas, monospace}html.dark{--ink: #f1f0ec;--ink-2: #b4b4bc;--ink-3-text: #8e8f99;--plate: #0b0c0f;--surface: #15161b;--surface-2: #1a1b21;--rule: #26272c;--rule-strong: #3e3f46;--peri: #ff8a5e;--code-bg: #0e0f13;--code-rule: #26272c}.code-block,.code-group,pre.shiki{--mint-foreground: #e6e5e0;--mint-background: var(--code-bg);--mint-token-keyword: #ffb08a;--mint-token-constant: #b9e6c9;--mint-token-string: #b9e6c9;--mint-token-string-expression: #b9e6c9;--mint-token-link: #b9e6c9;--mint-token-comment: #8e8f99;--mint-token-punctuation: #8e8f99;--mint-token-function: #e6e5e0;--mint-token-parameter: #e6e5e0}html.dark :is(.code-block,.code-group,pre.shiki){--mint-token-keyword: #ffb08a;--mint-token-comment: #8e8f99;--mint-token-punctuation: #8e8f99}body{background-color:var(--plate)}:focus-visible{outline-color:var(--peri)}#content-area :is(h1,h2,h3,h4),#page-title{font-family:var(--f-display);letter-spacing:-0.02em;text-wrap:balance;color:var(--ink)}#page-title{font-weight:700;letter-spacing:-0.035em}#content-area h2{padding-top:28px;border-top:1px solid var(--rule)}#content-area a.link,#content a:not([class]){color:var(--ink);font-weight:inherit;border-bottom:0;text-decoration:underline;text-decoration-color:var(--rule-strong);text-underline-offset:3px;text-decoration-thickness:1px}#content-area a.link:hover,#content a:not([class]):hover{text-decoration-color:var(--ink);border-bottom:0}#content :not(pre)>code{font-family:var(--f-mono);font-size:0.86em;font-weight:400;color:var(--ink);background:var(--surface-2);border:1px solid var(--rule);border-radius:3px;padding:0 4px}#content .code-block,.code-group{background:var(--code-bg)!important;border:1px solid var(--code-rule)!important;border-radius:6px!important;color:#e6e5e0}#content .code-block pre,.code-group pre{background:var(--code-bg)!important;font-family:var(--f-mono);font-size:13px;line-height:1.65}#content .code-block :is([data-component-part=\"code-block-header\"],[data-component-part=\"code-group-tab-bar\"]),.code-group [data-component-part=\"code-group-tab-bar\"]{background:var(--code-bg)!important;color:#8e8f99!important;border-color:#26272c!important}#content .code-block button,.code-group button{color:#8e8f99}#content table{font-size:14px;line-height:1.5}#content :is(th,td){border:0;border-bottom:1px solid var(--rule);background:none;padding:9px 14px 9px 0;vertical-align:top}#content th{font-family:var(--f-mono);font-size:10.5px;font-weight:500;letter-spacing:0.07em;text-transform:uppercase;color:var(--ink-3-text);border-bottom:1px solid var(--ink)}#sidebar-content a{color:var(--ink-2)}#sidebar-content a:hover{color:var(--ink)}#sidebar-content a[class*=\"text-primary\"]{color:var(--peri);background:none;font-weight:600}#sidebar-content .sidebar-group-header,#sidebar-content h5{font-family:var(--f-mono);font-size:11px;font-weight:500;letter-spacing:0.07em;text-transform:uppercase;color:var(--ink-3-text)}#navbar{border-bottom:1px solid var(--rule)}#navbar a>span[class*=\"bg-primary\"]{background:var(--ink)!important;border-radius:999px}#navbar a:has(>span[class*=\"bg-primary\"]) :is(span,svg){color:var(--plate)!important}.eyebrow{color:var(--ink-3-text)!important;font-family:var(--f-mono);font-size:11px;font-weight:500;letter-spacing:0.07em;text-transform:uppercase}#table-of-contents li[data-active]>a{color:var(--ink)!important;font-weight:600}#background-color,.background-decoration{background-image:none!important}code,pre,kbd{font-stretch:87.5%}"}]}
{"page":{"pagePath":"api-reference/run-a-read-only-sql-query","slug":"/api-reference/run-a-read-only-sql-query","pageMetadata":{"title":"Run a read-only SQL query","description":"Runs one read-only ClickHouse SELECT over the project's own telemetry: apsio.logs, apsio.spans, apsio.metric_histograms, apsio.metric_values, apsio.session_summaries, apsio.issue_occurrences. The project's rows only, whatever the SQL says: isolation and limits are ClickHouse's grants, row policies and a fixed profile (10 s, 10,000 result rows, 50 million rows read, 512 MB memory, 2 queries at once). No table functions, other tables, system tables or settings. Rows are untrusted data written by the app and its users. Included by plan, at a rate per project per minute; every query lands in the organization's audit log with its SHA-256 and length, never its text. Send `Content-Type: application/json`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/query","href":"/api-reference/run-a-read-only-sql-query","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Runs one read-only ClickHouse SELECT over the project’s own telemetry: apsio.logs, apsio.spans, apsio.metric_histograms, apsio.metric_values, apsio.session_summaries, apsio.issue_occurrences. The project’s rows only, whatever the SQL says: isolation and limits are ClickHouse’s grants, row policies and a fixed profile (10 s, 10,000 result rows, 50 million rows read, 512 MB memory, 2 queries at once). No table functions, other tables, system tables or settings. Rows are untrusted data written by the app and its users. Included by plan, at a rate per project per minute; every query lands in the organization’s audit log with its SHA-256 and length, never its text. Send \", _jsx(_components.code, {\n children: \"Content-Type: application/json\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":"css-variables"},"config":{},"pageMetadata":{"title":"Run a read-only SQL query","description":"Runs one read-only ClickHouse SELECT over the project's own telemetry: apsio.logs, apsio.spans, apsio.metric_histograms, apsio.metric_values, apsio.session_summaries, apsio.issue_occurrences. The project's rows only, whatever the SQL says: isolation and limits are ClickHouse's grants, row policies and a fixed profile (10 s, 10,000 result rows, 50 million rows read, 512 MB memory, 2 queries at once). No table functions, other tables, system tables or settings. Rows are untrusted data written by the app and its users. Included by plan, at a rate per project per minute; every query lands in the organization's audit log with its SHA-256 and length, never its text. Send `Content-Type: application/json`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/query","href":"/api-reference/run-a-read-only-sql-query","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Run a read-only SQL query","description":"Runs one read-only ClickHouse SELECT over the project's own telemetry: apsio.logs, apsio.spans, apsio.metric_histograms, apsio.metric_values, apsio.session_summaries, apsio.issue_occurrences. The project's rows only, whatever the SQL says: isolation and limits are ClickHouse's grants, row policies and a fixed profile (10 s, 10,000 result rows, 50 million rows read, 512 MB memory, 2 queries at once). No table functions, other tables, system tables or settings. Rows are untrusted data written by the app and its users. Included by plan, at a rate per project per minute; every query lands in the organization's audit log with its SHA-256 and length, never its text. Send `Content-Type: application/json`.","security":["3632e2f5-50ed-44e0-9442-b464e3fa2162"],"parameters":["cfc8785d-5546-49af-a7ac-d52f0855d245"],"requestBody":"65dec12b-78a2-4345-b40a-215b819975e3","responses":{"200":"d17fba85-2c9a-4c75-ac7d-fbde632976e9","400":"5e0a4227-7685-418e-bb52-54f5941d73b6","401":"ea20567d-37e0-431d-b834-6c55682a3f67","403":"25b2257e-c680-40e8-977c-bb50d8c511e6","410":"0c361c0e-df0c-493c-ab40-c8a434eb1dc5","415":"51b0d1ea-0c6a-4502-94de-1b62bcb78189","422":"e6b88d62-21c8-46bd-ae6f-9bdf982d7b35","429":"f81d8a19-0eb6-461c-930c-f45c9af26261","503":"ff1fcab5-c5d9-4cb2-b720-314e78670a2c"},"method":"post","type":"path","servers":["0c61a949-c61f-4716-894d-e2d5fa1b5c18"],"path":"/projects/{projectId}/query","baseUrlOptions":["https://api.apsio.io/v1"],"title":"Run a read-only SQL query","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"cfc8785d-5546-49af-a7ac-d52f0855d245":{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","example":"0192f3a4-0000-7000-8000-00000000a101","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"name":"projectId","in":"path"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sql":{"type":"string","minLength":1,"maxLength":10000,"example":"SELECT event_name, count() FROM apsio.logs GROUP BY 1","isRequired":true,"uniqueKey":"sql","typeLabel":"string"},"range":{"type":"object","properties":{"from":{"type":"string","format":"date-time","description":"Start of the time range, inclusive (RFC 3339). Defaults to the range end minus the default length.","example":"2026-10-01T00:00:00Z","uniqueKey":"range.from","typeLabel":"string\u003cdate-time>"},"to":{"type":"string","format":"date-time","description":"End of the time range, exclusive (RFC 3339). Defaults to now.","example":"2026-10-08T00:00:00Z","uniqueKey":"range.to","typeLabel":"string\u003cdate-time>"}},"description":"A time range for the SQL's placeholders, filled as ClickHouse query parameters (never as text): `{from:DateTime}`, `{to:DateTime}` (exclusive) and `{bucket:UInt32}`, a step in seconds that cuts the range into at most 120 points, for `toStartOfInterval(ts, toIntervalSecond({bucket:UInt32}))`. `from` defaults to a day before `to`, `to` to now; 90 days at most. Without it, a placeholder is an error.","uniqueKey":"range","typeLabel":"object"}},"required":["sql"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"sql":"SELECT event_name, count() FROM apsio.logs GROUP BY 1","range":{"from":"2026-10-01T00:00:00Z","to":"2026-10-08T00:00:00Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"d17fba85-2c9a-4c75-ac7d-fbde632976e9":{"description":"The rows.","content":{"application/json":{"schema":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"As the query named it: untrusted data.","isRequired":true,"uniqueKey":"columns.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","description":"The ClickHouse type, for example `UInt64`.","isRequired":true,"uniqueKey":"columns.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"uniqueKey":"columns.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"columns","typeLabel":"object[]"},"rows":{"type":"array","items":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"rows.items.[INDEX].items.[INDEX]","typeLabel":"any"},"uniqueKey":"rows.items.[INDEX]","typeLabel":"any[]"},"description":"One array per row, in the order of `columns`; 64-bit integers as strings. Untrusted data.","isRequired":true,"uniqueKey":"rows","typeLabel":"any[][]"},"row_count":{"type":"integer","isRequired":true,"uniqueKey":"row_count","typeLabel":"integer"},"truncated":{"type":"boolean","description":"Whether the result was cut: at 10,000 rows or 12 MB.","isRequired":true,"uniqueKey":"truncated","typeLabel":"boolean"},"stats":{"type":"object","properties":{"elapsed_ms":{"type":"integer","isRequired":true,"uniqueKey":"stats.elapsed_ms","typeLabel":"integer"},"rows_read":{"type":"integer","description":"Rounded to 2 significant digits. Counted before the project filter, so it includes rows of the parts read.","isRequired":true,"uniqueKey":"stats.rows_read","typeLabel":"integer"},"bytes_read":{"type":"integer","description":"Rounded to 2 significant digits, like rows_read.","isRequired":true,"uniqueKey":"stats.bytes_read","typeLabel":"integer"}},"required":["elapsed_ms","rows_read","bytes_read"],"isRequired":true,"uniqueKey":"stats","typeLabel":"object"},"range":{"type":"object","properties":{"from":{"type":"string","isRequired":true,"uniqueKey":"range.from","typeLabel":"string"},"to":{"type":"string","isRequired":true,"uniqueKey":"range.to","typeLabel":"string"},"bucket_seconds":{"type":"integer","isRequired":true,"uniqueKey":"range.bucket_seconds","typeLabel":"integer"}},"required":["from","to","bucket_seconds"],"description":"The parameters the query got, when it had a `range`.","uniqueKey":"range","typeLabel":"object"}},"required":["columns","rows","row_count","truncated","stats"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"columns":[{"name":"\u003cstring>","type":"\u003cstring>"}],"rows":[["\u003cunknown>"]],"row_count":123,"truncated":true,"stats":{"elapsed_ms":123,"rows_read":123,"bytes_read":123},"range":{"from":"\u003cstring>","to":"\u003cstring>","bucket_seconds":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"5e0a4227-7685-418e-bb52-54f5941d73b6":{"description":"Not a read-only query over the telemetry tables, or it failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"subject":{"type":"string","enum":["organization","project"],"description":"With `erasing` (410) only: what is being deleted, the organization or the project.","uniqueKey":"error.subject","typeLabel":"enum\u003cstring>"},"queries_per_minute":{"type":"integer","description":"With `rate_limited` (429) from run_query only: the project's queries a minute.","uniqueKey":"error.queries_per_minute","typeLabel":"integer"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","subject":"organization","queries_per_minute":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"ea20567d-37e0-431d-b834-6c55682a3f67":{"description":"No valid bearer token or console session.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"subject":{"type":"string","enum":["organization","project"],"description":"With `erasing` (410) only: what is being deleted, the organization or the project.","uniqueKey":"error.subject","typeLabel":"enum\u003cstring>"},"queries_per_minute":{"type":"integer","description":"With `rate_limited` (429) from run_query only: the project's queries a minute.","uniqueKey":"error.queries_per_minute","typeLabel":"integer"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","subject":"organization","queries_per_minute":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"25b2257e-c680-40e8-977c-bb50d8c511e6":{"description":"The credentials cannot read this project, or the plan doesn't include run_query.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"subject":{"type":"string","enum":["organization","project"],"description":"With `erasing` (410) only: what is being deleted, the organization or the project.","uniqueKey":"error.subject","typeLabel":"enum\u003cstring>"},"queries_per_minute":{"type":"integer","description":"With `rate_limited` (429) from run_query only: the project's queries a minute.","uniqueKey":"error.queries_per_minute","typeLabel":"integer"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","subject":"organization","queries_per_minute":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"0c361c0e-df0c-493c-ab40-c8a434eb1dc5":{"description":"The organization is being deleted (`erasing`); do not retry.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"subject":{"type":"string","enum":["organization","project"],"description":"With `erasing` (410) only: what is being deleted, the organization or the project.","uniqueKey":"error.subject","typeLabel":"enum\u003cstring>"},"queries_per_minute":{"type":"integer","description":"With `rate_limited` (429) from run_query only: the project's queries a minute.","uniqueKey":"error.queries_per_minute","typeLabel":"integer"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","subject":"organization","queries_per_minute":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"51b0d1ea-0c6a-4502-94de-1b62bcb78189":{"description":"The body is not JSON.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"subject":{"type":"string","enum":["organization","project"],"description":"With `erasing` (410) only: what is being deleted, the organization or the project.","uniqueKey":"error.subject","typeLabel":"enum\u003cstring>"},"queries_per_minute":{"type":"integer","description":"With `rate_limited` (429) from run_query only: the project's queries a minute.","uniqueKey":"error.queries_per_minute","typeLabel":"integer"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","subject":"organization","queries_per_minute":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"e6b88d62-21c8-46bd-ae6f-9bdf982d7b35":{"description":"The query hit a limit.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"subject":{"type":"string","enum":["organization","project"],"description":"With `erasing` (410) only: what is being deleted, the organization or the project.","uniqueKey":"error.subject","typeLabel":"enum\u003cstring>"},"queries_per_minute":{"type":"integer","description":"With `rate_limited` (429) from run_query only: the project's queries a minute.","uniqueKey":"error.queries_per_minute","typeLabel":"integer"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","subject":"organization","queries_per_minute":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"f81d8a19-0eb6-461c-930c-f45c9af26261":{"description":"Over the plan's rate (`rate_limited`, with the rate as `queries_per_minute`), or two of the project's queries are running.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"subject":{"type":"string","enum":["organization","project"],"description":"With `erasing` (410) only: what is being deleted, the organization or the project.","uniqueKey":"error.subject","typeLabel":"enum\u003cstring>"},"queries_per_minute":{"type":"integer","description":"With `rate_limited` (429) from run_query only: the project's queries a minute.","uniqueKey":"error.queries_per_minute","typeLabel":"integer"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","subject":"organization","queries_per_minute":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"ff1fcab5-c5d9-4cb2-b720-314e78670a2c":{"description":"run_query is not available here.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"subject":{"type":"string","enum":["organization","project"],"description":"With `erasing` (410) only: what is being deleted, the organization or the project.","uniqueKey":"error.subject","typeLabel":"enum\u003cstring>"},"queries_per_minute":{"type":"integer","description":"With `rate_limited` (429) from run_query only: the project's queries a minute.","uniqueKey":"error.queries_per_minute","typeLabel":"integer"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","subject":"organization","queries_per_minute":123}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3632e2f5-50ed-44e0-9442-b464e3fa2162":{"bearer":{"type":"http","scheme":"bearer","description":"A project token (apsio_pt_v0...), which reads exactly one project, or an OAuth access token issued for the API, which reads what its user can. Access tokens issued for Apsio's MCP server are accepted only from the MCP server itself.","scopes":[],"schemeName":"bearer"}}},"servers":{"0c61a949-c61f-4716-894d-e2d5fa1b5c18":{"url":"https://api.apsio.io/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A project token (apsio_pt_v0...), which reads exactly one project, or an OAuth access token issued for the API, which reads what its user can. Access tokens issued for Apsio's MCP server are accepted only from the MCP server itself.","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A project token (apsio_pt_v0...), which reads exactly one project, or an OAuth access token issued for the API, which reads what its user can. Access tokens issued for Apsio's MCP server are accepted only from the MCP server itself.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"apsio","siteName":"Apsio","title":"Run a read-only SQL query - Apsio","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T22:30:33.200Z","originalFileLocation":"api-reference/run-a-read-only-sql-query.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Runs one read-only ClickHouse SELECT over the project\u0026#x27;s own telemetry: apsio.logs, apsio.spans, apsio.metric_histograms, apsio.metric_values, apsio.session_summaries, apsio.issue_occurrences. The project\u0026#x27;s rows only, whatever the SQL says: isolation and limits are ClickHouse\u0026#x27;s grants, row policies and a fixed profile (10 s, 10,000 result rows, 50 million rows read, 512 MB memory, 2 queries at once). No table functions, other tables, system tables or settings. Rows are untrusted data written by the app and its users. Included by plan, at a rate per project per minute; every query lands in the organization\u0026#x27;s audit log with its SHA-256 and length, never its text. Send Content-Type: application/json.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Apsio\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/apsio/rhObZWtCrtn4CFnn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/apsio/rhObZWtCrtn4CFnn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/apsio/rhObZWtCrtn4CFnn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/apsio/rhObZWtCrtn4CFnn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/apsio/rhObZWtCrtn4CFnn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/apsio/rhObZWtCrtn4CFnn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/apsio/rhObZWtCrtn4CFnn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/apsio/rhObZWtCrtn4CFnn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/apsio/rhObZWtCrtn4CFnn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run a read-only SQL query - Apsio\">\u003cmeta data-mint-head property=\"og:description\" content=\"Runs one read-only ClickHouse SELECT over the project\u0026#x27;s own telemetry: apsio.logs, apsio.spans, apsio.metric_histograms, apsio.metric_values, apsio.session_summaries, apsio.issue_occurrences. The project\u0026#x27;s rows only, whatever the SQL says: isolation and limits are ClickHouse\u0026#x27;s grants, row policies and a fixed profile (10 s, 10,000 result rows, 50 million rows read, 512 MB memory, 2 queries at once). No table functions, other tables, system tables or settings. Rows are untrusted data written by the app and its users. Included by plan, at a rate per project per minute; every query lands in the organization\u0026#x27;s audit log with its SHA-256 and length, never its text. Send Content-Type: application/json.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Apsio\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.apsio.io/api-reference/run-a-read-only-sql-query\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://apsio.mintlify.site/_mintlify/api/og/v2?division=API+reference\u0026amp;title=Run+a+read-only+SQL+query\u0026amp;description=Runs+one+read-only+ClickHouse+SELECT+over+the+project%27s+own+telemetry%3A+apsio.logs%2C+apsio.spans%2C+apsio.metric_histograms%2C+apsio.metric_values%2C+apsio.session_summ\u0026amp;theme=68c4e786bbb08da004351de6\u0026amp;signature=7186c916f06bda4e8f6c0867d59e01bce4b236390868ee5573793084a1e3e345\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Run a read-only SQL query - Apsio\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Runs one read-only ClickHouse SELECT over the project\u0026#x27;s own telemetry: apsio.logs, apsio.spans, apsio.metric_histograms, apsio.metric_values, apsio.session_summaries, apsio.issue_occurrences. The project\u0026#x27;s rows only, whatever the SQL says: isolation and limits are ClickHouse\u0026#x27;s grants, row policies and a fixed profile (10 s, 10,000 result rows, 50 million rows read, 512 MB memory, 2 queries at once). No table functions, other tables, system tables or settings. Rows are untrusted data written by the app and its users. Included by plan, at a rate per project per minute; every query lands in the organization\u0026#x27;s audit log with its SHA-256 and length, never its text. Send Content-Type: application/json.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://apsio.mintlify.site/_mintlify/api/og/v2?division=API+reference\u0026amp;title=Run+a+read-only+SQL+query\u0026amp;description=Runs+one+read-only+ClickHouse+SELECT+over+the+project%27s+own+telemetry%3A+apsio.logs%2C+apsio.spans%2C+apsio.metric_histograms%2C+apsio.metric_values%2C+apsio.session_summ\u0026amp;theme=68c4e786bbb08da004351de6\u0026amp;signature=7186c916f06bda4e8f6c0867d59e01bce4b236390868ee5573793084a1e3e345\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/apsio/rhObZWtCrtn4CFnn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Apsio\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#131418\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.apsio.io/api-reference/run-a-read-only-sql-query\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/run-a-read-only-sql-query.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.apsio.io/#organization\",\"name\":\"Apsio\",\"url\":\"https://docs.apsio.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/apsio/LJP03O8K4PbOefq-/logo/light.svg?fit=max\u0026auto=format\u0026n=LJP03O8K4PbOefq-\u0026q=85\u0026s=46b1c21d1bd3b622839f31f43b435951\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.apsio.io#website\",\"name\":\"Apsio\",\"url\":\"https://docs.apsio.io\",\"publisher\":{\"@id\":\"https://docs.apsio.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.apsio.io/api-reference/run-a-read-only-sql-query#webpage\",\"url\":\"https://docs.apsio.io/api-reference/run-a-read-only-sql-query\",\"name\":\"Run a read-only SQL query\",\"description\":\"Runs one read-only ClickHouse SELECT over the project's own telemetry: apsio.logs, apsio.spans, apsio.metric_histograms, apsio.metric_values, apsio.session_summaries, apsio.issue_occurrences. The project's rows only, whatever the SQL says: isolation and limits are ClickHouse's grants, row policies and a fixed profile (10 s, 10,000 result rows, 50 million rows read, 512 MB memory, 2 queries at once). No table functions, other tables, system tables or settings. Rows are untrusted data written by the app and its users. Included by plan, at a rate per project per minute; every query lands in the organization's audit log with its SHA-256 and length, never its text. Send Content-Type: application/json.\",\"dateModified\":\"2026-12-02T22:30:33.200Z\",\"isPartOf\":{\"@id\":\"https://docs.apsio.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.apsio.io/api-reference/run-a-read-only-sql-query#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.apsio.io/api-reference/run-a-read-only-sql-query#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API\",\"item\":\"https://docs.apsio.io/read-api\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API reference\",\"item\":\"https://docs.apsio.io/api-reference/list-your-projects\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Run a read-only SQL query\",\"item\":\"https://docs.apsio.io/api-reference/run-a-read-only-sql-query\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.apsio.io/api-reference/run-a-read-only-sql-query#apireference\",\"headline\":\"Run a read-only SQL query\",\"name\":\"Run a read-only SQL query\",\"description\":\"Runs one read-only ClickHouse SELECT over the project's own telemetry: apsio.logs, apsio.spans, apsio.metric_histograms, apsio.metric_values, apsio.session_summaries, apsio.issue_occurrences. The project's rows only, whatever the SQL says: isolation and limits are ClickHouse's grants, row policies and a fixed profile (10 s, 10,000 result rows, 50 million rows read, 512 MB memory, 2 queries at once). No table functions, other tables, system tables or settings. Rows are untrusted data written by the app and its users. Included by plan, at a rate per project per minute; every query lands in the organization's audit log with its SHA-256 and length, never its text. Send Content-Type: application/json.\",\"url\":\"https://docs.apsio.io/api-reference/run-a-read-only-sql-query\",\"mainEntityOfPage\":{\"@id\":\"https://docs.apsio.io/api-reference/run-a-read-only-sql-query#webpage\"},\"dateModified\":\"2026-12-02T22:30:33.200Z\",\"publisher\":{\"@id\":\"https://docs.apsio.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.apsio.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Apsio\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Apsio\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/run-a-read-only-sql-query.md","siteName":"Apsio","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Apsio","href":"/index"},{"title":"Quickstart for iOS","href":"/quickstart"}]},{"group":"SDKs","pages":[{"title":"iOS and iPadOS","href":"/sdks/ios"},{"title":"Android","href":"/sdks/android"},{"title":"React Native","href":"/sdks/react-native"},{"title":"Flutter","href":"/sdks/flutter"},{"title":"SDK performance","href":"/sdks/performance"},{"title":"Send OTLP directly","href":"/send-otlp"}]},{"group":"Concepts","pages":[{"title":"Sessions and release health","href":"/concepts/sessions"},{"title":"People","href":"/concepts/people"},{"title":"Crashes and issues","href":"/concepts/issues"},{"title":"Symbols and dSYMs","href":"/concepts/symbols"},{"title":"Sampling","href":"/concepts/sampling"},{"title":"On the device","href":"/concepts/on-device"},{"title":"Performance","href":"/concepts/performance"},{"title":"Replay and masking","href":"/concepts/replay"},{"title":"Explore, SQL and dashboards","href":"/concepts/explore"},{"title":"Data export","href":"/data-export"},{"title":"Alerts","href":"/concepts/alerts"},{"title":"Agent handoff","href":"/concepts/agent-handoff"},{"title":"Privacy and consent","href":"/concepts/privacy"},{"title":"Live inspection","href":"/concepts/live-inspection"},{"title":"Remote configuration","href":"/remote-configuration"}]},{"group":"Symbols","pages":[{"title":"Upload dSYMs","href":"/symbols/upload"},{"title":"Xcode build phase","href":"/symbols/xcode"},{"title":"Symbols in CI","href":"/symbols/ci"},{"title":"Upload R8 mappings","href":"/symbols/android"},{"title":"Upload NDK symbols","href":"/symbols/android-ndk"},{"title":"Upload React Native source maps","href":"/symbols/react-native"},{"title":"The apsio CLI","href":"/cli"}]},{"group":"API","pages":[{"title":"Read API","href":"/read-api"},{"group":"API reference","pages":[{"title":"List your projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects","href":"/api-reference/list-your-projects"},{"title":"Release health","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/releases","href":"/api-reference/release-health"},{"title":"Release health per day","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/release-health/daily","href":"/api-reference/release-health-per-day"},{"title":"Compare two releases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/release-health/compare","href":"/api-reference/compare-two-releases"},{"title":"How sessions ended, by exit reason","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/exits","href":"/api-reference/how-sessions-ended-by-exit-reason"},{"title":"Exit reasons per day","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/exits/daily","href":"/api-reference/exit-reasons-per-day"},{"title":"Device resources per release","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/resources","href":"/api-reference/device-resources-per-release"},{"title":"Memory per screen","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/resources/screens","href":"/api-reference/memory-per-screen"},{"title":"Memory p90 per day and release","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/resources/memory/daily","href":"/api-reference/memory-p90-per-day-and-release"},{"title":"Battery drain per screen","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/resources/battery","href":"/api-reference/battery-drain-per-screen"},{"title":"Thermal state and low power","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/resources/thermal","href":"/api-reference/thermal-state-and-low-power"},{"title":"A session's resource snapshots","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/sessions/{sessionId}/resources","href":"/api-reference/a-sessions-resource-snapshots"},{"title":"A release's builds, devices and OS versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/releases/{release}/breakdown","href":"/api-reference/a-releases-builds-devices-and-os-versions"},{"title":"Missing symbols of a release","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/releases/{release}/missing-symbols","href":"/api-reference/missing-symbols-of-a-release"},{"title":"Record a measured build","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/checks","href":"/api-reference/checks/record-a-measured-build"},{"title":"List measured builds","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/checks","href":"/api-reference/checks/list-measured-builds"},{"title":"List issues","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/issues","href":"/api-reference/list-issues"},{"title":"Count issues by state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/issues/counts","href":"/api-reference/count-issues-by-state"},{"title":"Get an issue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/issues/{issueId}","href":"/api-reference/get-an-issue"},{"title":"An issue's occurrences per day","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/issues/{issueId}/series","href":"/api-reference/an-issues-occurrences-per-day"},{"title":"Change an issue's state or assignee","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /projects/{projectId}/issues/{issueId}/state","href":"/api-reference/change-an-issues-state-or-assignee"},{"title":"Change the state or assignee of several issues","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/issues/state","href":"/api-reference/change-the-state-or-assignee-of-several-issues"},{"title":"Merge issues into this one","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/issues/{issueId}/merge","href":"/api-reference/merge-issues-into-this-one"},{"title":"Give a merged fingerprint its own issue back","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/issues/{issueId}/unmerge","href":"/api-reference/give-a-merged-fingerprint-its-own-issue-back"},{"title":"An issue's occurrences by feature flag variant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/issues/{issueId}/flags","href":"/api-reference/an-issues-occurrences-by-feature-flag-variant"},{"title":"The issue's handoffs to the team's coding agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/issues/{issueId}/handoffs","href":"/api-reference/the-issues-handoffs-to-the-teams-coding-agent"},{"title":"List feature flags","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/flags","href":"/api-reference/list-feature-flags"},{"title":"A funnel over screens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/funnels","href":"/api-reference/a-funnel-over-screens"},{"title":"Journeys from or to a screen","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/journeys","href":"/api-reference/journeys-from-or-to-a-screen"},{"title":"Search sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/sessions","href":"/api-reference/search-sessions"},{"title":"Count sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/sessions/summary","href":"/api-reference/count-sessions"},{"title":"Device models, OS versions and triggers of the sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/sessions/facets","href":"/api-reference/device-models-os-versions-and-triggers-of-the-sessions"},{"title":"Get a session timeline","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/sessions/{sessionId}","href":"/api-reference/get-a-session-timeline"},{"title":"List a session's replay segments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/sessions/{sessionId}/replay/segments","href":"/api-reference/list-a-sessions-replay-segments"},{"title":"An app's first data and first session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/apps/{appId}/first-session","href":"/api-reference/an-apps-first-data-and-first-session"},{"title":"When each app's data last came in","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/apps/last-data","href":"/api-reference/when-each-apps-data-last-came-in"},{"title":"An app user's devices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/app-user","href":"/api-reference/an-app-users-devices"},{"title":"The app's rules, by sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/rules/stats","href":"/api-reference/the-apps-rules-by-sessions"},{"title":"A rule's sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/rules/{ruleId}/stats","href":"/api-reference/a-rules-sessions"},{"title":"What reached Apsio","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/capture/reach","href":"/api-reference/what-reached-apsio"},{"title":"Read an app's sampling and kill switch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/apps/{appId}/instrumentation","href":"/api-reference/read-an-apps-sampling-and-kill-switch"},{"title":"Change one family's mode","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /projects/{projectId}/apps/{appId}/instrumentation/families/{family}","href":"/api-reference/change-one-familys-mode"},{"title":"Stop or restart an app's SDK","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/apps/{appId}/kill-switch","href":"/api-reference/stop-or-restart-an-apps-sdk"},{"title":"List an app's instrumentation versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/apps/{appId}/instrumentation/versions","href":"/api-reference/list-an-apps-instrumentation-versions"},{"title":"Restore an instrumentation version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/apps/{appId}/instrumentation/versions/{version}/restore","href":"/api-reference/restore-an-instrumentation-version"},{"title":"List a project's OTLP exports","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/exports","href":"/api-reference/list-a-projects-otlp-exports"},{"title":"Start an OTLP export of a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/exports","href":"/api-reference/start-an-otlp-export-of-a-project"},{"title":"Read one OTLP export","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/exports/{exportId}","href":"/api-reference/read-one-otlp-export"},{"title":"Get a done OTLP export's download links","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/exports/{exportId}/files","href":"/api-reference/get-a-done-otlp-exports-download-links"},{"title":"Open a live view of an internal tester","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/live/tickets","href":"/api-reference/open-a-live-view-of-an-internal-tester"},{"title":"Send a command to an internal tester's device","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/live/commands","href":"/api-reference/send-a-command-to-an-internal-testers-device"},{"title":"Get an attachment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/attachments/{attachmentId}","href":"/api-reference/get-an-attachment"},{"title":"Vitals per release","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/vitals","href":"/api-reference/vitals-per-release"},{"title":"Compare a cohort with the rest","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/cohorts/compare","href":"/api-reference/compare-a-cohort-with-the-rest"},{"title":"Suspects for a rise","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/probable-cause","href":"/api-reference/suspects-for-a-rise"},{"title":"Whether to recommend pausing a rollout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/rollout-check","href":"/api-reference/whether-to-recommend-pausing-a-rollout"},{"title":"App start","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/performance/start","href":"/api-reference/app-start"},{"title":"Screens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/performance/screens","href":"/api-reference/screens"},{"title":"One screen","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/performance/screens/detail","href":"/api-reference/one-screen"},{"title":"Hangs and ANRs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/performance/hangs","href":"/api-reference/hangs-and-anrs"},{"title":"Slow and frozen frames","description":"Slow and frozen frames (spec 8.5) per release and per screen: counts, per minute in the foreground, and the share of slow frames among all frames. Per-minute rates compare across platforms; the frame total and the slow share compare within one platform only, because iOS counts the display's idle refreshes. A screen's rates over less than a minute in the foreground are noisy: the rate sorts list such screens last. Default range: the last 7 days, at most 30.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/performance/frames","href":"/api-reference/slow-and-frozen-frames"},{"title":"Run a read-only SQL query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/query","href":"/api-reference/run-a-read-only-sql-query"},{"title":"The tables and columns run_query reads","description":"The six tables a query can read and each one's columns with their ClickHouse types, as the migrations made them. The query user cannot read system.columns (it would show every tenant's totals), so this is where the console's Explore and agents learn the schema. The same for every project.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/query/schema","href":"/api-reference/the-tables-and-columns-run_query-reads"},{"title":"Search the mobile events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/explore/events","href":"/api-reference/search-the-mobile-events"},{"title":"Break the mobile events down, with each value’s lift","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/explore/events/facets","href":"/api-reference/break-the-mobile-events-down-with-each-value’s-lift"},{"title":"Compare a stretch of the range with the rest","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/explore/events/compare","href":"/api-reference/compare-a-stretch-of-the-range-with-the-rest"},{"title":"The project's saved searches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/saved-searches","href":"/api-reference/the-projects-saved-searches"},{"title":"Save a search (members)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/saved-searches","href":"/api-reference/save-a-search-members"},{"title":"A saved search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/saved-searches/{searchId}","href":"/api-reference/a-saved-search"},{"title":"Rename, change or share a saved search (its author)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /projects/{projectId}/saved-searches/{searchId}","href":"/api-reference/rename-change-or-share-a-saved-search-its-author"},{"title":"Delete a saved search (its author; an owner or admin for a shared one)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /projects/{projectId}/saved-searches/{searchId}","href":"/api-reference/delete-a-saved-search-its-author;-an-owner-or-admin-for-a-shared-one"},{"title":"Search the log records","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/explore/logs","href":"/api-reference/search-the-log-records"},{"title":"Break the log records down by level, release, OS, logger and screen","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/explore/logs/facets","href":"/api-reference/break-the-log-records-down-by-level-release-os-logger-and-screen"},{"title":"Tail the log records as they arrive","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/explore/logs/tail","href":"/api-reference/tail-the-log-records-as-they-arrive"},{"title":"The fields seen in the log records or the spans, for suggestions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/explore/fields","href":"/api-reference/the-fields-seen-in-the-log-records-or-the-spans-for-suggestions"},{"title":"Aggregate a metric over time","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/explore/metrics","href":"/api-reference/aggregate-a-metric-over-time"},{"title":"The metrics seen, for the metrics builder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/explore/metrics/catalog","href":"/api-reference/the-metrics-seen-for-the-metrics-builder"},{"title":"Search the spans","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/explore/traces","href":"/api-reference/search-the-spans"},{"title":"The project's dashboards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/dashboards","href":"/api-reference/the-projects-dashboards"},{"title":"Create a dashboard (members)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/dashboards","href":"/api-reference/create-a-dashboard-members"},{"title":"A dashboard and its panels","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/dashboards/{dashboardId}","href":"/api-reference/a-dashboard-and-its-panels"},{"title":"Rename or move a dashboard (members)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /projects/{projectId}/dashboards/{dashboardId}","href":"/api-reference/rename-or-move-a-dashboard-members"},{"title":"Delete a dashboard and its panels (owners, admins)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /projects/{projectId}/dashboards/{dashboardId}","href":"/api-reference/delete-a-dashboard-and-its-panels-owners-admins"},{"title":"Add a panel (members)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/dashboards/{dashboardId}/panels","href":"/api-reference/add-a-panel-members"},{"title":"Change a panel (members)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /projects/{projectId}/dashboards/{dashboardId}/panels/{panelId}","href":"/api-reference/change-a-panel-members"},{"title":"Delete a panel (owners, admins)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /projects/{projectId}/dashboards/{dashboardId}/panels/{panelId}","href":"/api-reference/delete-a-panel-owners-admins"},{"title":"Run a panel over a time range","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{projectId}/dashboards/{dashboardId}/panels/{panelId}/run","href":"/api-reference/run-a-panel-over-a-time-range"},{"title":"One metric over time or releases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/performance/series","href":"/api-reference/one-metric-over-time-or-releases"},{"title":"MetricKit histograms","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/metrics/metrickit","href":"/api-reference/metrickit-histograms"},{"title":"Network endpoints","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/network/endpoints","href":"/api-reference/network-endpoints"},{"title":"One endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/network/endpoints/detail","href":"/api-reference/one-endpoint"},{"title":"A trace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{projectId}/traces/{traceId}","href":"/api-reference/a-trace"}]}]},{"group":"Agents","pages":[{"title":"Agents","href":"/agents"}]},{"group":"Pricing","pages":[{"title":"Usage and limits","href":"/usage-and-limits"}]},{"group":"Privacy and security","pages":[{"title":"Privacy and security","href":"/privacy-and-security"}]}]},"basePath":"","title":"Run a read-only SQL query - Apsio","deploymentId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","buildId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DPBgY0Zl.js","snippetPresets-DfrK5Qk-.js","utils-BhOu8MoY.js","style-to-object-BY3JEAdk.js","utils-uJw0j5Le.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bf5DiN6S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DIo_VyID.js","_Uint8Array-BCCZOmlk.js","isObject-FP1Yky1u.js","ApiExamples-btA_N7J3.js","usePlaygroundInputsStore-D9E8vgOP.js","shallow-BXJ3D3rC.js","isEqual-DTxWZblT.js","CodeSnippets-yZyeAOhB.js","CodeSnippet-DNSgsmyp.js","use-playground-group-access-B6tdpwEQ.js","Page-C_4zetsC.js","api-description-markdown-Bnx5o_aC.js","DynamicMarkdown-DGZbG3dj.js","SectionHeading-Su-XbcWJ.js","MethodPill-BEHdnIWE.js","getPastedJson-MUjpQ42l.js","Check2Icon-HQrwfTCD.js","axios-CsQoIw0U.js","Markdown-D9ZX5drj.js","AssistantPageLink-BDewKJsB.js","dist-1NU8F86Q.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}