---
id: get-the-bootstrap-data-for-sql-lab-page
title: 'Get the bootstrap data for SqlLab page'
description: "Assembles SQLLab bootstrap data (active_tab, databases, queries, tab_state_ids) in a single endpoint. The data can be assembled from the current user's id."
sidebar_label: 'Get the bootstrap data for SqlLab page'
hide_title: true
hide_table_of_contents: true
api: eJztWd1v2zgS/1cI4oBNcG7c3AdQaLEPaZu22c3dtnV6H4gDLi2NbbYUqZAjJz7D//thSMmWZclx9x56D32yLA6H8/mbGWrFM/CpUwUqa3jCL7yHfKLBs9GH62s5YRNr0aOTBcskSnYiU1QLECgng/BmIj34AbsvwSl6QDkRHiWCUJk/ZcowybwyMw0MTFZYZfCM3cwhskulYRNgsjo1Y1Nnc4ZzYGnpHBhkpQf3g2cqO+MD7sAX1njwPFnxPz1/Tj+pNQgG6VEWhVapJFWGnz3ps+I+nUMu6alwtgCHKu7e6tG3Rk+4LIAnfGKtBmn4esBlidaVpnuxNohQWYNAGYQZOCKAR3RS1LJV63byGVKk5bnKQGiYophI133EDmePTpkZvdZyArpnBcGjIAct91VN59LMIBNRoKl1uUSekCLwDFUOfLDPMUXpe/SfdIqQTa767GGy14h5Y9GU+aRac866v4H3chZ8YUqt5UQDT9CV0CEXPEJaImSj+25LBON32r3PqCpX2C14WFJm9kamaF3n7sLZmQPvuxkEf/SZxYEvNfpfYNnJ2dmHHq7baN/b5MEtwPWd6Hts5u/1ZabQ7m5srKN02OvCAASd+6q8238PeTHaKPGky4n8JlIcQ+1k+kWZ2Senj6In7OmUkha6LbketKJrwFEhncE/kMc/Bs9uAkAcCDEvF5Bt87ZH2m0QH/J9j3eRGIq4MUSUQsj9Pko8iWs7RaQz9QppMmju7sO046K5WWa6N2MdFq29BzwUI2lLIJ2Ty9rfPQcdZjcKCdCoDLG+ZJkiU0n9fsfMrSqktX0QqV+IstBW9tiuouqF5Gp9cXg9y/WhZVcaIf3SpN1EqUznIKhc2BIPxGrDO6k1UzUrXSjWIgec26BgBlNJCZJQzEpNAbAUVJY4FYsy58ltx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dHmxUYmFdqnOhH92IxN/T2A/bR5fTYDPCE52NGCDyL5HGQGzv+0aok/5gkb80qFMWd/rKJRoP0CZj02p2NTOGXwpBbnjGLr5PS0qeDPciFHwakNJXdebo1vjSc9N7rJB6mQTQHTeVDtqxRb7WiX1P9Z20uk5m+1o1ZRxZug4W9xx5p+SN0fxyaKGHC+Fq+lfEVkNZxpOzsh0tMfQ9NeX/bwGZDahcQ5T3hLeF63OzFqw61Jt9a8nS7XtMwyWIC2RU7fkCKn4I3IaFU4iza1ep0MhytitU5WFF3rPW6vSo82r1kM+EI6RS1H3YkHNrs3VyRm47qq+ks/nnJyl/+7m5v3bMOHvgFZj7v8NvruCTeKuEJrNJ4w69jV+9C5VuPXlkmnqar9gXq9JufU2BL6jKhkQJgVn4TQeFPPFz//84ZX3WoYIcLqdtYISq8HtFk4mDrw89/LhLp7M7UdM3NJ1wOw0y1tX20mPL44jybxmMt4VRHGT/4WMDQwvY0LKwjH9263NwXl//xraWVFhEccFlqqUBSr+8eYdbdcFjTDLs7jZEvXlwNOQRqj8JavViTyJ6fXa3pdfY24vdsmQqg+Ax7xJSRr7Csv0hQCrsUGM9kvvjtg8PaSQoHak+ZgWgdE9UDc687ZLBu8V6tIEQGLsjgKESCar6mF/S94j8fc
sidebar_class_name: 'get api-method'
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---

import MethodEndpoint from '@theme/ApiExplorer/MethodEndpoint';
import ParamsDetails from '@theme/ParamsDetails';
import RequestSchema from '@theme/RequestSchema';
import StatusCodes from '@theme/StatusCodes';
import OperationTabs from '@theme/OperationTabs';
import TabItem from '@theme/TabItem';
import Heading from '@theme/Heading';
import Translate from '@docusaurus/Translate';

<Heading
  as={'h1'}
  className={'openapi__heading'}
  children={'Get the bootstrap data for SqlLab page'}
></Heading>

<MethodEndpoint
  method={"get"}
  path={"/api/v1/sqllab/"}
  context={"endpoint"}
>

</MethodEndpoint>

Assembles SQLLab bootstrap data (active_tab, databases, queries, tab_state_ids) in a single endpoint. The data can be assembled from the current user's id.

<ParamsDetails>

</ParamsDetails>

<RequestSchema
  {...require("./get-the-bootstrap-data-for-sql-lab-page.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./get-the-bootstrap-data-for-sql-lab-page.StatusCodes.json")}
>

</StatusCodes>
