Export analytics data for questions, out-of-context queries, and referenced sources. The data can be exported in different formats and filtered based on various criteria.
Each answered and unable-to-answer row includes an Auto-Generated column (Yes/No in XLSX and CSV, auto_generated boolean in JSON) that flags questions fired automatically by an integration (for example, the Zendesk app asking a ticket the moment it is opened) rather than typed by an end user. Each export also adds an auto-generated distribution (type, count, percentage) for questions and for unable-to-answer entries: the Auto-Gen Dist - Questions and Auto-Gen Dist - Unable sheets in XLSX, auto_generated_distribution_questions.csv and auto_generated_distribution_unable_to_answer.csv in CSV, and an auto_generated_distribution object with questions and unable_to_answer in JSON. Empty distributions are omitted.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Gurubase","colors":{"primary":"#006BFF","light":"#3389FF","dark":"#006BFF"},"logo":{"light":"https://mintcdn.com/gurubase/0kE9Hd9k_SJDKu8Q/logo/light.svg?fit=max\u0026auto=format\u0026n=0kE9Hd9k_SJDKu8Q\u0026q=85\u0026s=e80be9ea5250513afdd5cac9e9cf40eb","dark":"https://mintcdn.com/gurubase/0kE9Hd9k_SJDKu8Q/logo/dark.svg?fit=max\u0026auto=format\u0026n=0kE9Hd9k_SJDKu8Q\u0026q=85\u0026s=95fad17b670ff55e15b56ec9a86a5e6a"},"favicon":"https://mintcdn.com/gurubase/7wgpr3jQ02zKlT61/favicon.svg?fit=max\u0026auto=format\u0026n=7wgpr3jQ02zKlT61\u0026q=85\u0026s=3c3872b3bfdd7703dfb3c23febfa08dd","api":{"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.gurubase.io/api/v1/"}},"navbar":{"links":[],"primary":{"type":"button","label":"Gurubase.io","href":"https://gurubase.io/"}},"footer":{"socials":{"twitter":"https://x.com/gurubaseio","linkedin":"https://www.linkedin.com/company/gurubase"},"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://gurubase.io/privacy-policy"},{"label":"Cookie Policy","href":"https://gurubase.io/cookie-policy"}]},{"header":"More","items":[{"label":"Siper (Turkish PII Masking)","href":"https://siper.gurubase.ai/"}]}]},"seo":{"metatags":{"og:site_name":"Gurubase Documentation","og:type":"website","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@gurubaseio","robots":"index, follow","author":"Gurubase","keywords":"AI agents, hallucination-resistant AI, RAG, trust score, citations, agentic actions, MCP, MCP server, MCP client, on-premise AI, enterprise AI, knowledge base, documentation"},"indexing":"navigable"},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Try Gurubase","icon":"sparkles","href":"https://gurubase.io/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gurubase","hasAudioNarration":false,"actualSubdomain":"gurubase","customDomains":["docs.gurubase.ai"],"gitSource":{"type":"github","owner":"gurubase","repo":"gurubase-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6addf60abcfaf11b9abaf72b","collectionId":"a39040e4-e46a-488c-98eb-b9a1cba646c5","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6addf60abcfaf11b9abaf72b"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6addf60abcfaf11b9abaf72b","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Documentation","count":47},{"language":"default","tag":"API Reference","count":26},{"language":"default","tag":"Guides","count":25},{"language":"default","tag":"Endpoints","count":24},{"language":"default","tag":"Integrations","count":15},{"language":"default","tag":"Bots","count":7},{"language":"default","tag":"Ingestion","count":6},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Advanced","count":3},{"language":"default","tag":"API Documentation","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"turbopuffer-dual-write","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},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoints/analytics-export","slug":"/api-reference/endpoints/analytics-export","pageMetadata":{"title":"Export Analytics Data","icon":"download","api":"POST /{guru_slug}/analytics/export/","description":"Export analytics data in various formats (Excel, CSV, or JSON)","href":"/api-reference/endpoints/analytics-export"},"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: \"Export analytics data in various formats (Excel, CSV, or JSON)\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Export analytics data for questions, out-of-context queries, and referenced sources. The data can be exported in different formats and filtered based on various criteria.`}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsxs(_components.p,{children:[`Your API key for authentication. You can obtain your API key from the `,_jsx(_components.a,{href:`https://app.gurubase.io/api-keys`,children:`Gurubase dashboard`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(ParamField,{body:`export_type`,type:`string`,default:`xlsx`,required:true,id:`param-export-type`,children:[_jsxs(_components.p,{children:[`Format of the export file. Possible values: `,_jsx(_components.code,{children:`xlsx`}),`, `,_jsx(_components.code,{children:`csv`}),`, `,_jsx(_components.code,{children:`json`})]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`xlsx`}),`: Microsoft Excel format`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`csv`}),`: Compressed ZIP containing CSV files`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`json`}),`: JSON format`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`interval`,type:`string`,default:`today`,id:`param-interval`,children:[_jsx(_components.p,{children:`Time period for the analytics data. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`today`}),`: Current day`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`yesterday`}),`: Previous day`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`7d`}),`: Last 7 days`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`30d`}),`: Last 30 days`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`3m`}),`: Last 3 months`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`6m`}),`: Last 6 months`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`12m`}),`: Last 12 months`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`filters`,type:`object`,id:`param-filters`,children:[_jsx(_components.p,{children:`Filters for different types of data`}),_jsxs(Expandable,{title:`Filter options`,children:[_jsxs(ParamField,{body:`questions`,type:`string`,default:`all`,id:`param-questions`,children:[_jsx(_components.p,{children:`Filter for questions data. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`all`}),`: All sources`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`widget`}),`: Widget source`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user`}),`: Gurubase UI source`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`api`}),`: API source`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`discord`}),`: Discord source`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`slack`}),`: Slack source`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`github`}),`: GitHub source`]}),`\n`]})]}),_jsx(ParamField,{body:`out_of_context`,type:`string`,default:`all`,id:`param-out-of-context`,children:_jsx(_components.p,{children:`Filter for out-of-context queries. Same values as questions filter.`})}),_jsxs(ParamField,{body:`referenced_sources`,type:`string`,default:`all`,id:`param-referenced-sources`,children:[_jsx(_components.p,{children:`Filter for referenced sources. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`all`}),`: All sources`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`github_repo`}),`: GitHub repositories`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`website`}),`: Websites`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`youtube`}),`: YouTube videos`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pdf`}),`: PDF documents`]}),`\n`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`The response will be a file download with the appropriate content type header based on the export_type:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`XLSX: `,_jsx(_components.code,{children:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`})]}),`\n`,_jsxs(_components.li,{children:[`CSV: `,_jsx(_components.code,{children:`application/zip`})]}),`\n`,_jsxs(_components.li,{children:[`JSON: `,_jsx(_components.code,{children:`application/json`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Each answered and unable-to-answer row includes an `,_jsx(_components.code,{children:`Auto-Generated`}),` column (`,_jsx(_components.code,{children:`Yes`}),`/`,_jsx(_components.code,{children:`No`}),` in XLSX and CSV, `,_jsx(_components.code,{children:`auto_generated`}),` boolean in JSON) that flags questions fired automatically by an integration (for example, the Zendesk app asking a ticket the moment it is opened) rather than typed by an end user. Each export also adds an auto-generated distribution (type, count, percentage) for questions and for unable-to-answer entries: the `,_jsx(_components.code,{children:`Auto-Gen Dist - Questions`}),` and `,_jsx(_components.code,{children:`Auto-Gen Dist - Unable`}),` sheets in XLSX, `,_jsx(_components.code,{children:`auto_generated_distribution_questions.csv`}),` and `,_jsx(_components.code,{children:`auto_generated_distribution_unable_to_answer.csv`}),` in CSV, and an `,_jsx(_components.code,{children:`auto_generated_distribution`}),` object with `,_jsx(_components.code,{children:`questions`}),` and `,_jsx(_components.code,{children:`unable_to_answer`}),` in JSON. Empty distributions are omitted.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Export Analytics Data","icon":"download","api":"POST /{guru_slug}/analytics/export/","description":"Export analytics data in various formats (Excel, CSV, or JSON)","href":"/api-reference/endpoints/analytics-export"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Export analytics data for questions, out-of-context queries, and referenced sources. The data can be exported in different formats and filtered based on various criteria.`}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsxs(_components.p,{children:[`Your API key for authentication. You can obtain your API key from the `,_jsx(_components.a,{href:`https://app.gurubase.io/api-keys`,children:`Gurubase dashboard`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(ParamField,{body:`export_type`,type:`string`,default:`xlsx`,required:true,id:`param-export-type`,children:[_jsxs(_components.p,{children:[`Format of the export file. Possible values: `,_jsx(_components.code,{children:`xlsx`}),`, `,_jsx(_components.code,{children:`csv`}),`, `,_jsx(_components.code,{children:`json`})]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`xlsx`}),`: Microsoft Excel format`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`csv`}),`: Compressed ZIP containing CSV files`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`json`}),`: JSON format`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`interval`,type:`string`,default:`today`,id:`param-interval`,children:[_jsx(_components.p,{children:`Time period for the analytics data. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`today`}),`: Current day`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`yesterday`}),`: Previous day`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`7d`}),`: Last 7 days`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`30d`}),`: Last 30 days`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`3m`}),`: Last 3 months`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`6m`}),`: Last 6 months`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`12m`}),`: Last 12 months`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`filters`,type:`object`,id:`param-filters`,children:[_jsx(_components.p,{children:`Filters for different types of data`}),_jsxs(Expandable,{title:`Filter options`,children:[_jsxs(ParamField,{body:`questions`,type:`string`,default:`all`,id:`param-questions`,children:[_jsx(_components.p,{children:`Filter for questions data. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`all`}),`: All sources`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`widget`}),`: Widget source`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user`}),`: Gurubase UI source`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`api`}),`: API source`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`discord`}),`: Discord source`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`slack`}),`: Slack source`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`github`}),`: GitHub source`]}),`\n`]})]}),_jsx(ParamField,{body:`out_of_context`,type:`string`,default:`all`,id:`param-out-of-context`,children:_jsx(_components.p,{children:`Filter for out-of-context queries. Same values as questions filter.`})}),_jsxs(ParamField,{body:`referenced_sources`,type:`string`,default:`all`,id:`param-referenced-sources`,children:[_jsx(_components.p,{children:`Filter for referenced sources. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`all`}),`: All sources`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`github_repo`}),`: GitHub repositories`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`website`}),`: Websites`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`youtube`}),`: YouTube videos`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pdf`}),`: PDF documents`]}),`\n`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`The response will be a file download with the appropriate content type header based on the export_type:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`XLSX: `,_jsx(_components.code,{children:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`})]}),`\n`,_jsxs(_components.li,{children:[`CSV: `,_jsx(_components.code,{children:`application/zip`})]}),`\n`,_jsxs(_components.li,{children:[`JSON: `,_jsx(_components.code,{children:`application/json`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Each answered and unable-to-answer row includes an `,_jsx(_components.code,{children:`Auto-Generated`}),` column (`,_jsx(_components.code,{children:`Yes`}),`/`,_jsx(_components.code,{children:`No`}),` in XLSX and CSV, `,_jsx(_components.code,{children:`auto_generated`}),` boolean in JSON) that flags questions fired automatically by an integration (for example, the Zendesk app asking a ticket the moment it is opened) rather than typed by an end user. Each export also adds an auto-generated distribution (type, count, percentage) for questions and for unable-to-answer entries: the `,_jsx(_components.code,{children:`Auto-Gen Dist - Questions`}),` and `,_jsx(_components.code,{children:`Auto-Gen Dist - Unable`}),` sheets in XLSX, `,_jsx(_components.code,{children:`auto_generated_distribution_questions.csv`}),` and `,_jsx(_components.code,{children:`auto_generated_distribution_unable_to_answer.csv`}),` in CSV, and an `,_jsx(_components.code,{children:`auto_generated_distribution`}),` object with `,_jsx(_components.code,{children:`questions`}),` and `,_jsx(_components.code,{children:`unable_to_answer`}),` in JSON. Empty distributions are omitted.`]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200 (JSON)`,numberOfLines:`29`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"datetime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-04-10 07:06\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Gurubase UI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"question\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"details for self hosted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trust_score\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"follow_up\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"auto_generated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.gurubase.io/g/gurubase/what-is-gurubase/binge/0f973a34-7867-46ca-9c38-896d4b644d63?question_slug=details-for-self-hosting-gurubase-6014cb17-1a95-4308-969d-b61cf435f312\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"out_of_context\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"datetime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-04-08 06:45\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Github\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"question\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"who made gurubase?\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"referenced_sources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_update_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-04-04 12:23\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data_source_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Website\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data_source_title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Quickstart - Gurubase\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"referenced_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`187`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://docs.gurubase.ai/quickstart\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`200 (XLSX)`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`[Binary Excel file content]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`200 (ZIP/CSV)`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`[Binary ZIP file containing CSV files]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`404`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No data found to export\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid request\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`500`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Internal server error\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Export Analytics Data","icon":"download","api":"POST /{guru_slug}/analytics/export/","description":"Export analytics data in various formats (Excel, CSV, or JSON)","href":"/api-reference/endpoints/analytics-export"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[{"title":"Response","slug":"response","depth":3,"children":[]}]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"200 (JSON)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"29\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"questions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"datetime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-04-10 07:06\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Gurubase UI\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"question\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"details for self hosted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"trust_score\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.6\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"follow_up\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"auto_generated\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://app.gurubase.io/g/gurubase/what-is-gurubase/binge/0f973a34-7867-46ca-9c38-896d4b644d63?question_slug=details-for-self-hosting-gurubase-6014cb17-1a95-4308-969d-b61cf435f312\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"out_of_context\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"datetime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-04-08 06:45\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Github\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"question\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"who made gurubase?\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"referenced_sources\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_update_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-04-04 12:23\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data_source_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Website\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data_source_title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Quickstart - Gurubase\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"referenced_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">187\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://docs.gurubase.ai/quickstart\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"200 (XLSX)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"text\">\u003ccode language=\"text\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan>[Binary Excel file content]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\u003c/code>\u003c/pre>"},{"filename":"200 (ZIP/CSV)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"text\">\u003ccode language=\"text\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan>[Binary ZIP file containing CSV files]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\u003c/code>\u003c/pre>"},{"filename":"404","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"msg\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"No data found to export\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"msg\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invalid request\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"500","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"msg\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Internal server error\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Export Analytics Data","path":"/{guru_slug}/analytics/export/","servers":[{"url":"https://api.gurubase.io/api/v1/"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"x-api-key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"x-api-key":{"schema":[{"type":"string","description":"Your API key for authentication. You can obtain your API key from the Gurubase dashboard .","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"export_type":[{"type":"string","description":"Format of the export file. Possible values: `xlsx` , `csv` , `json` `xlsx` : Microsoft Excel format `csv` : Compressed ZIP containing CSV files `json` : JSON format","required":true}],"interval":[{"type":"string","description":"Time period for the analytics data. Possible values: `today` : Current day `yesterday` : Previous day `7d` : Last 7 days `30d` : Last 30 days `3m` : Last 3 months `6m` : Last 6 months `12m` : Last 12 months"}],"filters":[{"type":"object","properties":{"questions":[{"type":"string","description":"Filter for questions data. Possible values: `all` : All sources `widget` : Widget source `user` : Gurubase UI source `api` : API source `discord` : Discord source `slack` : Slack source `github` : GitHub source"}],"out_of_context":[{"type":"string","description":"Filter for out-of-context queries. Same values as questions filter."}],"referenced_sources":[{"type":"string","description":"Filter for referenced sources. Possible values: `all` : All sources `github_repo` : GitHub repositories `website` : Websites `youtube` : YouTube videos `pdf` : PDF documents"}]},"description":"Filters for different types of data"}]}}],"examples":{"example":{"value":{"export_type":"\u003cstring>","interval":"\u003cstring>","filters":{"questions":"\u003cstring>","out_of_context":"\u003cstring>","referenced_sources":"\u003cstring>"}}}}}}},"response":{},"deprecated":false}},"jsLinks":["/_mintlify/custom/gurubase/12071eb9505de623/gurubase.js"],"subdomain":"gurubase","siteName":"Gurubase","title":"Export Analytics Data - Gurubase","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T21:57:06.771Z","originalFileLocation":"api-reference/endpoints/analytics-export.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=\"Export analytics data in various formats (Excel, CSV, or JSON)\">\u003cmeta data-mint-head name=\"keywords\" content=\"AI agents, hallucination-resistant AI, RAG, trust score, citations, agentic actions, MCP, MCP server, MCP client, on-premise AI, enterprise AI, knowledge base, documentation\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gurubase\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gurubase/VZQ0YRO71cVM_Oe2/_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/gurubase/VZQ0YRO71cVM_Oe2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gurubase/VZQ0YRO71cVM_Oe2/_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/gurubase/VZQ0YRO71cVM_Oe2/_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/gurubase/VZQ0YRO71cVM_Oe2/_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/gurubase/VZQ0YRO71cVM_Oe2/_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/gurubase/VZQ0YRO71cVM_Oe2/_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/gurubase/VZQ0YRO71cVM_Oe2/_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/gurubase/VZQ0YRO71cVM_Oe2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Export Analytics Data - Gurubase\">\u003cmeta data-mint-head property=\"og:description\" content=\"Export analytics data in various formats (Excel, CSV, or JSON)\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gurubase Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gurubase.ai/api-reference/endpoints/analytics-export\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gurubase.mintlify.app/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Export+Analytics+Data\u0026amp;description=Export+analytics+data+in+various+formats+%28Excel%2C+CSV%2C+or+JSON%29\u0026amp;theme=58798cb8c98022377cbe4604\u0026amp;signature=187f1d6b4d78b281e9d8880bfeb011970563bf54cc00a7f18b17411cba6cf1b9\">\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=\"Export Analytics Data - Gurubase\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Export analytics data in various formats (Excel, CSV, or JSON)\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gurubase.mintlify.app/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Export+Analytics+Data\u0026amp;description=Export+analytics+data+in+various+formats+%28Excel%2C+CSV%2C+or+JSON%29\u0026amp;theme=58798cb8c98022377cbe4604\u0026amp;signature=187f1d6b4d78b281e9d8880bfeb011970563bf54cc00a7f18b17411cba6cf1b9\">\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/gurubase/VZQ0YRO71cVM_Oe2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gurubase\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006BFF\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"Gurubase\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gurubase.ai/api-reference/endpoints/analytics-export\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/analytics-export.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gurubase.ai/#organization\",\"name\":\"Gurubase\",\"url\":\"https://docs.gurubase.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gurubase/0kE9Hd9k_SJDKu8Q/logo/light.svg?fit=max\u0026auto=format\u0026n=0kE9Hd9k_SJDKu8Q\u0026q=85\u0026s=e80be9ea5250513afdd5cac9e9cf40eb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gurubase.ai#website\",\"name\":\"Gurubase\",\"url\":\"https://docs.gurubase.ai\",\"publisher\":{\"@id\":\"https://docs.gurubase.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gurubase.ai/api-reference/endpoints/analytics-export#webpage\",\"url\":\"https://docs.gurubase.ai/api-reference/endpoints/analytics-export\",\"name\":\"Export Analytics Data\",\"description\":\"Export analytics data in various formats (Excel, CSV, or JSON)\",\"dateModified\":\"2026-10-08T21:57:06.771Z\",\"isPartOf\":{\"@id\":\"https://docs.gurubase.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gurubase.ai/api-reference/endpoints/analytics-export#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gurubase.ai/api-reference/endpoints/analytics-export#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.gurubase.ai/api-reference/endpoints/ask-question\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Export Analytics Data\",\"item\":\"https://docs.gurubase.ai/api-reference/endpoints/analytics-export\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gurubase.ai/api-reference/endpoints/analytics-export#apireference\",\"headline\":\"Export Analytics Data\",\"name\":\"Export Analytics Data\",\"description\":\"Export analytics data in various formats (Excel, CSV, or JSON)\",\"url\":\"https://docs.gurubase.ai/api-reference/endpoints/analytics-export\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gurubase.ai/api-reference/endpoints/analytics-export#webpage\"},\"dateModified\":\"2026-10-08T21:57:06.771Z\",\"publisher\":{\"@id\":\"https://docs.gurubase.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gurubase.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gurubase\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Gurubase","nav":{"global":{"anchors":[{"anchor":"Try Gurubase","icon":"sparkles","href":"https://gurubase.io/"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","icon":"book-text","pages":[{"title":"API Reference","icon":"book-open","href":"/api-reference/introduction"},{"title":"Authentication","icon":"key","href":"/api-reference/authentication"}]},{"group":"Endpoints","icon":"route","pages":[{"title":"Ask Question","icon":"message-circle-question-mark","api":"POST /{guru_slug}/answer/","href":"/api-reference/endpoints/ask-question"},{"title":"Answer Progress","icon":"activity","api":"GET /{guru_slug}/answer-progress/","href":"/api-reference/endpoints/answer-progress"},{"title":"Create Data Sources","icon":"folder-plus","api":"POST /{guru_slug}/data-sources/","href":"/api-reference/endpoints/create-datasources"},{"title":"Get Data Sources","icon":"folder","api":"GET /{guru_slug}/data-sources/","href":"/api-reference/endpoints/get-datasources"},{"title":"Delete Data Sources","icon":"trash-2","api":"DELETE /{guru_slug}/data-sources/","href":"/api-reference/endpoints/delete-datasources"},{"title":"Reindex Data Sources","icon":"refresh-cw","api":"POST /{guru_slug}/data-sources/reindex/","href":"/api-reference/endpoints/reindex-datasources"},{"title":"Start Website Crawl","icon":"play","api":"POST /{guru_slug}/crawl/start/","href":"/api-reference/endpoints/crawler-start"},{"title":"Stop Website Crawl","icon":"circle-stop","api":"POST /{guru_slug}/crawl/{crawl_id}/stop/","href":"/api-reference/endpoints/crawler-stop"},{"title":"Get Crawl Status","icon":"activity","api":"GET /{guru_slug}/crawl/{crawl_id}/status/","href":"/api-reference/endpoints/crawler-status"},{"title":"Import YouTube Channel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gurubase/logo/brands/youtube.svg","api":"POST /youtube/channel/","href":"/api-reference/endpoints/import-youtube-channel"},{"title":"Import YouTube Playlist","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gurubase/logo/brands/youtube.svg","api":"POST /youtube/playlist/","description":"Fetch video URLs from a YouTube playlist","href":"/api-reference/endpoints/import-youtube-playlist"},{"title":"Export Analytics Data","icon":"download","api":"POST /{guru_slug}/analytics/export/","href":"/api-reference/endpoints/analytics-export"},{"title":"Record Vote","icon":"thumbs-up","api":"POST /{guru_type}/record_vote/","description":"Record a vote (upvote or downvote) on a question","href":"/api-reference/endpoints/record-vote"},{"title":"Semantic Search","icon":"search","api":"POST /{guru_slug}/semantic-search/","href":"/api-reference/endpoints/semantic-search"},{"title":"Transcribe Audio","icon":"audio-lines","api":"POST /{guru_type}/transcribe/","href":"/api-reference/endpoints/transcribe-audio"},{"title":"Text-to-Speech Stream","icon":"volume-2","api":"POST /{guru_type}/text-to-speech/stream/","href":"/api-reference/endpoints/text-to-speech"},{"title":"Text-to-Speech Stream V2","icon":"volume-2","api":"POST /{guru_type}/text-to-speech-v2/stream/","href":"/api-reference/endpoints/text-to-speech-v2"},{"title":"List Sessions","icon":"list","api":"POST /{guru_slug}/sessions/","href":"/api-reference/endpoints/list-sessions"},{"title":"Get Session","icon":"eye","api":"POST /sessions/{session_id}/conversation/","href":"/api-reference/endpoints/get-session"},{"title":"Delete Session","icon":"trash-2","api":"DELETE /sessions/{session_id}/delete/","href":"/api-reference/endpoints/delete-session"},{"title":"Get End-User Data","icon":"shield-user","api":"GET /{guru_slug}/end-users/{external_user_id}/data/","href":"/api-reference/endpoints/end-user-data"},{"title":"Erase End-User Data","icon":"shield-x","api":"DELETE /{guru_slug}/end-users/{external_user_id}/data/","href":"/api-reference/endpoints/erase-end-user-data"},{"title":"Follow-up Examples","icon":"message-square-plus","api":"POST /{guru_type}/follow-up/examples/","href":"/api-reference/endpoints/follow-up-examples"},{"title":"Upsert User Profiles","icon":"user-pen","api":"POST /{guru_slug}/profiles/","href":"/api-reference/endpoints/upsert-profiles"}]}]}]},"basePath":"","title":"Export Analytics Data - Gurubase","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js"]}