---
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//thSMmWZcnx9h56D32yTQ6H8/mbGXrFM/CpUwUqa3jCL7yHfKLBs9GH62s5YRNr0aOTBcskSnYiU1QLECgng7AykR78gN2X4BR9QTkRHiWCUJk/ZcowybwyMw0MTFZYZfCM3cwhskulYRNgsro1Y1Nnc4ZzYGnpHBhkpQf3g2cqO+MD7sAX1njwPFnxPz1/Th+pNQgG6assCq1SSaoMP3vSZ8V9Oodc0rfC2QIcqnh6q0ffHn3DZQE84RNrNUjD1wMuS7SuNN2btUGEyhoEyiDMwBEBPKKTopat2reTz5Aibc9VBkLDFMVEuu4rdjh7dMrMaFnLCeieHQSPghy03Fc1nUszg0xEgabW5RJ5QorAM1Q58ME+xxSl79F/0ilCNrnqs4fJXiPmjU1T5pNqzznr/gbey1nwhSm1lhMNPEFXQodc8AhpiZCN7rstEYzfafc+o6pcYbfgYUuZ2RuZonWdpwtnZw6872YQ/NFnFge+1Oh/gWUnZ2cferhuo33vkAe3ANd3o++xmb/Xl5lCu3uwsY/SYa8LAxB0nqvybn8d8mK0UeJJlxP5TaQ4htrJ9Isys09OH0VP2NMpJW10W3I9aEXXgKNCuoN/II9/DJ7dBIA4EGJeLiDb5m2PtNsgPuT7Hu8iMRTxYIgohZD7fZR4Etd2ikhn6hXSZNA83Ydpx0Vzs8x0H8Y6LFpnD3goRtKWQDonl7W/ey46zG4UEqBRGWJ9yTJFppL6/Y6ZW1VIa/sgUr8QZaGt7LFdRdULydX+4vB+lutD2640QvqlSbuJUpnOQVC5sCUeiNVmwNQRZWTejRBgUrcsEDKxwe0jKkBhKUqN8PdE2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XGnP2xikaB9guY9dicjk3hlMGTWpwziq2T09Omgj/LhRwFpzaU3FncGt8aT3pudJMPUiGbAqbzoNrvUmy1o11S/2ZtL5Gav9WOWkUVb4KGv8UTa/ogdX8cmyhiwPlavJbyFZHVcKbt7IRIT38MTXsOOLcZT/gMSO1C4pwnvCU8r9udGLXhPaRba95Ol2vaZhksQNsip39qIqfgjchoVTiLNrV6nQyHK2K1TlYUXes9bq9KjzavWQz4QjpFLUfdiQc2cZ6bSmoMopicOuMyp3SsftKHp5zc5f/u5uY92/Chf1qsx11+G333hBtFXKE9Gk+Ydezqfehcq/Fry6TTVNX5QL1ek3NqbAl9RlQyIMyKT0JovKnni5//ecOrbjWMEGF3O2sEpdcDOiwcTB34+dcyoe7eTG3HzFzS8wDsdEvbpc2Exxfn0SQecxmfKsL4yd8Chgamt3FhBeH43hvypqD8n/8nWVkR4RGHhZYqFMXqZTFm3S2XBc2wi/M42dLD5IBTkMYovOWrFYn8yen1mparN//bu20ihOoz4BFfQrLGvvIiTSHgWmwwk/3iuwMGby8pFKg9aQ6mdUBUX4h73TmbZYP3ahUpImBRFkchAkTzNbWw/wW/ko+1
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
  parameters={undefined}
>

</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>
