Mathematical formulas to be returned as a time series and summary table. Formulas operate on the results of calculations and are returned in query results instead of calculations. Only available in Metrics Beta.
The time resolution of the query's graph, in seconds. Given a query time range T, valid values (T/1000...T/1). If left blank, granularity may be set to a sub-second value for queries with short time ranges.
The terms on which to order the query results. Each term must appear in the breakdowns field, the calculations field, or the formulas field. Formulas and calculations with name properties can be referenced by putting the name in the column property.
The maximum number of unique groups returned in 'results'. Aggregating many unique groups across a large time range is computationally expensive, and too high a limit with too many unique groups may cause queries to fail completely. Limiting the results to only the needed values can significantly speed up queries.
The normal allowed maximum value when creating a query is 1_000. When running 'disable_series' queries, this can be overridden to be up to 10_000, so the maximum value returned from the API when fetching a query may be up to 10_000.
Time range of query in seconds. Can be used with either start_time (seconds after start_time), end_time (seconds before end_time), or without either (seconds before now).
The Having clause allows you to filter on the results table. This operation is distinct from the Where clause, which filters the underlying events. Order By allows you to order the results, and Having filters them. Formulas and calculations with name properties can be referenced by putting the name in the column property.
When set, offsets the query's time range by this number of seconds into the past, allowing comparison with historical data from an earlier time period. For example, setting this to 86400 (24 hours) will compare current results against data from 24 hours ago.
Note
The offset must be greater than or equal to the query's time range duration.
If true, query results will return aggregates without correcting for sample rates. This is useful for understanding the actual volume of data stored rather than the estimated original event counts. By default, aggregates are adjusted to reflect the estimated original event volume based on sample rates. Note: This field is not supported for triggers.
If true, the query's time range applies to the end time of each span (its start time plus its duration) instead of its start time. By default, the time range applies to span start times.
Mathematical formulas to be returned as a time series and summary table. Formulas operate on the results of calculations and are returned in query results instead of calculations. Only available in Metrics Beta.
The time resolution of the query's graph, in seconds. Given a query time range T, valid values (T/1000...T/1). If left blank, granularity may be set to a sub-second value for queries with short time ranges.
The terms on which to order the query results. Each term must appear in the breakdowns field, the calculations field, or the formulas field. Formulas and calculations with name properties can be referenced by putting the name in the column property.
The maximum number of unique groups returned in 'results'. Aggregating many unique groups across a large time range is computationally expensive, and too high a limit with too many unique groups may cause queries to fail completely. Limiting the results to only the needed values can significantly speed up queries.
The normal allowed maximum value when creating a query is 1_000. When running 'disable_series' queries, this can be overridden to be up to 10_000, so the maximum value returned from the API when fetching a query may be up to 10_000.
Time range of query in seconds. Can be used with either start_time (seconds after start_time), end_time (seconds before end_time), or without either (seconds before now).
The Having clause allows you to filter on the results table. This operation is distinct from the Where clause, which filters the underlying events. Order By allows you to order the results, and Having filters them. Formulas and calculations with name properties can be referenced by putting the name in the column property.
When set, offsets the query's time range by this number of seconds into the past, allowing comparison with historical data from an earlier time period. For example, setting this to 86400 (24 hours) will compare current results against data from 24 hours ago.
Note
The offset must be greater than or equal to the query's time range duration.
If true, query results will return aggregates without correcting for sample rates. This is useful for understanding the actual volume of data stored rather than the estimated original event counts. By default, aggregates are adjusted to reflect the estimated original event volume based on sample rates. Note: This field is not supported for triggers.
If true, the query's time range applies to the end time of each span (its start time plus its duration) instead of its start time. By default, the time range applies to span start times.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Honeycomb Docs","colors":{"primary":"#0298ec","light":"#0298ec","dark":"#0160a4"},"logo":{"light":"https://mintcdn.com/honeycomb/TYbxiKcJ1fL3Sm5n/_assets/logos/light.svg?fit=max\u0026auto=format\u0026n=TYbxiKcJ1fL3Sm5n\u0026q=85\u0026s=27a1eaed720bce94471b9408761a57a5","dark":"https://mintcdn.com/honeycomb/TYbxiKcJ1fL3Sm5n/_assets/logos/dark.svg?fit=max\u0026auto=format\u0026n=TYbxiKcJ1fL3Sm5n\u0026q=85\u0026s=37c10aab54c3f49068831ba2b3f72519"},"favicon":"https://mintcdn.com/honeycomb/FS58DPvSVOqwGF9Q/favicon.ico?fit=max\u0026auto=format\u0026n=FS58DPvSVOqwGF9Q\u0026q=85\u0026s=f2dcbbe978265dbef9b3e5c895466dfc","navbar":{"links":[{"href":"https://status.honeycomb.io/","label":"Status"},{"href":"https://support.honeycomb.io/","label":"Support"}],"primary":{"type":"button","label":"Log in to Honeycomb","href":"https://ui.honeycomb.io/"}},"footer":{"socials":{"bluesky":"https://bsky.app/profile/honeycomb.io","github":"https://github.com/honeycombio","linkedin":"https://linkedin.com/company/honeycomb.io","youtube":"https://www.youtube.com/channel/UCty8KGQ3oAP0MQQmLIv7k0Q"}},"fonts":{"heading":{"family":"Roboto","weight":600},"body":{"family":"Roboto","weight":400}},"styling":{"eyebrows":"breadcrumbs","codeblocks":{},"latex":true},"integrations":{"amplitude":{"apiKey":"3b49e4f1b31c8cc751801eb555172ee7"},"ga4":{"measurementId":"G-6GB1G2KSLD"},"plausible":{"domain":"docs.honeycomb.io","server":"stats.honeycomb.io"},"telemetry":{"enabled":true},"cookies":{"key":"honeycomb_docs_consent","value":"yes"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Docs Home","icon":"home","href":"/"},{"anchor":"Blog","icon":"bullhorn","href":"https://www.honeycomb.io/blog"},{"anchor":"Honeycomb Academy","icon":"book","href":"https://academy.honeycomb.io/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"honeycomb","hasAudioNarration":false,"actualSubdomain":"honeycomb","customDomains":["docs.honeycomb.io"],"gitSource":{"type":"github","owner":"honeycombio","repo":"docs","deployBranch":"main","contentDirectory":"mintlify","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae22eda7ce5adcce08274bc","collectionId":"845bf5bf-6501-45f9-a084-86b91893d534","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae22eda7ce5adcce08274bc"},"feedback":{"thumbs":true,"contextualFeedback":{"allowEmail":false}},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED","enabled":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED","enabled":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae22eda7ce5adcce08274bc","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Send Data","count":234},{"language":"default","tag":"Manage Pipelines","count":148},{"language":"default","tag":"Honeycomb Telemetry Pipeline","count":145},{"language":"default","tag":"Pipeline Manager","count":142},{"language":"default","tag":"API Reference","count":108},{"language":"default","tag":"Sources","count":93},{"language":"default","tag":"API Endpoints","count":90},{"language":"default","tag":"Investigate","count":65},{"language":"default","tag":"Get Started","count":62},{"language":"default","tag":"Processors","count":41}],"searchSettings":{"maxResults":15}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"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":"editor-v7-file-tree","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":"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"_assets/stylesheets/badges.css","content":"[class*=hny-badge-]{background-color:var(--hny-badge-bg)!important;color:var(--hny-badge-text)!important;border-color:var(--hny-badge-bg)!important;min-width:4rem!important;height:1.75rem!important;justify-content:center!important;align-items:center!important}[class*=hny-badge-].border,html.dark [class*=hny-badge-].border{background-color:transparent!important;border-color:var(--hny-badge-text)!important}html.dark [class*=hny-badge-]{background-color:var(--hny-badge-bg-dark)!important;color:var(--hny-badge-text-dark)!important;border-color:var(--hny-badge-bg-dark)!important}html.dark [class*=hny-badge-].border{border-color:var(--hny-badge-text-dark)!important;color:var(--hny-badge-text-dark)!important}@media (prefers-color-scheme:dark){html:not(.light) [class*=hny-badge-]{background-color:var(--hny-badge-bg-dark)!important;color:var(--hny-badge-text-dark)!important;border-color:var(--hny-badge-bg-dark)!important}html:not(.light) [class*=hny-badge-].border{background-color:transparent!important;border-color:var(--hny-badge-text-dark)!important;color:var(--hny-badge-text-dark)!important}}.hny-badge-enterprise,.hny-badge-enterprise-addon{--hny-badge-bg:#EAE6F1;--hny-badge-text:#302054;--hny-badge-bg-dark:#60606F;--hny-badge-text-dark:#FFFFFF}.hny-badge-pro{--hny-badge-bg:#E0F2FC;--hny-badge-text:#015B8D;--hny-badge-bg-dark:#163144;--hny-badge-text-dark:#1BA2ED}.hny-badge-beta,.hny-badge-early-access{--hny-badge-bg:#FEEDE2;--hny-badge-text:#954209;--hny-badge-bg-dark:#3B2A23;--hny-badge-text-dark:#F97C27}"},{"filePath":"_assets/stylesheets/icons.css","content":".hny-icon{background-color:var(--hny-icon-color)}"},{"filePath":"_assets/stylesheets/images.css","content":".dark img[src^=http]:not(.nav-logo){background-color:transparent;border-radius:0;padding:0}[data-rmiz-content] img,[data-rmiz-modal-img]{background-color:transparent;box-sizing:border-box;border-radius:.4rem}a.card{border-radius:0!important}a.card img[data-component-part=card-image]{object-fit:contain!important}.dark .integration-logo-invert{filter:invert(1)}.integration-logo-grayscale{filter:grayscale(1)}.dark .integration-logo-grayscale.integration-logo-invert{filter:grayscale(1) invert(1)}"},{"filePath":"_assets/stylesheets/kapa.css","content":"#kapa-ask-ai-btn{display:inline-flex;align-items:center;gap:.4rem;flex-shrink:0;height:2.25rem;padding:0 1rem;margin-left:.5rem;border-radius:.75rem;border:0;background:0 0;box-shadow:0 0 0 1px rgba(156,163,175,.3);color:#6b7280;font-size:.875rem;cursor:pointer;white-space:nowrap;transition:box-shadow .15s ease}#kapa-ask-ai-btn:hover,.dark #kapa-ask-ai-btn{box-shadow:0 0 0 1px rgba(75,85,99,.3)}.kapa-btn-icon svg{width:16px;height:16px}.kapa-btn-icon svg path{fill:#6b7280}.dark .kapa-btn-icon svg path{fill:rgba(255,255,255,.5)}.dark #kapa-ask-ai-btn{color:rgba(255,255,255,.5)}.dark #kapa-ask-ai-btn:hover{box-shadow:0 0 0 1px rgba(107,114,128,.3)}.dark #kapa-ask-ai-btn img{filter:invert(1) opacity(.5)}"},{"filePath":"_assets/stylesheets/links.css","content":".prose a[href^=http]:not(.card):not(:has(img))::after{content:\"↗\";font-size:.75em;vertical-align:baseline;margin-left:2px}"},{"filePath":"_assets/stylesheets/style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SeW4Ep0.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_QOW4Ep0.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_R-W4Ep0.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_S-W4Ep0.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SuW4Ep0.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n.nav-logo{height:2.5rem!important}.prose,.prose-gray{--tw-prose-body:var(--lat-color-foreground-primary-default);--tw-prose-headings:var(--lat-color-foreground-primary-default);--tw-prose-lead:var(--lat-color-foreground-secondary-default);--tw-prose-links:var(--lat-color-foreground-link-default);--tw-prose-bold:var(--lat-color-foreground-primary-default);--tw-prose-invert-body:var(--lat-color-foreground-inverse-default);--tw-prose-invert-headings:var(--lat-color-foreground-inverse-default);--tw-prose-invert-lead:var(--lat-color-foreground-inverse-secondary);--tw-prose-invert-links:var(--lat-color-foreground-inverse-link-default);--tw-prose-invert-bold:var(--lat-color-foreground-inverse-default)}.prose{color:var(--lat-color-foreground-primary-default)!important;line-height:var(--lat-ref-font-line-height-5)!important}#page-title,.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--lat-color-foreground-primary-default)!important;font-weight:var(--lat-ref-font-weight-500)!important;font-size:var(--lat-ref-font-size-700)!important;line-height:var(--lat-ref-font-line-height-8)!important}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--lat-color-foreground-primary-default)!important;font-weight:var(--lat-ref-font-weight-600)!important;font-size:var(--lat-ref-font-size-600)!important;line-height:var(--lat-ref-font-line-height-6)!important}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--lat-color-foreground-primary-default)!important;font-weight:var(--lat-ref-font-weight-600)!important;font-size:var(--lat-ref-font-size-500)!important;line-height:var(--lat-ref-font-line-height-5)!important}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:var(--lat-ref-font-weight-400)!important;line-height:var(--lat-ref-font-line-height-4)!important}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--lat-color-foreground-primary-default)!important;font-weight:600!important}th{color:var(--lat-color-foreground-primary-default)!important}.prose a.link{border-color:var(--lat-color-foreground-link-default)}.font-mono,code,kbd,pre,samp{font-family:var(--lat-ref-font-family-roboto-mono)}code,kbd,pre,samp{font-feature-settings:normal;font-variation-settings:normal;font-size:1em}.sidebar-group{margin-top:.05rem}a.card{border-radius:var(--lat-border-radius-xsmall)!important}"},{"filePath":"_assets/stylesheets/tables.css","content":".schema-table table{font-family:var(--hny-font-mono);font-size:var(--hny-font-mono-size);width:fit-content;min-width:unset}.permissions-table table,.permissions-table td,.permissions-table th{border:0}.flex-style-table table,.permissions-table table{width:100%}.permissions-table tbody tr:nth-child(even),.permissions-table thead tr:nth-child(odd){background-color:var(--hny-table-stripe)}.permissions-table th{padding:var(--hny-permissions-header-padding-v, 10px) .75rem;text-align:center}.permissions-table th:first-child{text-align:left}.permissions-table td{text-align:center;padding-top:var(--hny-permissions-cell-padding-v, 5px);padding-bottom:var(--hny-permissions-cell-padding-v, 5px);padding-left:.75rem;padding-right:.75rem}.permissions-table td:first-child{width:var(--hny-permissions-col1-width, 50%);text-align:left}"},{"filePath":"_assets/stylesheets/tokens.css","content":":root{--hny-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco,\n Consolas, \"Liberation Mono\", \"Courier New\",\n monospace;--hny-font-mono-size:0.8rem;--hny-permissions-col1-width:50%;--hny-permissions-cell-padding-v:5px;--hny-permissions-header-padding-v:10px}html.light{--hny-table-stripe:rgba(107, 114, 128, 0.1);--hny-icon-color:#33383F}html.dark{--hny-table-stripe:#1e2128;--hny-icon-color:#C9CDD2}@media (prefers-color-scheme:dark){html.dark{--hny-table-stripe:#1e2128;--hny-icon-color:#C9CDD2}}"},{"filePath":"_assets/stylesheets/mermaid.css","content":".mermaid .label{font-size:.875rem!important;padding:1rem .25rem!important}foreignObject>div>span>p{font-size:.75rem!important;padding:.25rem!important;text-align:justified!important}"},{"filePath":"_assets/stylesheets/sidebar.css","content":"ul.list-none{padding-bottom:1rem;border-bottom:1px solid rgb(107 114 128/.4)}.nav-anchor{margin-bottom:.25rem}#navigation-items>ul.sidebar-group{border-top:.5px solid var(--border-color);padding-top:1rem}div.sidebar-group-header{margin-top:-.5rem;margin-bottom:.1rem;text-transform:uppercase;letter-spacing:.01rem}div.sidebar-group{margin-bottom:1rem;font-size:.9rem}#sidebar-content li>a,#sidebar-content li>button,#sidebar-content li[data-active]>button{padding-top:.1rem;padding-bottom:.1rem;font-size:.9rem}#navigation-items>ul.sidebar-group:last-of-type{margin-top:0!important;padding-top:0!important}#navigation-items>ul.sidebar-group:nth-last-of-type(2){border-top:1px solid var(--border-color);padding-top:1rem;margin-top:1rem!important}.nav-tag-pill{min-width:2rem;text-align:center}.flex-1.flex.min-w-0.flex-wrap{flex-wrap:nowrap}.nav-tag-pill-text{text-transform:uppercase;background:0 0;padding:0;border-left:1px solid currentColor;border-radius:0;padding-left:.25rem}#sidebar-content a[href^=\"https://docs.honeycomb.io\"]::after,#sidebar-content a[href^=\"https://docs.honeycomb.io/\"] svg{display:none}"},{"filePath":"_assets/stylesheets/tabs.css","content":".hny-client-tabs>.tabs.tab-container>ul[data-component-part=tabs-list]{border-bottom:none;flex-wrap:wrap;gap:8px;margin-bottom:.375rem!important}.hny-client-tabs>.tabs.tab-container>ul[data-component-part=tabs-list]>li{list-style:none}.hny-client-tabs>.tabs.tab-container>ul[data-component-part=tabs-list]>li [data-component-part=tab-button]{border:1px solid #b9c2cc;border-radius:6px;padding:6px 14px!important;margin-bottom:0!important;color:#25303e;font-weight:500}.hny-client-tabs>.tabs.tab-container>ul[data-component-part=tabs-list]>li [data-component-part=tab-button][data-active=true]{background:#0160a4;border-color:#0160a4;color:#fff}.dark .hny-client-tabs>.tabs.tab-container>ul[data-component-part=tabs-list]>li [data-component-part=tab-button]{border-color:#4b5563;color:#e5e7eb}.hny-client-tabs>.tabs.tab-container>div>[data-component-part=tab-content]{border:1px solid #cbd5e1;border-radius:12px;padding:1.25rem 1.5rem;margin-top:.75rem}.dark .hny-client-tabs>.tabs.tab-container>div>[data-component-part=tab-content]{border-color:#475569!important}.hny-client-tabs [data-component-part=tab-button]:focus-visible{outline:2px solid #0298ec;outline-offset:2px}"},{"filePath":"_assets/stylesheets/_tokens.css","content":":root{--lat-ref-border-radius-0:0px;--lat-ref-border-radius-50:2px;--lat-ref-border-radius-75:3px;--lat-ref-border-radius-100:4px;--lat-ref-border-radius-200:8px;--lat-ref-border-radius-300:12px;--lat-ref-border-radius-400:16px;--lat-ref-border-radius-2000:80px;--lat-ref-border-width-0:0px;--lat-ref-border-width-25:1px;--lat-ref-border-width-50:2px;--lat-ref-color-blue-500:#225dbe;--lat-ref-color-blue-600:#1c4c9c;--lat-ref-color-blue-700:#0f3880;--lat-ref-color-blue-800:#002566;--lat-ref-color-blue-900:#00173e;--lat-ref-color-gold-100:#ffeab2;--lat-ref-color-gold-1000:#a94a04;--lat-ref-color-gold-1100:#7a3302;--lat-ref-color-gold-200:#ffdd81;--lat-ref-color-gold-300:#ffd14d;--lat-ref-color-gold-400:#ffc626;--lat-ref-color-gold-50:#fffae1;--lat-ref-color-gold-500:#ffbc04;--lat-ref-color-gold-600:#ffb000;--lat-ref-color-gold-700:#ff9b03;--lat-ref-color-gold-800:#fe8a04;--lat-ref-color-gold-900:#f26905;--lat-ref-color-gray-100:#ebeff4;--lat-ref-color-gray-1000:#1e2023;--lat-ref-color-gray-1050:#1b1d20;--lat-ref-color-gray-1100:#191a1b;--lat-ref-color-gray-200:#dee3ec;--lat-ref-color-gray-300:#c9d1df;--lat-ref-color-gray-400:#b0baca;--lat-ref-color-gray-50:#f5f7fa;--lat-ref-color-gray-500:#8f94a9;--lat-ref-color-gray-600:#717a89;--lat-ref-color-gray-700:#59606d;--lat-ref-color-gray-800:#444a53;--lat-ref-color-gray-850:#3c4149;--lat-ref-color-gray-900:#33383f;--lat-ref-color-gray-950:#272b30;--lat-ref-color-green-100:#d8efc0;--lat-ref-color-green-1000:#005700;--lat-ref-color-green-200:#bde596;--lat-ref-color-green-300:#a1db6a;--lat-ref-color-green-400:#8ad243;--lat-ref-color-green-50:#eff9e6;--lat-ref-color-green-500:#73ca0d;--lat-ref-color-green-600:#64ba00;--lat-ref-color-green-700:#4ca600;--lat-ref-color-green-800:#329200;--lat-ref-color-green-900:#007000;--lat-ref-color-indigo-100:#d3cdf0;--lat-ref-color-indigo-1000:#100e38;--lat-ref-color-indigo-200:#b4ace6;--lat-ref-color-indigo-300:#9186d9;--lat-ref-color-indigo-400:#7165cc;--lat-ref-color-indigo-50:#edeaf8;--lat-ref-color-indigo-500:#5549be;--lat-ref-color-indigo-600:#4538a8;--lat-ref-color-indigo-700:#362c8f;--lat-ref-color-indigo-800:#282275;--lat-ref-color-indigo-900:#1b185a;--lat-ref-color-miscellaneous-charcoal:#191a1b;--lat-ref-color-miscellaneous-white:#ffffff;--lat-ref-color-pink-100:#fad4e9;--lat-ref-color-pink-1000:#3e0827;--lat-ref-color-pink-200:#f5b0d5;--lat-ref-color-pink-300:#ee84bb;--lat-ref-color-pink-400:#e563a5;--lat-ref-color-pink-50:#fdeef6;--lat-ref-color-pink-500:#dc4d90;--lat-ref-color-pink-600:#c23a7c;--lat-ref-color-pink-700:#a22868;--lat-ref-color-pink-800:#821a53;--lat-ref-color-pink-900:#61103d;--lat-ref-color-purple-100:#dfd3eb;--lat-ref-color-purple-1000:#2e1260;--lat-ref-color-purple-200:#cbb8df;--lat-ref-color-purple-300:#b89bce;--lat-ref-color-purple-400:#ac8dc7;--lat-ref-color-purple-50:#f7f3fb;--lat-ref-color-purple-500:#9b77c2;--lat-ref-color-purple-600:#8659b4;--lat-ref-color-purple-700:#6a37a1;--lat-ref-color-purple-800:#54298f;--lat-ref-color-purple-900:#431e80;--lat-ref-color-red-100:#f7d2d7;--lat-ref-color-red-1000:#85322e;--lat-ref-color-red-200:#e4a3a5;--lat-ref-color-red-300:#d78184;--lat-ref-color-red-400:#e16767;--lat-ref-color-red-50:#fbedf0;--lat-ref-color-red-500:#e65b53;--lat-ref-color-red-600:#d75450;--lat-ref-color-red-700:#c54b49;--lat-ref-color-red-800:#b74643;--lat-ref-color-red-900:#a63f3a;--lat-ref-color-sky-100:#b9def8;--lat-ref-color-sky-1000:#002f7a;--lat-ref-color-sky-200:#8dcaf5;--lat-ref-color-sky-300:#60b5f0;--lat-ref-color-sky-400:#3aa5ee;--lat-ref-color-sky-50:#e3f2fc;--lat-ref-color-sky-500:#0296ec;--lat-ref-color-sky-600:#0088df;--lat-ref-color-sky-700:#0077cc;--lat-ref-color-sky-800:#0066ba;--lat-ref-color-sky-900:#00489c;--lat-ref-color-teal-100:#cce8f0;--lat-ref-color-teal-1000:#023040;--lat-ref-color-teal-200:#aad8e6;--lat-ref-color-teal-300:#7ec3d8;--lat-ref-color-teal-400:#50adc8;--lat-ref-color-teal-50:#eaf6f7;--lat-ref-color-teal-500:#2297b6;--lat-ref-color-teal-600:#0d83a0;--lat-ref-color-teal-700:#0a6d87;--lat-ref-color-teal-800:#085870;--lat-ref-color-teal-900:#054558;--lat-ref-size-0:0px;--lat-ref-size-100:4px;--lat-ref-size-200:8px;--lat-ref-size-300:12px;--lat-ref-size-400:16px;--lat-ref-size-500:20px;--lat-ref-size-600:24px;--lat-ref-size-700:28px;--lat-ref-size-800:32px;--lat-ref-size-900:36px;--lat-ref-size-1000:40px;--lat-ref-size-1100:44px;--lat-ref-size-1200:48px;--lat-ref-size-1300:52px;--lat-ref-size-1400:56px;--lat-ref-size-1500:60px;--lat-ref-size-1600:64px;--lat-ref-size-2000:80px;--lat-ref-space-0:0px;--lat-ref-space-1:2px;--lat-ref-space-2:4px;--lat-ref-space-3:8px;--lat-ref-space-4:12px;--lat-ref-space-5:16px;--lat-ref-space-6:20px;--lat-ref-space-7:24px;--lat-ref-space-8:28px;--lat-ref-space-9:32px;--lat-ref-space-10:36px;--lat-ref-space-11:40px;--lat-ref-space-12:44px;--lat-ref-space-13:48px;--lat-ref-font-line-height-0:0rem;--lat-ref-font-line-height-1:1rem;--lat-ref-font-line-height-2:1.125rem;--lat-ref-font-line-height-3:1.25rem;--lat-ref-font-line-height-4:1.375rem;--lat-ref-font-line-height-5:1.5rem;--lat-ref-font-line-height-6:1.875rem;--lat-ref-font-line-height-7:2.25rem;--lat-ref-font-line-height-8:2.5rem;--lat-ref-font-size-100:0.625rem;--lat-ref-font-size-200:0.75rem;--lat-ref-font-size-300:0.875rem;--lat-ref-font-size-400:1rem;--lat-ref-font-size-500:1.25rem;--lat-ref-font-size-600:1.5rem;--lat-ref-font-size-700:2rem;--lat-ref-font-weight-400:400;--lat-ref-font-weight-500:500;--lat-ref-font-weight-600:600;--lat-ref-font-weight-700:700;--lat-ref-font-family-poppins:'Poppins', Arial, Helvetica, sans-serif;--lat-ref-font-family-roboto:'Roboto', Arial, Helvetica, sans-serif;--lat-ref-font-family-roboto-mono:'Roboto Mono', monospace}.light,:root{--lat-border-radius-zero:0px;--lat-border-radius-xsmall:2px;--lat-border-radius-small:4px;--lat-border-radius-medium:8px;--lat-border-radius-primary-default:8px;--lat-border-radius-secondary-default:12px;--lat-border-radius-container:8px;--lat-border-radius-control-small:4px;--lat-border-radius-circle:80px;--lat-border-width-zero:0px;--lat-border-width-primary-default:1px;--lat-border-width-secondary-default:2px;--lat-color-background-critical-bold:var(--lat-ref-color-red-700);--lat-color-background-critical-bolder:var(--lat-ref-color-red-800);--lat-color-background-critical-boldest:var(--lat-ref-color-red-900);--lat-color-background-critical-default:var(--lat-ref-color-red-100);--lat-color-background-critical-hover:var(--lat-ref-color-red-200);--lat-color-background-critical-subtle:var(--lat-ref-color-red-300);--lat-color-background-informational-default:var(--lat-ref-color-sky-100);--lat-color-background-informational-hover:var(--lat-ref-color-sky-200);--lat-color-background-informational-subtle:var(--lat-ref-color-sky-300);--lat-color-background-interactive-active:var(--lat-ref-color-sky-900);--lat-color-background-interactive-default:var(--lat-ref-color-sky-700);--lat-color-background-interactive-disabled:var(--lat-ref-color-gray-100);--lat-color-background-interactive-hover:var(--lat-ref-color-sky-800);--lat-color-background-inverse-active:var(--lat-ref-color-gray-700);--lat-color-background-inverse-default:var(--lat-ref-color-gray-950);--lat-color-background-inverse-disabled:var(--lat-ref-color-gray-1050);--lat-color-background-inverse-hover:var(--lat-ref-color-gray-900);--lat-color-background-neutral-active:var(--lat-ref-color-sky-50);--lat-color-background-neutral-bold:var(--lat-ref-color-gray-400);--lat-color-background-neutral-bolder:var(--lat-ref-color-gray-600);--lat-color-background-neutral-boldest:var(--lat-ref-color-gray-800);--lat-color-background-neutral-default:var(--lat-ref-color-gray-100);--lat-color-background-neutral-disabled:var(--lat-ref-color-gray-200);--lat-color-background-neutral-hover:var(--lat-ref-color-gray-300);--lat-color-background-neutral-subtle:var(--lat-ref-color-gray-300);--lat-color-background-pink-default:var(--lat-ref-color-pink-100);--lat-color-background-primary-active:var(--lat-ref-color-sky-50);--lat-color-background-primary-default:var(--lat-ref-color-miscellaneous-white);--lat-color-background-primary-disabled:var(--lat-ref-color-gray-100);--lat-color-background-primary-hover:var(--lat-ref-color-gray-50);--lat-color-background-primary-selected:var(--lat-ref-color-gray-200);--lat-color-background-purple-default:var(--lat-ref-color-purple-100);--lat-color-background-secondary-default:var(--lat-ref-color-gray-50);--lat-color-background-secondary-hover:var(--lat-ref-color-gray-200);--lat-color-background-secondary-selected:var(--lat-ref-color-sky-700);--lat-color-background-success-bold:var(--lat-ref-color-green-400);--lat-color-background-success-bolder:var(--lat-ref-color-green-600);--lat-color-background-success-default:var(--lat-ref-color-green-100);--lat-color-background-success-hover:var(--lat-ref-color-green-200);--lat-color-background-success-subtle:var(--lat-ref-color-green-300);--lat-color-background-teal-default:var(--lat-ref-color-teal-100);--lat-color-background-warning-default:var(--lat-ref-color-gold-100);--lat-color-background-warning-hover:var(--lat-ref-color-gold-200);--lat-color-background-warning-subtle:var(--lat-ref-color-gold-300);--lat-color-border-contrast:var(--lat-ref-color-miscellaneous-white);--lat-color-border-contrast-focus:var(--lat-ref-color-miscellaneous-white);--lat-color-border-critical-default:var(--lat-ref-color-red-1000);--lat-color-border-critical-subtle:var(--lat-ref-color-red-1000);--lat-color-border-focus:var(--lat-ref-color-sky-700);--lat-color-border-informational-default:var(--lat-ref-color-sky-800);--lat-color-border-informational-subtle:var(--lat-ref-color-sky-900);--lat-color-border-inverse-active:var(--lat-ref-color-gray-600);--lat-color-border-inverse-default:var(--lat-ref-color-gray-400);--lat-color-border-inverse-disabled:var(--lat-ref-color-gray-700);--lat-color-border-inverse-focus:var(--lat-ref-color-sky-400);--lat-color-border-inverse-hover:var(--lat-ref-color-gray-500);--lat-color-border-neutral-subtle:var(--lat-ref-color-gray-900);--lat-color-border-neutral-subtlest:var(--lat-ref-color-gray-100);--lat-color-border-primary-active:var(--lat-ref-color-gray-700);--lat-color-border-primary-default:var(--lat-ref-color-gray-300);--lat-color-border-primary-disabled:var(--lat-ref-color-gray-200);--lat-color-border-primary-hover:var(--lat-ref-color-gray-700);--lat-color-border-secondary-default:var(--lat-ref-color-gray-600);--lat-color-border-success-default:var(--lat-ref-color-green-900);--lat-color-border-success-subtle:var(--lat-ref-color-green-1000);--lat-color-border-transparent:#ffffff00;--lat-color-border-warning-default:var(--lat-ref-color-gold-1000);--lat-color-border-warning-subtle:var(--lat-ref-color-gold-1100);--lat-color-foreground-critical-default:var(--lat-ref-color-red-1000);--lat-color-foreground-critical-hover:var(--lat-ref-color-red-900);--lat-color-foreground-critical-subtle:var(--lat-ref-color-red-1000);--lat-color-foreground-informational-default:var(--lat-ref-color-sky-900);--lat-color-foreground-informational-subtle:var(--lat-ref-color-sky-900);--lat-color-foreground-inverse-critical-default:var(--lat-ref-color-red-300);--lat-color-foreground-inverse-default:var(--lat-ref-color-miscellaneous-white);--lat-color-foreground-inverse-disabled:var(--lat-ref-color-gray-700);--lat-color-foreground-inverse-link-active:var(--lat-ref-color-sky-300);--lat-color-foreground-inverse-link-default:var(--lat-ref-color-sky-200);--lat-color-foreground-inverse-link-hover:var(--lat-ref-color-sky-300);--lat-color-foreground-inverse-link-visited:var(--lat-ref-color-purple-300);--lat-color-foreground-inverse-secondary:var(--lat-ref-color-gray-300);--lat-color-foreground-inverse-success-default:var(--lat-ref-color-green-500);--lat-color-foreground-inverse-warning-default:var(--lat-ref-color-gold-500);--lat-color-foreground-link-active:var(--lat-ref-color-blue-700);--lat-color-foreground-link-default:var(--lat-ref-color-sky-900);--lat-color-foreground-link-hover:var(--lat-ref-color-blue-700);--lat-color-foreground-link-visited:var(--lat-ref-color-purple-700);--lat-color-foreground-neutral-default:var(--lat-ref-color-gray-700);--lat-color-foreground-neutral-subtle:var(--lat-ref-color-gray-900);--lat-color-foreground-pink-boldest:var(--lat-ref-color-pink-1000);--lat-color-foreground-primary-default:var(--lat-ref-color-gray-900);--lat-color-foreground-primary-disabled:var(--lat-ref-color-gray-600);--lat-color-foreground-purple-boldest:var(--lat-ref-color-purple-1000);--lat-color-foreground-secondary-default:var(--lat-ref-color-gray-700);--lat-color-foreground-secondary-disabled:var(--lat-ref-color-gray-600);--lat-color-foreground-success-boldest:var(--lat-ref-color-green-1000);--lat-color-foreground-success-default:var(--lat-ref-color-green-900);--lat-color-foreground-teal-boldest:var(--lat-ref-color-teal-1000);--lat-color-foreground-warning-boldest:var(--lat-ref-color-gold-1100);--lat-color-foreground-warning-default:var(--lat-ref-color-gold-1000);--lat-color-page-primary:var(--lat-ref-color-miscellaneous-white);--lat-color-page-secondary:var(--lat-ref-color-gray-50);--lat-gradient-rainbow:linear-gradient(90deg, #F96E10, #FFC305, #FFE84F, #78E898, #3EDFFF, #0298EC);--lat-motion-duration-instant:100ms;--lat-motion-duration-fast:150ms;--lat-motion-duration-moderate:200ms;--lat-motion-duration-slow:300ms;--lat-motion-duration-deliberate:500ms;--lat-motion-ease-standard:cubic-bezier(0.4, 0, 0.2, 1);--lat-motion-ease-entrance:cubic-bezier(0.16, 1, 0.3, 1);--lat-motion-ease-exit:cubic-bezier(0.4, 0, 1, 1);--lat-motion-spin-fast:1s;--lat-motion-spin-slow:2.5s;--lat-motion-pulse-slow:1.4s;--lat-motion-type-chart:35ms;--lat-motion-type-erase:20ms;--lat-motion-type-pause:1200ms;--lat-shadow-popover:0 1px 2px rgba(25, 26, 27, 0.06), 0 2px 6px rgba(25, 26, 27, 0.08);--lat-shadow-focus:0 4px 4px rgba(0, 0, 0, 0.12);--lat-shadow-tooltip:0 1px 2px rgba(25, 26, 27, 0.06), 0 2px 6px rgba(25, 26, 27, 0.08);--lat-shadow-small:0 1px 2px rgba(25, 26, 27, 0.06), 0 2px 6px rgba(25, 26, 27, 0.08);--lat-shadow-medium:0 2px 4px rgba(25, 26, 27, 0.06), 0 6px 16px rgba(25, 26, 27, 0.10);--lat-shadow-large:0 4px 8px rgba(25, 26, 27, 0.08), 0 12px 28px rgba(25, 26, 27, 0.14);--lat-shadow-overflow-left:-4px 0 8px rgba(25, 26, 27, 0.08);--lat-shadow-overflow-right:4px 0 8px rgba(25, 26, 27, 0.08);--lat-shadow-overflow-bottom:0 4px 8px rgba(25, 26, 27, 0.08);--lat-size-x0:0px;--lat-size-x1:4px;--lat-size-x2:8px;--lat-size-x3:12px;--lat-size-x4:16px;--lat-size-x5:20px;--lat-size-x6:24px;--lat-size-x7:28px;--lat-size-x8:32px;--lat-size-x9:36px;--lat-size-x10:40px;--lat-size-x11:44px;--lat-size-x12:48px;--lat-size-x13:52px;--lat-size-x14:56px;--lat-size-x15:60px;--lat-size-x16:64px;--lat-size-x20:80px;--lat-space-inline-text:4px;--lat-space-text-to-separator-padding:4px;--lat-space-trigger-to-anchor:4px;--lat-space-gutter-s:8px;--lat-space-text-to-text-s:8px;--lat-space-trigger-s:8px;--lat-space-card-padding:12px;--lat-space-form-s:12px;--lat-space-gutter-m:12px;--lat-space-text-to-component-s:12px;--lat-space-text-to-text-m:12px;--lat-space-trigger-m:12px;--lat-space-form-m:16px;--lat-space-section-s:16px;--lat-space-text-to-component-m:16px;--lat-space-section-m:20px;--lat-space-modal-padding:24px;--lat-space-page-padding:24px;--lat-space-pane:24px;--lat-space-x0:0px;--lat-space-x1:4px;--lat-space-x2:8px;--lat-space-x3:12px;--lat-space-x4:16px;--lat-space-x5:20px;--lat-space-x6:24px;--lat-space-x7:28px;--lat-space-x8:32px;--lat-space-x9:36px;--lat-space-x10:40px;--lat-space-x11:44px;--lat-space-x12:48px;--lat-text-body-default:400 0.875rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-default-italic:italic 400 0.875rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-default-medium:500 0.875rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-small:400 0.75rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-small-medium:500 0.75rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-large:400 1rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-large-italic:italic 400 1rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-large-medium:500 1rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-code-small:400 0.75rem 'Roboto Mono', monospace;--lat-text-code-medium:400 0.875rem 'Roboto Mono', monospace;--lat-text-heading-1:600 2rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-heading-2:600 1.5rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-heading-3:600 1.25rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-heading-4:600 1rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-heading-5:600 0.875rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-heading-6:600 0.75rem 'Roboto', Arial, Helvetica, sans-serif;--lat-z-base:0;--lat-z-sticky:50;--lat-z-chrome:100;--lat-z-overlay:500;--lat-z-modal:600;--lat-z-popover:1000;--lat-z-toast:1500;--lat-z-tooltip:2000;--lat-comp-badge-background-critical-bold:var(--lat-color-background-critical-bold);--lat-comp-badge-background-critical-default:#d781844d;--lat-comp-badge-background-informational-default:#60b5f04d;--lat-comp-badge-background-neutral-default:#c9d1df4d;--lat-comp-badge-background-success-default:#a1db6a4d;--lat-comp-badge-background-warning-default:#ffd14d4d;--lat-comp-badge-border-contrast-default:var(--lat-color-border-contrast);--lat-comp-badge-foreground-critical-default:var(--lat-color-foreground-critical-subtle);--lat-comp-badge-foreground-informational-default:var(--lat-color-foreground-informational-subtle);--lat-comp-badge-foreground-inverse-default:var(--lat-color-foreground-inverse-default);--lat-comp-badge-foreground-neutral-default:var(--lat-color-foreground-neutral-subtle);--lat-comp-badge-foreground-success-default:var(--lat-color-foreground-success-boldest);--lat-comp-badge-foreground-warning-default:var(--lat-color-foreground-warning-boldest);--lat-comp-banner-background-critical-default:#d781844d;--lat-comp-banner-background-critical-hover:var(--lat-color-background-critical-hover);--lat-comp-banner-background-informational-default:#60b5f04d;--lat-comp-banner-background-informational-hover:var(--lat-color-background-informational-hover);--lat-comp-banner-background-neutral-default:#c9d1df4d;--lat-comp-banner-background-neutral-hover:var(--lat-color-background-neutral-hover);--lat-comp-banner-background-success-default:#a1db6a4d;--lat-comp-banner-background-success-hover:var(--lat-color-background-success-hover);--lat-comp-banner-background-warning-default:#ffd14d4d;--lat-comp-banner-background-warning-hover:var(--lat-color-background-warning-hover);--lat-comp-banner-border-critical-default:var(--lat-color-border-critical-subtle);--lat-comp-banner-border-informational-default:var(--lat-color-border-informational-subtle);--lat-comp-banner-border-neutral-default:var(--lat-color-border-neutral-subtle);--lat-comp-banner-border-success-default:var(--lat-color-border-success-subtle);--lat-comp-banner-border-warning-default:var(--lat-color-border-warning-subtle);--lat-comp-banner-foreground-critical-default:var(--lat-color-foreground-critical-subtle);--lat-comp-banner-foreground-informational-default:var(--lat-color-foreground-informational-subtle);--lat-comp-banner-foreground-neutral-default:var(--lat-color-foreground-neutral-subtle);--lat-comp-banner-foreground-success-default:var(--lat-color-foreground-success-boldest);--lat-comp-banner-foreground-warning-default:var(--lat-color-foreground-warning-boldest);--lat-comp-toast-background-primary-default:var(--lat-color-background-inverse-default);--lat-comp-toast-background-primary-hover:var(--lat-color-background-inverse-hover);--lat-comp-toast-foreground-critical-default:var(--lat-color-foreground-inverse-critical-default);--lat-comp-toast-foreground-link-active:var(--lat-color-foreground-inverse-link-active);--lat-comp-toast-foreground-link-default:var(--lat-color-foreground-inverse-link-default);--lat-comp-toast-foreground-link-hover:var(--lat-color-foreground-inverse-link-hover);--lat-comp-toast-foreground-link-visited:var(--lat-color-foreground-inverse-link-visited);--lat-comp-toast-foreground-primary-default:var(--lat-color-foreground-inverse-default);--lat-comp-toast-foreground-success-default:var(--lat-color-foreground-inverse-success-default);--lat-comp-tooltip-background-primary-default:var(--lat-color-background-inverse-default);--lat-comp-tooltip-foreground-primary-default:var(--lat-color-foreground-inverse-default)}.dark{--lat-color-background-critical-bold:var(--lat-ref-color-red-400);--lat-color-background-critical-bolder:var(--lat-ref-color-red-300);--lat-color-background-critical-boldest:var(--lat-ref-color-red-200);--lat-color-background-critical-default:var(--lat-ref-color-red-1000);--lat-color-background-critical-hover:var(--lat-ref-color-red-300);--lat-color-background-critical-subtle:var(--lat-ref-color-red-500);--lat-color-background-informational-default:var(--lat-ref-color-sky-900);--lat-color-background-informational-hover:var(--lat-ref-color-blue-700);--lat-color-background-informational-subtle:var(--lat-ref-color-sky-500);--lat-color-background-interactive-active:var(--lat-ref-color-sky-200);--lat-color-background-interactive-default:var(--lat-ref-color-sky-400);--lat-color-background-interactive-disabled:var(--lat-ref-color-gray-900);--lat-color-background-interactive-hover:var(--lat-ref-color-sky-300);--lat-color-background-inverse-active:var(--lat-ref-color-sky-50);--lat-color-background-inverse-default:var(--lat-ref-color-miscellaneous-white);--lat-color-background-inverse-disabled:var(--lat-ref-color-gray-100);--lat-color-background-inverse-hover:var(--lat-ref-color-gray-50);--lat-color-background-neutral-active:var(--lat-ref-color-gray-700);--lat-color-background-neutral-bold:var(--lat-ref-color-gray-800);--lat-color-background-neutral-bolder:var(--lat-ref-color-gray-600);--lat-color-background-neutral-boldest:var(--lat-ref-color-gray-400);--lat-color-background-neutral-default:var(--lat-ref-color-gray-900);--lat-color-background-neutral-disabled:var(--lat-ref-color-gray-1000);--lat-color-background-neutral-hover:var(--lat-ref-color-gray-800);--lat-color-background-neutral-subtle:var(--lat-ref-color-gray-500);--lat-color-background-pink-default:var(--lat-ref-color-pink-900);--lat-color-background-primary-active:var(--lat-ref-color-gray-700);--lat-color-background-primary-default:var(--lat-ref-color-gray-1000);--lat-color-background-primary-disabled:var(--lat-ref-color-gray-1050);--lat-color-background-primary-hover:var(--lat-ref-color-gray-900);--lat-color-background-primary-selected:var(--lat-ref-color-gray-800);--lat-color-background-purple-default:var(--lat-ref-color-purple-900);--lat-color-background-secondary-default:var(--lat-ref-color-gray-950);--lat-color-background-secondary-hover:var(--lat-ref-color-gray-800);--lat-color-background-secondary-selected:var(--lat-ref-color-sky-700);--lat-color-background-success-bold:var(--lat-ref-color-green-700);--lat-color-background-success-bolder:var(--lat-ref-color-green-400);--lat-color-background-success-default:var(--lat-ref-color-green-1000);--lat-color-background-success-hover:var(--lat-ref-color-green-900);--lat-color-background-success-subtle:var(--lat-ref-color-green-500);--lat-color-background-teal-default:var(--lat-ref-color-teal-900);--lat-color-background-warning-default:var(--lat-ref-color-gold-1000);--lat-color-background-warning-hover:var(--lat-ref-color-gold-1100);--lat-color-background-warning-subtle:var(--lat-ref-color-gold-500);--lat-color-border-contrast:var(--lat-ref-color-miscellaneous-charcoal);--lat-color-border-contrast-focus:var(--lat-ref-color-miscellaneous-white);--lat-color-border-critical-default:var(--lat-ref-color-red-500);--lat-color-border-critical-subtle:var(--lat-ref-color-red-400);--lat-color-border-focus:var(--lat-ref-color-sky-400);--lat-color-border-informational-default:var(--lat-ref-color-sky-500);--lat-color-border-informational-subtle:var(--lat-ref-color-sky-400);--lat-color-border-inverse-active:var(--lat-ref-color-gray-700);--lat-color-border-inverse-default:var(--lat-ref-color-gray-300);--lat-color-border-inverse-disabled:var(--lat-ref-color-gray-200);--lat-color-border-inverse-focus:var(--lat-ref-color-sky-700);--lat-color-border-inverse-hover:var(--lat-ref-color-gray-700);--lat-color-border-neutral-subtle:var(--lat-ref-color-gray-400);--lat-color-border-neutral-subtlest:var(--lat-ref-color-gray-900);--lat-color-border-primary-active:var(--lat-ref-color-gray-500);--lat-color-border-primary-default:var(--lat-ref-color-gray-900);--lat-color-border-primary-disabled:var(--lat-ref-color-gray-700);--lat-color-border-primary-hover:var(--lat-ref-color-gray-500);--lat-color-border-secondary-default:var(--lat-ref-color-gray-600);--lat-color-border-success-default:var(--lat-ref-color-green-400);--lat-color-border-success-subtle:var(--lat-ref-color-green-400);--lat-color-border-transparent:#ffffff00;--lat-color-border-warning-default:var(--lat-ref-color-gold-600);--lat-color-border-warning-subtle:var(--lat-ref-color-gold-400);--lat-color-foreground-critical-default:var(--lat-ref-color-red-300);--lat-color-foreground-critical-hover:var(--lat-ref-color-red-200);--lat-color-foreground-critical-subtle:var(--lat-ref-color-red-100);--lat-color-foreground-informational-default:var(--lat-ref-color-sky-500);--lat-color-foreground-informational-subtle:var(--lat-ref-color-sky-100);--lat-color-foreground-inverse-critical-default:var(--lat-ref-color-red-1000);--lat-color-foreground-inverse-default:var(--lat-ref-color-gray-1050);--lat-color-foreground-inverse-disabled:var(--lat-ref-color-gray-500);--lat-color-foreground-inverse-link-active:var(--lat-ref-color-blue-700);--lat-color-foreground-inverse-link-default:var(--lat-ref-color-sky-900);--lat-color-foreground-inverse-link-hover:var(--lat-ref-color-blue-700);--lat-color-foreground-inverse-link-visited:var(--lat-ref-color-purple-700);--lat-color-foreground-inverse-secondary:var(--lat-ref-color-gray-700);--lat-color-foreground-inverse-success-default:var(--lat-ref-color-green-900);--lat-color-foreground-inverse-warning-default:var(--lat-ref-color-gold-1000);--lat-color-foreground-link-active:var(--lat-ref-color-sky-300);--lat-color-foreground-link-default:var(--lat-ref-color-sky-200);--lat-color-foreground-link-hover:var(--lat-ref-color-sky-300);--lat-color-foreground-link-visited:var(--lat-ref-color-purple-300);--lat-color-foreground-neutral-default:var(--lat-ref-color-gray-100);--lat-color-foreground-neutral-subtle:var(--lat-ref-color-gray-100);--lat-color-foreground-pink-boldest:var(--lat-ref-color-pink-100);--lat-color-foreground-primary-default:var(--lat-ref-color-gray-50);--lat-color-foreground-primary-disabled:var(--lat-ref-color-gray-700);--lat-color-foreground-purple-boldest:var(--lat-ref-color-purple-100);--lat-color-foreground-secondary-default:var(--lat-ref-color-gray-300);--lat-color-foreground-secondary-disabled:var(--lat-ref-color-gray-600);--lat-color-foreground-success-boldest:var(--lat-ref-color-green-100);--lat-color-foreground-success-default:var(--lat-ref-color-green-500);--lat-color-foreground-teal-boldest:var(--lat-ref-color-teal-100);--lat-color-foreground-warning-boldest:var(--lat-ref-color-gold-100);--lat-color-foreground-warning-default:var(--lat-ref-color-gold-500);--lat-color-page-primary:var(--lat-ref-color-gray-1050);--lat-color-page-secondary:var(--lat-ref-color-gray-1100);--lat-gradient-rainbow:linear-gradient(90deg, #F96E10, #FFC305, #FFE84F, #78E898, #3EDFFF, #0298EC);--lat-shadow-popover:0 0 0 1px rgba(255, 255, 255, 0.06), 0 2px 6px rgba(0, 0, 0, 0.35);--lat-shadow-focus:0 4px 8px rgba(0, 0, 0, 0.20);--lat-shadow-tooltip:0 0 0 1px rgba(255, 255, 255, 0.06), 0 2px 6px rgba(0, 0, 0, 0.35);--lat-shadow-small:0 0 0 1px rgba(255, 255, 255, 0.06), 0 2px 6px rgba(0, 0, 0, 0.35);--lat-shadow-medium:0 0 0 1px rgba(255, 255, 255, 0.06), 0 6px 16px rgba(0, 0, 0, 0.40);--lat-shadow-large:0 0 0 1px rgba(255, 255, 255, 0.05), 0 12px 28px rgba(0, 0, 0, 0.45);--lat-shadow-overflow-left:-4px 0 8px rgba(0, 0, 0, 0.35);--lat-shadow-overflow-right:4px 0 8px rgba(0, 0, 0, 0.35);--lat-shadow-overflow-bottom:0 4px 8px rgba(0, 0, 0, 0.35);--lat-comp-badge-background-critical-bold:var(--lat-color-background-critical-bold);--lat-comp-badge-background-critical-default:#e65b534d;--lat-comp-badge-background-informational-default:#0296ec4d;--lat-comp-badge-background-neutral-default:#8f94a94d;--lat-comp-badge-background-success-default:#73ca0d4d;--lat-comp-badge-background-warning-default:#ffbc044d;--lat-comp-badge-border-contrast-default:var(--lat-color-border-contrast);--lat-comp-badge-foreground-critical-default:var(--lat-color-foreground-critical-subtle);--lat-comp-badge-foreground-informational-default:var(--lat-color-foreground-informational-subtle);--lat-comp-badge-foreground-inverse-default:var(--lat-color-foreground-inverse-default);--lat-comp-badge-foreground-neutral-default:var(--lat-color-foreground-neutral-subtle);--lat-comp-badge-foreground-success-default:var(--lat-color-foreground-success-boldest);--lat-comp-badge-foreground-warning-default:var(--lat-color-foreground-warning-boldest);--lat-comp-banner-background-critical-default:#e65b534d;--lat-comp-banner-background-critical-hover:var(--lat-color-background-critical-hover);--lat-comp-banner-background-informational-default:#0296ec4d;--lat-comp-banner-background-informational-hover:var(--lat-color-background-informational-hover);--lat-comp-banner-background-neutral-default:#8f94a94d;--lat-comp-banner-background-neutral-hover:var(--lat-color-background-neutral-hover);--lat-comp-banner-background-success-default:#73ca0d4d;--lat-comp-banner-background-success-hover:var(--lat-color-background-success-hover);--lat-comp-banner-background-warning-default:#ffbc044d;--lat-comp-banner-background-warning-hover:var(--lat-color-background-warning-hover);--lat-comp-banner-border-critical-default:var(--lat-color-border-critical-subtle);--lat-comp-banner-border-informational-default:var(--lat-color-border-informational-subtle);--lat-comp-banner-border-neutral-default:var(--lat-color-border-neutral-subtle);--lat-comp-banner-border-success-default:var(--lat-color-border-success-subtle);--lat-comp-banner-border-warning-default:var(--lat-color-border-warning-subtle);--lat-comp-banner-foreground-critical-default:var(--lat-color-foreground-critical-subtle);--lat-comp-banner-foreground-informational-default:var(--lat-color-foreground-informational-subtle);--lat-comp-banner-foreground-neutral-default:var(--lat-color-foreground-neutral-subtle);--lat-comp-banner-foreground-success-default:var(--lat-color-foreground-success-boldest);--lat-comp-banner-foreground-warning-default:var(--lat-color-foreground-warning-boldest);--lat-comp-toast-background-primary-default:var(--lat-color-background-neutral-default);--lat-comp-toast-background-primary-hover:var(--lat-color-background-neutral-hover);--lat-comp-toast-foreground-critical-default:var(--lat-color-foreground-critical-default);--lat-comp-toast-foreground-link-active:var(--lat-color-foreground-link-active);--lat-comp-toast-foreground-link-default:var(--lat-color-foreground-link-default);--lat-comp-toast-foreground-link-hover:var(--lat-color-foreground-link-hover);--lat-comp-toast-foreground-link-visited:var(--lat-color-foreground-link-visited);--lat-comp-toast-foreground-primary-default:var(--lat-color-foreground-primary-default);--lat-comp-toast-foreground-success-default:var(--lat-color-foreground-success-default);--lat-comp-tooltip-background-primary-default:var(--lat-color-background-neutral-default);--lat-comp-tooltip-foreground-primary-default:var(--lat-color-foreground-primary-default)}#navbar-transition{background-color:var(--lat-color-background-secondary-default)}"}],"page":{"pagePath":"api/queries/create-a-query","slug":"/api/queries/create-a-query","pageMetadata":{"title":"Create a Query","description":"Create a query from a specification. DOES NOT run the query to retrieve results.\n","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/queries/{datasetSlug}","href":"/api/queries/create-a-query","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a query from a specification. DOES NOT run the query to retrieve results.\"\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":{},"config":{},"pageMetadata":{"title":"Create a Query","description":"Create a query from a specification. DOES NOT run the query to retrieve results.\n","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/queries/{datasetSlug}","href":"/api/queries/create-a-query","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/honeycomb/b94dfbf0ae869e30/_assets/scripts/kapa.js","/_mintlify/custom/honeycomb/0eb253641253d1ce/main.js","/_mintlify/custom/honeycomb/a0f1d373bf4aece9/tracing.js"],"openApiReferenceData":{"operation":{"security":["045bd7e5-6d91-4a88-8a95-daf402897dee"],"summary":"Create a Query","description":"Create a query from a specification. DOES NOT run the query to retrieve results.\n","tags":["Queries"],"operationId":"createQuery","requestBody":"311f193f-fda0-4e18-93b2-fd94ad0a2085","responses":{"200":"bb25abb9-42c3-4086-9c13-f522ed84a713","400":"6198f545-d0c0-4d02-97b1-1f7a778d226f","404":"2ea1d9c7-e4c6-40b9-94dc-17fde75ffb5f","422":"282d7b48-e4a9-4ce3-8d88-b2976ffab965","429":"765768f7-97f5-4f8a-97b3-1709010c612f"},"method":"post","type":"path","servers":["d21d1ea9-af23-41e4-8f48-91412b8e697a","d8569a81-b969-405b-8a71-00c0b9d97320"],"path":"/1/queries/{datasetSlug}","baseUrlOptions":["https://api.honeycomb.io","https://api.eu1.honeycomb.io"],"title":"Create a Query","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"824b949d-7c9e-4139-ba3e-7efa9a9c2ba2":{"name":"datasetSlug","description":"The dataset slug or use `__all__` for endpoints that support environment-wide operations.\n","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The dataset slug or use `__all__` for endpoints that support environment-wide operations.\n","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"breakdowns":{"type":"array","default":["user_agent"],"maxItems":100,"items":{"type":"string","uniqueKey":"breakdowns.items.[INDEX]","typeLabel":"string"},"description":"the columns by which to break events down into groups","uniqueKey":"breakdowns","typeLabel":"string[]"},"calculations":{"type":"array","description":"the calculations to return as a time series and summary table","maxItems":100,"items":{"type":"object","required":["op"],"properties":{"op":{"type":"string","default":"COUNT","enum":["COUNT","CONCURRENCY","SUM","AVG","COUNT_DISTINCT","HEATMAP","MAX","MIN","P001","P01","P05","P10","P20","P25","P50","P75","P80","P90","P95","P99","P999","RATE_AVG","RATE_SUM","RATE_MAX"],"isRequired":true,"uniqueKey":"calculations.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"column":{"oneOf":[{"type":"null","description":"The name of the column","uniqueKey":"calculations.items.[INDEX].column.oneOf.0","typeLabel":"null"},{"type":"string","description":"The name of the column","uniqueKey":"calculations.items.[INDEX].column.oneOf.1","typeLabel":"string"}],"uniqueKey":"calculations.items.[INDEX].column","typeLabel":"null | string"},"name":{"oneOf":[{"type":"null","description":"The name of the calculation. This is required if using calculation filters. Only available in Metrics Beta.","uniqueKey":"calculations.items.[INDEX].name.oneOf.0","typeLabel":"null"},{"type":"string","description":"The name of the calculation. This is required if using calculation filters. Only available in Metrics Beta.","uniqueKey":"calculations.items.[INDEX].name.oneOf.1","typeLabel":"string"}],"uniqueKey":"calculations.items.[INDEX].name","typeLabel":"null | string"},"filters":{"type":"array","maxItems":100,"items":{"type":"object","required":["column","op"],"properties":{"op":{"type":"string","enum":["=","!=",">",">=","\u003c","\u003c=","starts-with","does-not-start-with","ends-with","does-not-end-with","exists","does-not-exist","contains","does-not-contain","in","not-in"],"isRequired":true,"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"column":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].column.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].column.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].column","typeLabel":"null | string"},"value":{"oneOf":[{"type":"null","uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.0","typeLabel":"null"},{"type":"integer","uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.2","typeLabel":"number"},{"type":"string","uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.3","typeLabel":"string"},{"type":"boolean","uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.4","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.5.items.[INDEX]","typeLabel":"any"},"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.5","typeLabel":"any[]"}],"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value","typeLabel":"null | integer | number | string | boolean | any[]"}},"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX]","typeLabel":"object"},"description":"The filters with which to restrict the results of this particular calculation. Does not support relational fields. Only available in Metrics Beta.","uniqueKey":"calculations.items.[INDEX].filters","typeLabel":"object[]"},"filter_combination":{"type":"string","default":"AND","enum":["AND","OR"],"description":"Set to \"OR\" to match ANY filter in the filter list","uniqueKey":"calculations.items.[INDEX].filter_combination","typeLabel":"enum\u003cstring>"}},"uniqueKey":"calculations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"calculations","typeLabel":"object[]"},"filters":{"type":"array","maxItems":100,"items":{"type":"object","required":["column","op"],"properties":{"op":{"type":"string","enum":["=","!=",">",">=","\u003c","\u003c=","starts-with","does-not-start-with","ends-with","does-not-end-with","exists","does-not-exist","contains","does-not-contain","in","not-in"],"isRequired":true,"uniqueKey":"filters.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"column":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"filters.items.[INDEX].column.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"filters.items.[INDEX].column.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"filters.items.[INDEX].column","typeLabel":"null | string"},"value":{"oneOf":[{"type":"null","uniqueKey":"filters.items.[INDEX].value.oneOf.0","typeLabel":"null"},{"type":"integer","uniqueKey":"filters.items.[INDEX].value.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"filters.items.[INDEX].value.oneOf.2","typeLabel":"number"},{"type":"string","uniqueKey":"filters.items.[INDEX].value.oneOf.3","typeLabel":"string"},{"type":"boolean","uniqueKey":"filters.items.[INDEX].value.oneOf.4","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"filters.items.[INDEX].value.oneOf.5.items.[INDEX]","typeLabel":"any"},"uniqueKey":"filters.items.[INDEX].value.oneOf.5","typeLabel":"any[]"}],"uniqueKey":"filters.items.[INDEX].value","typeLabel":"null | integer | number | string | boolean | any[]"}},"uniqueKey":"filters.items.[INDEX]","typeLabel":"object"},"description":"The filters with which to restrict the considered events","uniqueKey":"filters","typeLabel":"object[]"},"filter_combination":{"type":"string","default":"AND","enum":["AND","OR"],"description":"Set to \"OR\" to match ANY filter in the filter list","uniqueKey":"filter_combination","typeLabel":"enum\u003cstring>"},"formulas":{"type":"array","description":"Mathematical formulas to be returned as a time series and summary table. Formulas operate on the results of calculations and are returned in query results instead of calculations. Only available in Metrics Beta.","maxItems":100,"items":{"type":"object","required":["name","expression"],"properties":{"name":{"type":"string","description":"The name of the formula","isRequired":true,"uniqueKey":"formulas.items.[INDEX].name","typeLabel":"string"},"expression":{"type":"string","description":"An expression that follows the same syntax as calculated field expressions, but uses the names of items in the calculations list in place of column names.","isRequired":true,"uniqueKey":"formulas.items.[INDEX].expression","typeLabel":"string"}},"uniqueKey":"formulas.items.[INDEX]","typeLabel":"object"},"uniqueKey":"formulas","typeLabel":"object[]"},"granularity":{"type":"integer","minimum":1,"description":"The time resolution of the query's graph, in seconds. Given a query time range T, valid values (T/1000...T/1). If left blank, granularity may be set to a sub-second value for queries with short time ranges.\n","uniqueKey":"granularity","typeLabel":"integer"},"orders":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"column":{"type":"string","uniqueKey":"orders.items.[INDEX].column","typeLabel":"string"},"op":{"type":"string","enum":["COUNT","CONCURRENCY","SUM","AVG","COUNT_DISTINCT","HEATMAP","MAX","MIN","P001","P01","P05","P10","P20","P25","P50","P75","P80","P90","P95","P99","P999","RATE_AVG","RATE_SUM","RATE_MAX"],"uniqueKey":"orders.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"order":{"type":"string","default":"ascending","enum":["ascending","descending"],"uniqueKey":"orders.items.[INDEX].order","typeLabel":"enum\u003cstring>"}},"uniqueKey":"orders.items.[INDEX]","typeLabel":"object"},"description":"The terms on which to order the query results. Each term must appear in the `breakdowns` field, the `calculations` field, or the `formulas` field. Formulas and calculations with name properties can be referenced by putting the name in the column property.\n","uniqueKey":"orders","typeLabel":"object[]"},"limit":{"type":"integer","default":100,"minimum":1,"maximum":10000,"description":"The maximum number of unique groups returned in 'results'. Aggregating many unique groups across a large time range is computationally expensive, and too high a limit with too many unique groups may cause queries to fail completely. Limiting the results to only the needed values can significantly speed up queries.\nThe normal allowed maximum value when creating a query is 1_000. When running 'disable_series' queries, this can be overridden to be up to 10_000, so the maximum value returned from the API when fetching a query may be up to 10_000.\n","uniqueKey":"limit","typeLabel":"integer"},"start_time":{"type":"integer","minimum":1,"default":1676399428,"description":"Absolute start time of query, in seconds since UNIX epoch. Must be \u003c= `end_time`.\n","uniqueKey":"start_time","typeLabel":"integer"},"end_time":{"type":"integer","minimum":1,"default":1676467828,"description":"Absolute end time of query, in seconds since UNIX epoch.","uniqueKey":"end_time","typeLabel":"integer"},"time_range":{"type":"integer","minimum":1,"default":7200,"description":"Time range of query in seconds. Can be used with either `start_time` (seconds after `start_time`), `end_time` (seconds before `end_time`), or without either (seconds before now).\n","uniqueKey":"time_range","typeLabel":"integer"},"havings":{"type":"array","description":"The Having clause allows you to filter on the results table. This operation is distinct from the Where clause, which filters the underlying events. Order By allows you to order the results, and Having filters them. Formulas and calculations with name properties can be referenced by putting the name in the column property.\n","maxItems":100,"items":{"type":"object","required":["calculate_op"],"properties":{"calculate_op":{"type":"string","enum":["COUNT","CONCURRENCY","SUM","AVG","COUNT_DISTINCT","MAX","MIN","P001","P01","P05","P10","P20","P25","P50","P75","P80","P90","P95","P99","P999","RATE_AVG","RATE_SUM","RATE_MAX"],"isRequired":true,"uniqueKey":"havings.items.[INDEX].calculate_op","typeLabel":"enum\u003cstring>"},"column":{"oneOf":[{"type":"null","description":"The name of the column to filter against. This can also be a calculation or formula name.","uniqueKey":"havings.items.[INDEX].column.oneOf.0","typeLabel":"null"},{"type":"string","description":"The name of the column to filter against. This can also be a calculation or formula name.","uniqueKey":"havings.items.[INDEX].column.oneOf.1","typeLabel":"string"}],"uniqueKey":"havings.items.[INDEX].column","typeLabel":"null | string"},"op":{"type":"string","enum":["=","!=",">",">=","\u003c","\u003c="],"uniqueKey":"havings.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"value":{"type":"number","default":10,"uniqueKey":"havings.items.[INDEX].value","typeLabel":"number"}},"uniqueKey":"havings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"havings","typeLabel":"object[]"},"calculated_fields":{"type":"array","description":"Computed properties that are calculated by a formula.\n","maxItems":100,"items":{"type":"object","required":["name","expression"],"properties":{"name":{"type":"string","description":"The field name","isRequired":true,"uniqueKey":"calculated_fields.items.[INDEX].name","typeLabel":"string"},"expression":{"type":"string","description":"The formula for your Calculated Field. To learn more about syntax and available functions, and to explore some example formulas, visit [Calculated Field Formula Reference](https://docs.honeycomb.io/reference/derived-column-formula/).","isRequired":true,"uniqueKey":"calculated_fields.items.[INDEX].expression","typeLabel":"string"}},"uniqueKey":"calculated_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"calculated_fields","typeLabel":"object[]"},"compare_time_offset_seconds":{"type":"integer","enum":[1800,3600,7200,28800,86400,604800,2419200,15724800],"description":"When set, offsets the query's time range by this number of seconds into the past, allowing comparison with historical data from an earlier time period. For example, setting this to 86400 (24 hours) will compare current results against data from 24 hours ago.\n##### Note\n - The offset must be greater than or equal to the query's time range duration.\n\n##### Allowed values\n- same time range as query time range\n- `1800` - 30 minutes\n- `3600` - 1 hour\n- `7200` - 2 hours\n- `28800` - 8 hours\n- `86400` - 24 hours\n- `604800` - 7 days\n- `2419200` - 28 days\n- `15724800` - 6 months\n","uniqueKey":"compare_time_offset_seconds","typeLabel":"enum\u003cinteger>"},"usage_mode":{"type":"boolean","description":"If `true`, query results will return aggregates without correcting for sample rates. This is useful for understanding the actual volume of data stored rather than the estimated original event counts. By default, aggregates are adjusted to reflect the estimated original event volume based on sample rates. Note: This field is not supported for triggers.\n","default":false,"uniqueKey":"usage_mode","typeLabel":"boolean"},"time_basis_end":{"x-internal":true,"type":"boolean","description":"If `true`, the query's time range applies to the end time of each span (its start time plus its duration) instead of its start time. By default, the time range applies to span start times.\n","default":false,"uniqueKey":"time_basis_end","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Simple Query":{"title":"Simple Query","value":{"calculations":[{"op":"COUNT"}],"orders":[{"op":"COUNT","order":"descending"}],"time_range":7200}},"Query With Filter and Group By":{"title":"Query With Filter and Group By","value":{"calculations":[{"op":"COUNT"}],"breakdowns":["user_agent"],"filters":[{"op":">=","column":"response.status_code","value":400}],"orders":[{"op":"COUNT","order":"descending"}],"time_range":7200}},"Query With Filter and Calculated Fields":{"title":"Query With Filter and Calculated Fields","value":{"calculations":[{"op":"COUNT"}],"breakdowns":["response.status_code"],"filters":[{"op":"=","column":"adhoc_check","value":true}],"calculated_fields":[{"name":"adhoc_check","expression":"GT($response.status_code, 200)"}],"orders":[{"op":"COUNT","order":"descending"}],"time_range":7200}},"Query With Relational Fields":{"title":"Query With Relational Fields","value":{"calculations":[{"op":"COUNT"}],"breakdowns":["name","root.response.status_code"],"filters":[{"op":"=","column":"child.response.status_code","value":400}],"orders":[{"op":"COUNT","order":"descending"}],"time_range":3600,"compare_time_offset_seconds":86400}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"bb25abb9-42c3-4086-9c13-f522ed84a713":{"description":"Success","headers":{"Ratelimit":{"description":"The (draft07) recommended header from the IETF on rate limiting.\nThe value of the header is formatted \"limit=X, remaining=Y, reset=Z\".\nWhere:\n - X is the maximum number of requests allowed in the window\n - Y is the number of requests remaining in the window\n - Z is the number of seconds until the limit resets\n","schema":{"type":"string"},"example":"limit=100, remaining=50, reset=60"},"RateLimitPolicy":{"description":"The (draft07) recommended header from the IETF on rate limiting.\nThe value of the header is formatted \"X;w=Y\".\nWhere:\n - X is the maximum number of requests allowed in a window\n - Y is the size of the window in seconds\n","schema":{"type":"string"},"example":"100;w=60"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","readOnly":true,"uniqueKey":"id","typeLabel":"string"},"breakdowns":{"type":"array","default":["user_agent"],"maxItems":100,"items":{"type":"string","uniqueKey":"breakdowns.items.[INDEX]","typeLabel":"string"},"description":"the columns by which to break events down into groups","uniqueKey":"breakdowns","typeLabel":"string[]"},"calculations":{"type":"array","description":"the calculations to return as a time series and summary table","maxItems":100,"items":{"type":"object","required":["op"],"properties":{"op":{"type":"string","default":"COUNT","enum":["COUNT","CONCURRENCY","SUM","AVG","COUNT_DISTINCT","HEATMAP","MAX","MIN","P001","P01","P05","P10","P20","P25","P50","P75","P80","P90","P95","P99","P999","RATE_AVG","RATE_SUM","RATE_MAX"],"isRequired":true,"uniqueKey":"calculations.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"column":{"oneOf":[{"type":"null","description":"The name of the column","uniqueKey":"calculations.items.[INDEX].column.oneOf.0","typeLabel":"null"},{"type":"string","description":"The name of the column","uniqueKey":"calculations.items.[INDEX].column.oneOf.1","typeLabel":"string"}],"uniqueKey":"calculations.items.[INDEX].column","typeLabel":"null | string"},"name":{"oneOf":[{"type":"null","description":"The name of the calculation. This is required if using calculation filters. Only available in Metrics Beta.","uniqueKey":"calculations.items.[INDEX].name.oneOf.0","typeLabel":"null"},{"type":"string","description":"The name of the calculation. This is required if using calculation filters. Only available in Metrics Beta.","uniqueKey":"calculations.items.[INDEX].name.oneOf.1","typeLabel":"string"}],"uniqueKey":"calculations.items.[INDEX].name","typeLabel":"null | string"},"filters":{"type":"array","maxItems":100,"items":{"type":"object","required":["column","op"],"properties":{"op":{"type":"string","enum":["=","!=",">",">=","\u003c","\u003c=","starts-with","does-not-start-with","ends-with","does-not-end-with","exists","does-not-exist","contains","does-not-contain","in","not-in"],"isRequired":true,"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"column":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].column.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].column.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].column","typeLabel":"null | string"},"value":{"oneOf":[{"type":"null","uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.0","typeLabel":"null"},{"type":"integer","uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.2","typeLabel":"number"},{"type":"string","uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.3","typeLabel":"string"},{"type":"boolean","uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.4","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.5.items.[INDEX]","typeLabel":"any"},"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value.oneOf.5","typeLabel":"any[]"}],"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX].value","typeLabel":"null | integer | number | string | boolean | any[]"}},"uniqueKey":"calculations.items.[INDEX].filters.items.[INDEX]","typeLabel":"object"},"description":"The filters with which to restrict the results of this particular calculation. Does not support relational fields. Only available in Metrics Beta.","uniqueKey":"calculations.items.[INDEX].filters","typeLabel":"object[]"},"filter_combination":{"type":"string","default":"AND","enum":["AND","OR"],"description":"Set to \"OR\" to match ANY filter in the filter list","uniqueKey":"calculations.items.[INDEX].filter_combination","typeLabel":"enum\u003cstring>"}},"uniqueKey":"calculations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"calculations","typeLabel":"object[]"},"filters":{"type":"array","maxItems":100,"items":{"type":"object","required":["column","op"],"properties":{"op":{"type":"string","enum":["=","!=",">",">=","\u003c","\u003c=","starts-with","does-not-start-with","ends-with","does-not-end-with","exists","does-not-exist","contains","does-not-contain","in","not-in"],"isRequired":true,"uniqueKey":"filters.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"column":{"oneOf":[{"type":"null","isRequired":true,"uniqueKey":"filters.items.[INDEX].column.oneOf.0","typeLabel":"null"},{"type":"string","isRequired":true,"uniqueKey":"filters.items.[INDEX].column.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"filters.items.[INDEX].column","typeLabel":"null | string"},"value":{"oneOf":[{"type":"null","uniqueKey":"filters.items.[INDEX].value.oneOf.0","typeLabel":"null"},{"type":"integer","uniqueKey":"filters.items.[INDEX].value.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"filters.items.[INDEX].value.oneOf.2","typeLabel":"number"},{"type":"string","uniqueKey":"filters.items.[INDEX].value.oneOf.3","typeLabel":"string"},{"type":"boolean","uniqueKey":"filters.items.[INDEX].value.oneOf.4","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"filters.items.[INDEX].value.oneOf.5.items.[INDEX]","typeLabel":"any"},"uniqueKey":"filters.items.[INDEX].value.oneOf.5","typeLabel":"any[]"}],"uniqueKey":"filters.items.[INDEX].value","typeLabel":"null | integer | number | string | boolean | any[]"}},"uniqueKey":"filters.items.[INDEX]","typeLabel":"object"},"description":"The filters with which to restrict the considered events","uniqueKey":"filters","typeLabel":"object[]"},"filter_combination":{"type":"string","default":"AND","enum":["AND","OR"],"description":"Set to \"OR\" to match ANY filter in the filter list","uniqueKey":"filter_combination","typeLabel":"enum\u003cstring>"},"formulas":{"type":"array","description":"Mathematical formulas to be returned as a time series and summary table. Formulas operate on the results of calculations and are returned in query results instead of calculations. Only available in Metrics Beta.","maxItems":100,"items":{"type":"object","required":["name","expression"],"properties":{"name":{"type":"string","description":"The name of the formula","isRequired":true,"uniqueKey":"formulas.items.[INDEX].name","typeLabel":"string"},"expression":{"type":"string","description":"An expression that follows the same syntax as calculated field expressions, but uses the names of items in the calculations list in place of column names.","isRequired":true,"uniqueKey":"formulas.items.[INDEX].expression","typeLabel":"string"}},"uniqueKey":"formulas.items.[INDEX]","typeLabel":"object"},"uniqueKey":"formulas","typeLabel":"object[]"},"granularity":{"type":"integer","minimum":1,"description":"The time resolution of the query's graph, in seconds. Given a query time range T, valid values (T/1000...T/1). If left blank, granularity may be set to a sub-second value for queries with short time ranges.\n","uniqueKey":"granularity","typeLabel":"integer"},"orders":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"column":{"type":"string","uniqueKey":"orders.items.[INDEX].column","typeLabel":"string"},"op":{"type":"string","enum":["COUNT","CONCURRENCY","SUM","AVG","COUNT_DISTINCT","HEATMAP","MAX","MIN","P001","P01","P05","P10","P20","P25","P50","P75","P80","P90","P95","P99","P999","RATE_AVG","RATE_SUM","RATE_MAX"],"uniqueKey":"orders.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"order":{"type":"string","default":"ascending","enum":["ascending","descending"],"uniqueKey":"orders.items.[INDEX].order","typeLabel":"enum\u003cstring>"}},"uniqueKey":"orders.items.[INDEX]","typeLabel":"object"},"description":"The terms on which to order the query results. Each term must appear in the `breakdowns` field, the `calculations` field, or the `formulas` field. Formulas and calculations with name properties can be referenced by putting the name in the column property.\n","uniqueKey":"orders","typeLabel":"object[]"},"limit":{"type":"integer","default":100,"minimum":1,"maximum":10000,"description":"The maximum number of unique groups returned in 'results'. Aggregating many unique groups across a large time range is computationally expensive, and too high a limit with too many unique groups may cause queries to fail completely. Limiting the results to only the needed values can significantly speed up queries.\nThe normal allowed maximum value when creating a query is 1_000. When running 'disable_series' queries, this can be overridden to be up to 10_000, so the maximum value returned from the API when fetching a query may be up to 10_000.\n","uniqueKey":"limit","typeLabel":"integer"},"start_time":{"type":"integer","minimum":1,"default":1676399428,"description":"Absolute start time of query, in seconds since UNIX epoch. Must be \u003c= `end_time`.\n","uniqueKey":"start_time","typeLabel":"integer"},"end_time":{"type":"integer","minimum":1,"default":1676467828,"description":"Absolute end time of query, in seconds since UNIX epoch.","uniqueKey":"end_time","typeLabel":"integer"},"time_range":{"type":"integer","minimum":1,"default":7200,"description":"Time range of query in seconds. Can be used with either `start_time` (seconds after `start_time`), `end_time` (seconds before `end_time`), or without either (seconds before now).\n","uniqueKey":"time_range","typeLabel":"integer"},"havings":{"type":"array","description":"The Having clause allows you to filter on the results table. This operation is distinct from the Where clause, which filters the underlying events. Order By allows you to order the results, and Having filters them. Formulas and calculations with name properties can be referenced by putting the name in the column property.\n","maxItems":100,"items":{"type":"object","required":["calculate_op"],"properties":{"calculate_op":{"type":"string","enum":["COUNT","CONCURRENCY","SUM","AVG","COUNT_DISTINCT","MAX","MIN","P001","P01","P05","P10","P20","P25","P50","P75","P80","P90","P95","P99","P999","RATE_AVG","RATE_SUM","RATE_MAX"],"isRequired":true,"uniqueKey":"havings.items.[INDEX].calculate_op","typeLabel":"enum\u003cstring>"},"column":{"oneOf":[{"type":"null","description":"The name of the column to filter against. This can also be a calculation or formula name.","uniqueKey":"havings.items.[INDEX].column.oneOf.0","typeLabel":"null"},{"type":"string","description":"The name of the column to filter against. This can also be a calculation or formula name.","uniqueKey":"havings.items.[INDEX].column.oneOf.1","typeLabel":"string"}],"uniqueKey":"havings.items.[INDEX].column","typeLabel":"null | string"},"op":{"type":"string","enum":["=","!=",">",">=","\u003c","\u003c="],"uniqueKey":"havings.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"value":{"type":"number","default":10,"uniqueKey":"havings.items.[INDEX].value","typeLabel":"number"}},"uniqueKey":"havings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"havings","typeLabel":"object[]"},"calculated_fields":{"type":"array","description":"Computed properties that are calculated by a formula.\n","maxItems":100,"items":{"type":"object","required":["name","expression"],"properties":{"name":{"type":"string","description":"The field name","isRequired":true,"uniqueKey":"calculated_fields.items.[INDEX].name","typeLabel":"string"},"expression":{"type":"string","description":"The formula for your Calculated Field. To learn more about syntax and available functions, and to explore some example formulas, visit [Calculated Field Formula Reference](https://docs.honeycomb.io/reference/derived-column-formula/).","isRequired":true,"uniqueKey":"calculated_fields.items.[INDEX].expression","typeLabel":"string"}},"uniqueKey":"calculated_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"calculated_fields","typeLabel":"object[]"},"compare_time_offset_seconds":{"type":"integer","enum":[1800,3600,7200,28800,86400,604800,2419200,15724800],"description":"When set, offsets the query's time range by this number of seconds into the past, allowing comparison with historical data from an earlier time period. For example, setting this to 86400 (24 hours) will compare current results against data from 24 hours ago.\n##### Note\n - The offset must be greater than or equal to the query's time range duration.\n\n##### Allowed values\n- same time range as query time range\n- `1800` - 30 minutes\n- `3600` - 1 hour\n- `7200` - 2 hours\n- `28800` - 8 hours\n- `86400` - 24 hours\n- `604800` - 7 days\n- `2419200` - 28 days\n- `15724800` - 6 months\n","uniqueKey":"compare_time_offset_seconds","typeLabel":"enum\u003cinteger>"},"usage_mode":{"type":"boolean","description":"If `true`, query results will return aggregates without correcting for sample rates. This is useful for understanding the actual volume of data stored rather than the estimated original event counts. By default, aggregates are adjusted to reflect the estimated original event volume based on sample rates. Note: This field is not supported for triggers.\n","default":false,"uniqueKey":"usage_mode","typeLabel":"boolean"},"time_basis_end":{"x-internal":true,"type":"boolean","description":"If `true`, the query's time range applies to the end time of each span (its start time plus its duration) instead of its start time. By default, the time range applies to span start times.\n","default":false,"uniqueKey":"time_basis_end","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Simple Query":{"title":"Simple Query","value":{"id":"abc3419d","calculations":[{"op":"COUNT"}],"orders":[{"op":"COUNT","order":"descending"}],"time_range":7200}},"Query With Filter and Group By":{"title":"Query With Filter and Group By","value":{"id":"xyz321a","calculations":[{"op":"COUNT"}],"breakdowns":["user_agent"],"filters":[{"op":">=","column":"response.status_code","value":400}],"orders":[{"op":"COUNT","order":"descending"}],"time_range":7200}},"Query With Filter and Calculated Fields":{"title":"Query With Filter and Calculated Fields","value":{"id":"lmn098p","calculations":[{"op":"COUNT"}],"breakdowns":["response.status_code"],"filters":[{"op":"=","column":"adhoc_check","value":true}],"calculated_fields":[{"name":"adhoc_check","expression":"GT($response.status_code, 200)"}],"orders":[{"op":"COUNT","order":"descending"}],"time_range":7200}},"Query With Relational Fields":{"title":"Query With Relational Fields","value":{"id":"abc3419d","calculations":[{"op":"COUNT"}],"breakdowns":["name","root.response.status_code"],"filters":[{"op":"=","column":"child.response.status_code","value":400}],"orders":[{"op":"COUNT","order":"descending"}],"time_range":3600,"compare_time_offset_seconds":86400}}},"exampleType":"examples"}},"exampleType":"examples"},"6198f545-d0c0-4d02-97b1-1f7a778d226f":{"description":"The provided request body was invalid.","headers":{"Ratelimit":{"description":"The (draft07) recommended header from the IETF on rate limiting.\nThe value of the header is formatted \"limit=X, remaining=Y, reset=Z\".\nWhere:\n - X is the maximum number of requests allowed in the window\n - Y is the number of requests remaining in the window\n - Z is the number of seconds until the limit resets\n","schema":{"type":"string"},"example":"limit=100, remaining=50, reset=60"},"RateLimitPolicy":{"description":"The (draft07) recommended header from the IETF on rate limiting.\nThe value of the header is formatted \"X;w=Y\".\nWhere:\n - X is the maximum number of requests allowed in a window\n - Y is the size of the window in seconds\n","schema":{"type":"string"},"example":"100;w=60"}},"content":{"application/problem+json":{"schema":{"x-tags":["Errors"],"description":"An RFC7807 'Problem Detail' formatted error message.","type":"object","required":["error","status","type","title"],"properties":{"error":{"type":"string","readOnly":true,"default":"something went wrong!","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"status":{"type":"number","readOnly":true,"description":"The HTTP status code of the error.","isRequired":true,"uniqueKey":"status","typeLabel":"number"},"type":{"type":"string","readOnly":true,"description":"Type is a URI used to uniquely identify the type of error.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"title":{"type":"string","readOnly":true,"description":"Title is a human-readable summary that explains the `type` of the problem.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","readOnly":true,"description":"The general, human-readable error message.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","readOnly":true,"description":"The unique identifier (ID) for this specific error.","uniqueKey":"instance","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"DetailedError":{"title":"DetailedError","value":{"status":400,"type":"https://api.honeycomb.io/problems/unparseable","title":"The request body could not be parsed.","error":"invalid gzip data"}}},"exampleType":"examples"},"application/json":{"schema":{"x-tags":["Errors"],"type":"object","description":"A legacy error, containing only a textual description.","properties":{"error":{"type":"string","readOnly":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"GenericError":{"title":"GenericError","value":{"error":"invalid Query data"}}},"exampleType":"examples"},"application/vnd.api+json":{"schema":{"x-tags":["Errors"],"type":"object","description":"A JSONAPI-formatted error message.","properties":{"errors":{"type":"array","items":{"type":"object","readOnly":true,"required":["id","code"],"properties":{"id":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"errors.items.[INDEX].id","typeLabel":"string"},"code":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"status":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].status","typeLabel":"string"},"title":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].title","typeLabel":"string"},"detail":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"source":{"type":"object","readOnly":true,"properties":{"pointer":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.pointer","typeLabel":"string"},"header":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.header","typeLabel":"string"},"parameter":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.parameter","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX].source","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"JSONAPIError":{"title":"JSONAPIError","value":{"errors":[{"id":"06dcdd6508ca822f0e7e2bb4121c1f52","code":"invalid","title":"request body could not be parsed","detail":"invalid gzip data"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"2ea1d9c7-e4c6-40b9-94dc-17fde75ffb5f":{"description":"Not Found","headers":{"Ratelimit":{"description":"The (draft07) recommended header from the IETF on rate limiting.\nThe value of the header is formatted \"limit=X, remaining=Y, reset=Z\".\nWhere:\n - X is the maximum number of requests allowed in the window\n - Y is the number of requests remaining in the window\n - Z is the number of seconds until the limit resets\n","schema":{"type":"string"},"example":"limit=100, remaining=50, reset=60"},"RateLimitPolicy":{"description":"The (draft07) recommended header from the IETF on rate limiting.\nThe value of the header is formatted \"X;w=Y\".\nWhere:\n - X is the maximum number of requests allowed in a window\n - Y is the size of the window in seconds\n","schema":{"type":"string"},"example":"100;w=60"}},"content":{"application/json":{"schema":{"x-tags":["Errors"],"type":"object","description":"A legacy error, containing only a textual description.","properties":{"error":{"type":"string","readOnly":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"dataset not found"},"examples":{"Example":{"title":"Example","value":{"error":"dataset not found"}}},"exampleType":"examples"},"application/problem+json":{"schema":{"x-tags":["Errors"],"description":"An RFC7807 'Problem Detail' formatted error message.","type":"object","required":["error","status","type","title"],"properties":{"error":{"type":"string","readOnly":true,"default":"something went wrong!","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"status":{"type":"number","readOnly":true,"description":"The HTTP status code of the error.","isRequired":true,"uniqueKey":"status","typeLabel":"number"},"type":{"type":"string","readOnly":true,"description":"Type is a URI used to uniquely identify the type of error.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"title":{"type":"string","readOnly":true,"description":"Title is a human-readable summary that explains the `type` of the problem.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","readOnly":true,"description":"The general, human-readable error message.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","readOnly":true,"description":"The unique identifier (ID) for this specific error.","uniqueKey":"instance","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":404,"type":"https://api.honeycomb.io/problems/not-found","title":"The requested resource cannot be found.","error":"Dataset not found","detail":"Dataset not found"},"examples":{"Example":{"title":"Example","value":{"status":404,"type":"https://api.honeycomb.io/problems/not-found","title":"The requested resource cannot be found.","error":"Dataset not found","detail":"Dataset not found"}}},"exampleType":"examples"},"application/vnd.api+json":{"schema":{"x-tags":["Errors"],"type":"object","description":"A JSONAPI-formatted error message.","properties":{"errors":{"type":"array","items":{"type":"object","readOnly":true,"required":["id","code"],"properties":{"id":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"errors.items.[INDEX].id","typeLabel":"string"},"code":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"status":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].status","typeLabel":"string"},"title":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].title","typeLabel":"string"},"detail":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"source":{"type":"object","readOnly":true,"properties":{"pointer":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.pointer","typeLabel":"string"},"header":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.header","typeLabel":"string"},"parameter":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.parameter","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX].source","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"id":"\u003cstring>","code":"\u003cstring>","status":"\u003cstring>","title":"\u003cstring>","detail":"\u003cstring>","source":{"pointer":"\u003cstring>","header":"\u003cstring>","parameter":"\u003cstring>"}}]}}},"exampleType":"generated"}},"exampleType":"examples"},"282d7b48-e4a9-4ce3-8d88-b2976ffab965":{"description":"Validation Failed","headers":{"Ratelimit":{"description":"The (draft07) recommended header from the IETF on rate limiting.\nThe value of the header is formatted \"limit=X, remaining=Y, reset=Z\".\nWhere:\n - X is the maximum number of requests allowed in the window\n - Y is the number of requests remaining in the window\n - Z is the number of seconds until the limit resets\n","schema":{"type":"string"},"example":"limit=100, remaining=50, reset=60"},"RateLimitPolicy":{"description":"The (draft07) recommended header from the IETF on rate limiting.\nThe value of the header is formatted \"X;w=Y\".\nWhere:\n - X is the maximum number of requests allowed in a window\n - Y is the size of the window in seconds\n","schema":{"type":"string"},"example":"100;w=60"}},"content":{"application/problem+json":{"schema":{"type":"object","description":"An RFC7807 'Problem Detail' formatted error message.","required":["error","status","type","title"],"x-tags":["Errors"],"properties":{"error":{"type":"string","readOnly":true,"default":"something went wrong!","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"status":{"type":"number","description":"The HTTP status code of the error.","default":422,"readOnly":true,"isRequired":true,"uniqueKey":"status","typeLabel":"number"},"type":{"type":"string","description":"Type is a URI used to uniquely identify the type of error.","default":"https://api.honeycomb.io/problems/validation-failed","readOnly":true,"isRequired":true,"uniqueKey":"type","typeLabel":"string"},"title":{"type":"string","description":"Title is a human-readable summary that explains the `type` of the problem.","default":"The provided input is invalid.","readOnly":true,"isRequired":true,"uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","readOnly":true,"description":"The general, human-readable error message.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","readOnly":true,"description":"The unique identifier (ID) for this specific error.","uniqueKey":"instance","typeLabel":"string"},"type_detail":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","readOnly":true,"uniqueKey":"type_detail.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","readOnly":true,"enum":["invalid","missing","incorrect_type","already_exists"],"uniqueKey":"type_detail.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"description":{"type":"string","readOnly":true,"uniqueKey":"type_detail.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"type_detail.items.[INDEX]","typeLabel":"object"},"uniqueKey":"type_detail","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":422,"type":"https://api.honeycomb.io/problems/validation-failed","error":"The provided input is invalid.","title":"The provided input is invalid","type_detail":[{"field":"type","code":"invalid","description":"type: must be a valid value"}]},"examples":{"Example":{"title":"Example","value":{"status":422,"type":"https://api.honeycomb.io/problems/validation-failed","error":"The provided input is invalid.","title":"The provided input is invalid","type_detail":[{"field":"type","code":"invalid","description":"type: must be a valid value"}]}}},"exampleType":"examples"},"application/json":{"schema":{"x-tags":["Errors"],"type":"object","description":"A legacy error, containing only a textual description.","properties":{"error":{"type":"string","readOnly":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"},"application/vnd.api+json":{"schema":{"x-tags":["Errors"],"type":"object","description":"A JSONAPI-formatted error message.","properties":{"errors":{"type":"array","items":{"type":"object","readOnly":true,"required":["id","code"],"properties":{"id":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"errors.items.[INDEX].id","typeLabel":"string"},"code":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"status":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].status","typeLabel":"string"},"title":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].title","typeLabel":"string"},"detail":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"source":{"type":"object","readOnly":true,"properties":{"pointer":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.pointer","typeLabel":"string"},"header":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.header","typeLabel":"string"},"parameter":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.parameter","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX].source","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"id":"\u003cstring>","code":"\u003cstring>","status":"\u003cstring>","title":"\u003cstring>","detail":"\u003cstring>","source":{"pointer":"\u003cstring>","header":"\u003cstring>","parameter":"\u003cstring>"}}]}}},"exampleType":"generated"}},"exampleType":"examples"},"765768f7-97f5-4f8a-97b3-1709010c612f":{"description":"Rate Limit Exceeded","headers":{"Retry-After":{"description":"The RFC7231 header used to indicate when a client should retry requests.\n","schema":{"type":"string"},"example":"Fri, 22 Mar 2024 18:37:53 GMT"},"Ratelimit":{"description":"The (draft07) recommended header from the IETF on rate limiting.\nThe value of the header is formatted \"limit=X, remaining=Y, reset=Z\".\nWhere:\n - X is the maximum number of requests allowed in the window\n - Y is the number of requests remaining in the window\n - Z is the number of seconds until the limit resets\n","schema":{"type":"string"},"example":"limit=100, remaining=50, reset=60"},"RateLimitPolicy":{"description":"The (draft07) recommended header from the IETF on rate limiting.\nThe value of the header is formatted \"X;w=Y\".\nWhere:\n - X is the maximum number of requests allowed in a window\n - Y is the size of the window in seconds\n","schema":{"type":"string"},"example":"100;w=60"}},"content":{"application/json":{"schema":{"x-tags":["Errors"],"type":"object","description":"A legacy error, containing only a textual description.","properties":{"error":{"type":"string","readOnly":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Rate Limited"},"examples":{"Example":{"title":"Example","value":{"error":"Rate Limited"}}},"exampleType":"examples"},"application/problem+json":{"schema":{"x-tags":["Errors"],"description":"An RFC7807 'Problem Detail' formatted error message.","type":"object","required":["error","status","type","title"],"properties":{"error":{"type":"string","readOnly":true,"default":"something went wrong!","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"status":{"type":"number","readOnly":true,"description":"The HTTP status code of the error.","isRequired":true,"uniqueKey":"status","typeLabel":"number"},"type":{"type":"string","readOnly":true,"description":"Type is a URI used to uniquely identify the type of error.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"title":{"type":"string","readOnly":true,"description":"Title is a human-readable summary that explains the `type` of the problem.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","readOnly":true,"description":"The general, human-readable error message.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","readOnly":true,"description":"The unique identifier (ID) for this specific error.","uniqueKey":"instance","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":429,"type":"https://api.honeycomb.io/problems/rate-limited","title":"You have exceeded your rate limit.","error":"You have exceeded your rate limit.","detail":"Please try again after 2025-02-01T15:23:12Z."},"examples":{"Example":{"title":"Example","value":{"status":429,"type":"https://api.honeycomb.io/problems/rate-limited","title":"You have exceeded your rate limit.","error":"You have exceeded your rate limit.","detail":"Please try again after 2025-02-01T15:23:12Z."}}},"exampleType":"examples"},"application/vnd.api+json":{"schema":{"x-tags":["Errors"],"type":"object","description":"A JSONAPI-formatted error message.","properties":{"errors":{"type":"array","items":{"type":"object","readOnly":true,"required":["id","code"],"properties":{"id":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"errors.items.[INDEX].id","typeLabel":"string"},"code":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"status":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].status","typeLabel":"string"},"title":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].title","typeLabel":"string"},"detail":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"source":{"type":"object","readOnly":true,"properties":{"pointer":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.pointer","typeLabel":"string"},"header":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.header","typeLabel":"string"},"parameter":{"type":"string","readOnly":true,"uniqueKey":"errors.items.[INDEX].source.parameter","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX].source","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"errors":[{"id":"06dcdd6508ca822f0e7e2bb4121c1f52","code":"rate-limited/may-retry","title":"request rate limit exceeded","detail":"Please try again after 2025-02-01T15:23:12Z."}]},"examples":{"Example":{"title":"Example","value":{"errors":[{"id":"06dcdd6508ca822f0e7e2bb4121c1f52","code":"rate-limited/may-retry","title":"request rate limit exceeded","detail":"Please try again after 2025-02-01T15:23:12Z."}]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"045bd7e5-6d91-4a88-8a95-daf402897dee":{"configuration_key":{"type":"apiKey","name":"X-Honeycomb-Team","in":"header","description":"Authenticate using a Honeycomb Configuration Key.\n\nPass the **Token** in the `X-Honeycomb-Team` header:\n```http\nX-Honeycomb-Team: 1234567890123456789012\n```\n\nIf you created your key using the API, use `data.attributes.secret`; this is the same value as the **Token** in the UI.\n\nTo learn how to create a Configuration Key, visit [Manage Environment API Keys](/configure/environments/manage-api-keys). To learn more about authenticating requests, visit [API Authentication](/api/authentication).\n","scopes":[],"schemeName":"configuration_key"}}},"servers":{"d21d1ea9-af23-41e4-8f48-91412b8e697a":{"url":"https://api.honeycomb.io"},"d8569a81-b969-405b-8a71-00c0b9d97320":{"url":"https://api.eu1.honeycomb.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"X-Honeycomb-Team","in":"header","description":"Authenticate using a Honeycomb Configuration Key.\n\nPass the **Token** in the `X-Honeycomb-Team` header:\n```http\nX-Honeycomb-Team: 1234567890123456789012\n```\n\nIf you created your key using the API, use `data.attributes.secret`; this is the same value as the **Token** in the UI.\n\nTo learn how to create a Configuration Key, visit [Manage Environment API Keys](/configure/environments/manage-api-keys). To learn more about authenticating requests, visit [API Authentication](/api/authentication).\n","scopes":[],"schemeName":"configuration_key"},"schema":{"title":"X-Honeycomb-Team","type":"string","description":"Authenticate using a Honeycomb Configuration Key.\n\nPass the **Token** in the `X-Honeycomb-Team` header:\n```http\nX-Honeycomb-Team: 1234567890123456789012\n```\n\nIf you created your key using the API, use `data.attributes.secret`; this is the same value as the **Token** in the UI.\n\nTo learn how to create a Configuration Key, visit [Manage Environment API Keys](/configure/environments/manage-api-keys). To learn more about authenticating requests, visit [API Authentication](/api/authentication).\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"configuration_key","name":"X-Honeycomb-Team"}],"title":"configuration_key"}]},"originalFileLocation":"api/openapi-public.yaml"},"subdomain":"honeycomb","siteName":"Honeycomb Docs","title":"Create a Query - Honeycomb Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T13:39:10.186Z","originalFileLocation":"api/queries/create-a-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=\"Create a query from a specification. DOES NOT run the query to retrieve results.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Honeycomb Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_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/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_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/honeycomb/7YUY9epdPvOVWjv6/_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/honeycomb/7YUY9epdPvOVWjv6/_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/honeycomb/7YUY9epdPvOVWjv6/_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/honeycomb/7YUY9epdPvOVWjv6/_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/honeycomb/7YUY9epdPvOVWjv6/_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/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Query - Honeycomb Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a query from a specification. DOES NOT run the query to retrieve results.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Honeycomb Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.honeycomb.io/api/queries/create-a-query\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://honeycomb.mintlify.app/_mintlify/api/og/v2?division=Queries\u0026amp;title=Create+a+Query\u0026amp;description=Create+a+query+from+a+specification.+DOES+NOT+run+the+query+to+retrieve+results.%0A\u0026amp;theme=93661a4477bec396dfc2bcd6\u0026amp;signature=d3f3a7f64c160861b6d3b9436f0425c5ae12392f85e0375e989feede2afe2420\">\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=\"Create a Query - Honeycomb Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a query from a specification. DOES NOT run the query to retrieve results.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://honeycomb.mintlify.app/_mintlify/api/og/v2?division=Queries\u0026amp;title=Create+a+Query\u0026amp;description=Create+a+query+from+a+specification.+DOES+NOT+run+the+query+to+retrieve+results.%0A\u0026amp;theme=93661a4477bec396dfc2bcd6\u0026amp;signature=d3f3a7f64c160861b6d3b9436f0425c5ae12392f85e0375e989feede2afe2420\">\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/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Honeycomb Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0298ec\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.honeycomb.io/api/queries/create-a-query\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/queries/create-a-query.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.honeycomb.io/#organization\",\"name\":\"Honeycomb Docs\",\"url\":\"https://docs.honeycomb.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/honeycomb/TYbxiKcJ1fL3Sm5n/_assets/logos/light.svg?fit=max\u0026auto=format\u0026n=TYbxiKcJ1fL3Sm5n\u0026q=85\u0026s=27a1eaed720bce94471b9408761a57a5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.honeycomb.io#website\",\"name\":\"Honeycomb Docs\",\"url\":\"https://docs.honeycomb.io\",\"publisher\":{\"@id\":\"https://docs.honeycomb.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.honeycomb.io/api/queries/create-a-query#webpage\",\"url\":\"https://docs.honeycomb.io/api/queries/create-a-query\",\"name\":\"Create a Query\",\"description\":\"Create a query from a specification. DOES NOT run the query to retrieve results.\",\"dateModified\":\"2026-10-22T13:39:10.186Z\",\"isPartOf\":{\"@id\":\"https://docs.honeycomb.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.honeycomb.io/api/queries/create-a-query#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.honeycomb.io/api/queries/create-a-query#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://docs.honeycomb.io/api/auth/list-authorizations\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a Query\",\"item\":\"https://docs.honeycomb.io/api/queries/create-a-query\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.honeycomb.io/api/queries/create-a-query#apireference\",\"headline\":\"Create a Query\",\"name\":\"Create a Query\",\"description\":\"Create a query from a specification. DOES NOT run the query to retrieve results.\",\"url\":\"https://docs.honeycomb.io/api/queries/create-a-query\",\"mainEntityOfPage\":{\"@id\":\"https://docs.honeycomb.io/api/queries/create-a-query#webpage\"},\"dateModified\":\"2026-10-22T13:39:10.186Z\",\"publisher\":{\"@id\":\"https://docs.honeycomb.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.honeycomb.io#website\"}}]}\u003c/script>","siteName":"Honeycomb Docs","nav":{"global":{"anchors":[{"anchor":"Docs Home","icon":"home","href":"/"},{"anchor":"Blog","icon":"bullhorn","href":"https://www.honeycomb.io/blog"},{"anchor":"Honeycomb Academy","icon":"book","href":"https://academy.honeycomb.io/"}]},"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/get-started"}]},{"tab":"Send Data","pages":[{"title":"Send Data","href":"/send-data"}]},{"tab":"Investigate","pages":[{"title":"Investigate","href":"/investigate"}]},{"tab":"Notify \u0026 Alert","pages":[{"title":"Notify \u0026 Alert","href":"/notify"}]},{"tab":"Configure","pages":[{"title":"Configure","href":"/configure"}]},{"tab":"Troubleshoot","pages":[{"title":"Troubleshoot","href":"/troubleshoot"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"API Reference","pages":[{"group":"Getting Started","public":true,"pages":[{"title":"Honeycomb API Reference","sidebarTitle":"Welcome","href":"/api/introduction"},{"title":"Authentication","href":"/api/authentication"},{"title":"Permissions","sidebarTitle":"Permissions","href":"/api/permissions"},{"title":"Rate Limits","href":"/api/rate-limit"},{"title":"Pagination","href":"/api/pagination"},{"title":"Errors","href":"/api/errors"}]},{"group":"Reference","public":true,"pages":[{"title":"Reference: Query Specification","sidebarTitle":"Query Specification","href":"/reference/query-specification"},{"group":"Calculated Field Expression","public":true,"root":{"title":"Reference: Calculated Field Expression","sidebarTitle":"Calculated Field Expression","mode":"wide","href":"/reference/calculated-field-expression"},"pages":[{"title":"Calculated Field Syntax","sidebarTitle":"Syntax","href":"/reference/calculated-field-expression/syntax"},{"title":"Math Functions in Calculated Fields","sidebarTitle":"Math Functions","href":"/reference/calculated-field-expression/math"},{"title":"Comparison Functions in Calculated Fields","sidebarTitle":"Comparison Functions","href":"/reference/calculated-field-expression/comparison"},{"title":"Logical Functions in Calculated Fields","sidebarTitle":"Logical Functions","href":"/reference/calculated-field-expression/logical"},{"title":"Conditional Functions in Calculated Fields","sidebarTitle":"Conditional Functions","href":"/reference/calculated-field-expression/conditional"},{"title":"String Functions in Calculated Fields","sidebarTitle":"String Functions","href":"/reference/calculated-field-expression/string"},{"title":"Time Functions in Calculated Fields","sidebarTitle":"Time Functions","href":"/reference/calculated-field-expression/time"},{"title":"Type Conversion in Calculated Fields","sidebarTitle":"Type Cast Functions","href":"/reference/calculated-field-expression/cast"},{"title":"Calculated Field Example Formulas","sidebarTitle":"Example Formulas","href":"/reference/calculated-field-expression/example-formulas"}]}]},{"group":"API Endpoints","public":true,"pages":[{"group":"Auth","pages":[{"title":"List Authorizations","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/auth","href":"/api/auth/list-authorizations"},{"title":"List Authorizations V2","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /2/auth","href":"/api/auth/list-authorizations-v2"}]},{"group":"Boards","pages":[{"title":"List All Boards","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/boards","href":"/api/boards/list-all-boards"},{"title":"Create a Board","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/boards","href":"/api/boards/create-a-board"},{"title":"Get a Board","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/boards/{boardId}","href":"/api/boards/get-a-board"},{"title":"Update a Board","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/boards/{boardId}","href":"/api/boards/update-a-board"},{"title":"Delete a Board","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/boards/{boardId}","href":"/api/boards/delete-a-board"},{"title":"List Board Views","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/boards/{boardId}/views","href":"/api/boards/list-board-views"},{"title":"Create a Board View","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/boards/{boardId}/views","href":"/api/boards/create-a-board-view"},{"title":"Get a Board View","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/boards/{boardId}/views/{viewId}","href":"/api/boards/get-a-board-view"},{"title":"Update a Board View","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/boards/{boardId}/views/{viewId}","href":"/api/boards/update-a-board-view"},{"title":"Delete a Board View","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/boards/{boardId}/views/{viewId}","href":"/api/boards/delete-a-board-view"}]},{"group":"Service Maps","pages":[{"title":"Create a Map Dependency Request","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/maps/dependencies/requests","href":"/api/service-maps/create-a-map-dependency-request"},{"title":"Get Map Dependencies","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/maps/dependencies/requests/{requestId}","href":"/api/service-maps/get-map-dependencies"}]},{"group":"Burn Alerts","pages":[{"title":"List All Burn Alerts for an SLO","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/burn_alerts/{datasetSlug}","href":"/api/burn-alerts/list-all-burn-alerts-for-an-slo"},{"title":"Create a Burn Alert","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/burn_alerts/{datasetSlug}","href":"/api/burn-alerts/create-a-burn-alert"},{"title":"Get a Burn Alert","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/burn_alerts/{datasetSlug}/{burnAlertId}","href":"/api/burn-alerts/get-a-burn-alert"},{"title":"Update a Burn Alert","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/burn_alerts/{datasetSlug}/{burnAlertId}","href":"/api/burn-alerts/update-a-burn-alert"},{"title":"Delete a Burn Alert","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/burn_alerts/{datasetSlug}/{burnAlertId}","href":"/api/burn-alerts/delete-a-burn-alert"}]},{"group":"Datasets","pages":[{"title":"List All Datasets","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/datasets","href":"/api/datasets/list-all-datasets"},{"title":"Create a Dataset","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/datasets","href":"/api/datasets/create-a-dataset"},{"title":"Get a Dataset","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/datasets/{datasetSlug}","href":"/api/datasets/get-a-dataset"},{"title":"Update a Dataset","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/datasets/{datasetSlug}","href":"/api/datasets/update-a-dataset"},{"title":"Delete a Dataset","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/datasets/{datasetSlug}","href":"/api/datasets/delete-a-dataset"}]},{"group":"Events","pages":[{"title":"Create Events","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/batch/{datasetSlug}","href":"/api/events/create-events"},{"title":"Create an Event","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/events/{datasetSlug}","href":"/api/events/create-an-event"}]},{"group":"Dataset Definitions","pages":[{"title":"Get all Dataset Definitions","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/dataset_definitions/{datasetSlug}","href":"/api/dataset-definitions/get-all-dataset-definitions"},{"title":"Set or Update Dataset Definitions","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml patch /1/dataset_definitions/{datasetSlug}","href":"/api/dataset-definitions/set-or-update-dataset-definitions"}]},{"group":"Kinesis Events","pages":[{"title":"Create Kinesis Events","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/kinesis_events/{datasetSlug}","href":"/api/kinesis-events/create-kinesis-events"}]},{"group":"Markers","pages":[{"title":"List All Markers","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/markers/{datasetSlug}","href":"/api/markers/list-all-markers"},{"title":"Create a Marker","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/markers/{datasetSlug}","href":"/api/markers/create-a-marker"},{"title":"Update a Marker","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/markers/{datasetSlug}/{markerId}","href":"/api/markers/update-a-marker"},{"title":"Delete a Marker","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/markers/{datasetSlug}/{markerId}","href":"/api/markers/delete-a-marker"}]},{"group":"Marker Settings","pages":[{"title":"Get a Marker Setting","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/marker_settings/{datasetSlug}","href":"/api/marker-settings/get-a-marker-setting"},{"title":"Create a Marker Setting","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/marker_settings/{datasetSlug}","href":"/api/marker-settings/create-a-marker-setting"},{"title":"Update a Marker Setting","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/marker_settings/{datasetSlug}/{markerSettingId}","href":"/api/marker-settings/update-a-marker-setting"},{"title":"Delete a Marker Setting","description":null,"deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/marker_settings/{datasetSlug}/{markerSettingId}","href":"/api/marker-settings/delete-a-marker-setting"}]},{"group":"Queries","pages":[{"title":"Create a Query","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/queries/{datasetSlug}","href":"/api/queries/create-a-query"},{"title":"Get a Query","description":"Retrieve a query by its ID.\n","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/queries/{datasetSlug}/{queryId}","href":"/api/queries/get-a-query"}]},{"group":"Query Annotations","pages":[{"title":"List Query Annotations","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/query_annotations/{datasetSlug}","href":"/api/query-annotations/list-query-annotations"},{"title":"Create a Query Annotation","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/query_annotations/{datasetSlug}","href":"/api/query-annotations/create-a-query-annotation"},{"title":"Get a Query Annotation","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/query_annotations/{datasetSlug}/{queryAnnotationId}","href":"/api/query-annotations/get-a-query-annotation"},{"title":"Update a Query Annotation","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/query_annotations/{datasetSlug}/{queryAnnotationId}","href":"/api/query-annotations/update-a-query-annotation"},{"title":"Delete a Query Annotation","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/query_annotations/{datasetSlug}/{queryAnnotationId}","href":"/api/query-annotations/delete-a-query-annotation"}]},{"group":"Query Data","pages":[{"title":"Create a Query Result","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/query_results/{datasetSlug}","href":"/api/query-data/create-a-query-result"},{"title":"Get Query Result","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/query_results/{datasetSlug}/{queryResultId}","href":"/api/query-data/get-query-result"}]},{"group":"Recipients","pages":[{"title":"List all Recipients","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/recipients","href":"/api/recipients/list-all-recipients"},{"title":"Create a Recipient","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/recipients","href":"/api/recipients/create-a-recipient"},{"title":"Get a single Recipient","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/recipients/{recipientId}","href":"/api/recipients/get-a-single-recipient"},{"title":"Update a Recipient","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/recipients/{recipientId}","href":"/api/recipients/update-a-recipient"},{"title":"Delete a Recipient","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/recipients/{recipientId}","href":"/api/recipients/delete-a-recipient"}]},{"group":"SLOs","pages":[{"title":"Get all SLOs","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/slos/{datasetSlug}","href":"/api/slos/get-all-slos"},{"title":"Create an SLO","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/slos/{datasetSlug}","href":"/api/slos/create-an-slo"},{"title":"Get an SLO","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/slos/{datasetSlug}/{sloId}","href":"/api/slos/get-an-slo"},{"title":"Update an SLO","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/slos/{datasetSlug}/{sloId}","href":"/api/slos/update-an-slo"},{"title":"Delete an SLO","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/slos/{datasetSlug}/{sloId}","href":"/api/slos/delete-an-slo"},{"title":"Get SLO Realtime Counts","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/slos/{datasetSlug}/{sloId}/counts","href":"/api/slos/get-slo-realtime-counts"},{"title":"Get SLO Hourly Counts History","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/slos/{datasetSlug}/{sloId}/counts/history","href":"/api/slos/get-slo-hourly-counts-history"}]},{"group":"Reporting","pages":[{"title":"Get SLO History","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/reporting/slos/historical","href":"/api/reporting/get-slo-history"}]},{"group":"Anomaly Detection","pages":[{"title":"List All Signals","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/signals","href":"/api/anomaly-detection/list-all-signals"},{"title":"Get a Signal","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/signals/{signalId}","href":"/api/anomaly-detection/get-a-signal"},{"title":"Update a Signal","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/signals/{signalId}","href":"/api/anomaly-detection/update-a-signal"},{"title":"List Historical Anomalies","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/signals/{signalId}/historical_anomalies","href":"/api/anomaly-detection/list-historical-anomalies"},{"title":"Assign Recipients in Bulk","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/signals/recipient_assignments","href":"/api/anomaly-detection/assign-recipients-in-bulk"}]},{"group":"Triggers","pages":[{"title":"List All Triggers","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/triggers/{datasetSlug}","href":"/api/triggers/list-all-triggers"},{"title":"Create a Trigger","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/triggers/{datasetSlug}","href":"/api/triggers/create-a-trigger"},{"title":"Get a Trigger","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/triggers/{datasetSlug}/{triggerId}","href":"/api/triggers/get-a-trigger"},{"title":"Update a Trigger","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/triggers/{datasetSlug}/{triggerId}","href":"/api/triggers/update-a-trigger"},{"title":"Delete a Trigger","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/triggers/{datasetSlug}/{triggerId}","href":"/api/triggers/delete-a-trigger"},{"title":"Get Triggers Associated with a Recipient","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/recipients/{recipientId}/triggers","href":"/api/triggers/get-triggers-associated-with-a-recipient"}]},{"group":"Calculated Fields","pages":[{"title":"List all Calculated Fields","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/derived_columns/{datasetSlug}","href":"/api/calculated-fields/list-all-calculated-fields"},{"title":"Create a Calculated Field","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/derived_columns/{datasetSlug}","href":"/api/calculated-fields/create-a-calculated-field"},{"title":"Get a Calculated Field","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/derived_columns/{datasetSlug}/{derivedColumnId}","href":"/api/calculated-fields/get-a-calculated-field"},{"title":"Update a Calculated Field","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/derived_columns/{datasetSlug}/{derivedColumnId}","href":"/api/calculated-fields/update-a-calculated-field"},{"title":"Delete a Calculated Field","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/derived_columns/{datasetSlug}/{derivedColumnId}","href":"/api/calculated-fields/delete-a-calculated-field"}]},{"group":"Columns","pages":[{"title":"List all Columns","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/columns/{datasetSlug}","href":"/api/columns/list-all-columns"},{"title":"Create a Column","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /1/columns/{datasetSlug}","href":"/api/columns/create-a-column"},{"title":"Get a Column","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /1/columns/{datasetSlug}/{columnId}","href":"/api/columns/get-a-column"},{"title":"Update a Column","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml put /1/columns/{datasetSlug}/{columnId}","href":"/api/columns/update-a-column"},{"title":"Delete a Column","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /1/columns/{datasetSlug}/{columnId}","href":"/api/columns/delete-a-column"}]},{"group":"Key Management","pages":[{"title":"List all API Keys","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /2/teams/{teamSlug}/api-keys","href":"/api/key-management/list-all-api-keys"},{"title":"Create an API Key","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /2/teams/{teamSlug}/api-keys","href":"/api/key-management/create-an-api-key"},{"title":"Get an API Key","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /2/teams/{teamSlug}/api-keys/{ID}","href":"/api/key-management/get-an-api-key"},{"title":"Delete an API Key","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /2/teams/{teamSlug}/api-keys/{ID}","href":"/api/key-management/delete-an-api-key"},{"title":"Update an API Key","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml patch /2/teams/{teamSlug}/api-keys/{ID}","href":"/api/key-management/update-an-api-key"}]},{"group":"Environments","pages":[{"title":"List all Environments","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /2/teams/{teamSlug}/environments","href":"/api/environments/list-all-environments"},{"title":"Create an Environment","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml post /2/teams/{teamSlug}/environments","href":"/api/environments/create-an-environment"},{"title":"Get an Environment","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml get /2/teams/{teamSlug}/environments/{ID}","href":"/api/environments/get-an-environment"},{"title":"Delete an Environment","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml delete /2/teams/{teamSlug}/environments/{ID}","href":"/api/environments/delete-an-environment"},{"title":"Update an Environment","deprecated":null,"version":null,"openapi":"/api/openapi-public.yaml patch /2/teams/{teamSlug}/environments/{ID}","href":"/api/environments/update-an-environment"}]}]},{"title":"UI Changelog","url":"https://changelog.honeycomb.io/","icon":"clock","href":"/ui-changelog"},{"title":"API Changelog","url":"https://api-changelog.honeycomb.io/","icon":"code","href":"/api-changelog"}]}]},"title":"Create a Query - Honeycomb Docs","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}