{
  "opencollection": "1.0.0",
  "info": {
    "name": "Metabase API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Sessions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a session",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://your-metabase-instance.com/api/session",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Authenticate using username and password to obtain a session ID."
        },
        {
          "info": {
            "name": "Delete a session",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://your-metabase-instance.com/api/session"
          },
          "docs": "Sign out the current session."
        }
      ]
    },
    {
      "info": {
        "name": "Collections",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List collections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/collection"
          },
          "docs": "List collections"
        },
        {
          "info": {
            "name": "Create a collection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://your-metabase-instance.com/api/collection",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a collection"
        },
        {
          "info": {
            "name": "Get a collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/collection/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a collection"
        }
      ]
    },
    {
      "info": {
        "name": "Dashboards",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List dashboards",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/dashboard"
          },
          "docs": "List dashboards"
        },
        {
          "info": {
            "name": "Create a dashboard",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://your-metabase-instance.com/api/dashboard",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a dashboard"
        },
        {
          "info": {
            "name": "Get a dashboard",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/dashboard/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a dashboard"
        },
        {
          "info": {
            "name": "Update a dashboard",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://your-metabase-instance.com/api/dashboard/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a dashboard"
        },
        {
          "info": {
            "name": "Archive a dashboard",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://your-metabase-instance.com/api/dashboard/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Archive a dashboard"
        }
      ]
    },
    {
      "info": {
        "name": "Cards",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List saved questions (cards)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/card"
          },
          "docs": "List saved questions (cards)"
        },
        {
          "info": {
            "name": "Create a card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://your-metabase-instance.com/api/card",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a card"
        },
        {
          "info": {
            "name": "Get a card",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/card/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a card"
        },
        {
          "info": {
            "name": "Execute a card's query",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://your-metabase-instance.com/api/card/:id/query",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Execute a card's query"
        }
      ]
    },
    {
      "info": {
        "name": "Databases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List databases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/database"
          },
          "docs": "List databases"
        },
        {
          "info": {
            "name": "Add a database connection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://your-metabase-instance.com/api/database",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a database connection"
        },
        {
          "info": {
            "name": "Get a database",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/database/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a database"
        }
      ]
    },
    {
      "info": {
        "name": "Datasets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Execute an ad-hoc query",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://your-metabase-instance.com/api/dataset",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Execute an ad-hoc query"
        }
      ]
    },
    {
      "info": {
        "name": "Search",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Metabase content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/search",
            "params": [
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Search term."
              }
            ]
          },
          "docs": "Search Metabase content"
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/user"
          },
          "docs": "List users"
        },
        {
          "info": {
            "name": "Create a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://your-metabase-instance.com/api/user",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a user"
        },
        {
          "info": {
            "name": "Get a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/user/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a user"
        }
      ]
    },
    {
      "info": {
        "name": "Permissions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List permission groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/permissions/group"
          },
          "docs": "List permission groups"
        }
      ]
    },
    {
      "info": {
        "name": "Settings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://your-metabase-instance.com/api/setting"
          },
          "docs": "List settings"
        }
      ]
    }
  ],
  "bundled": true
}