Baserow Dashboard widgets API

The Dashboard widgets API from Baserow — 2 operation(s) for dashboard widgets.

Operations 4

GET /api/dashboard/{dashboard_id}/widgets/ #
POST /api/dashboard/{dashboard_id}/widgets/ #
PATCH /api/dashboard/widgets/{widget_id}/ #
DELETE /api/dashboard/widgets/{widget_id}/ #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/baserow-dashboard-widgets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

baserow-dashboard-widgets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Baserow API spec Admin Dashboard widgets API
  version: 2.2.2
  description: 'For more information about our REST API, please visit [this page](https://baserow.io/docs/apis%2Frest-api).


    For more information about our deprecation policy, please visit [this page](https://baserow.io/docs/apis%2Fdeprecations).'
  contact:
    url: https://baserow.io/contact
  license:
    name: MIT
    url: https://github.com/baserow/baserow/blob/develop/LICENSE
servers:
- url: https://api.baserow.io
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Dashboard widgets
paths:
  /api/dashboard/{dashboard_id}/widgets/:
    get:
      operationId: list_dashboard_widgets
      description: 'Lists all the widgets of the dashboard related to the provided parameter if the user has access to the related workspace. '
      parameters:
      - in: path
        name: dashboard_id
        schema:
          type: integer
        description: Returns only the widgets of the dashboard related to the provided Id.
        required: true
      tags:
      - Dashboard widgets
      security:
      - UserSource JWT: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Dashboard_WidgetWidget'
          description: ''
        '401':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Machine readable error indicating what went wrong.
                    enum:
                    - ERROR_PERMISSION_DENIED
                  detail:
                    oneOf:
                    - type: string
                      format: string
                      description: Human readable details about what went wrong.
                    - type: object
                      format: object
                      description: Machine readable object about what went wrong.
          description: ''
        '404':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Machine readable error indicating what went wrong.
                    enum:
                    - ERROR_DASHBOARD_DOES_NOT_EXIST
                  detail:
                    oneOf:
                    - type: string
                      format: string
                      description: Human readable details about what went wrong.
                    - type: object
                      format: object
                      description: Machine readable object about what went wrong.
          description: ''
    post:
      operationId: create_dashboard_widget
      description: Creates a new dashboard widget
      parameters:
      - in: header
        name: ClientSessionId
        schema:
          type: string
          format: uuid
        description: An optional header that marks the action performed by this request as having occurred in a particular client session. Then using the undo/redo endpoints with the same ClientSessionId header this action can be undone/redone.
      - in: header
        name: ClientUndoRedoActionGroupId
        schema:
          type: string
          format: uuid
        description: An optional header that marks the action performed by this request as having occurred in a particular action group.Then calling the undo/redo endpoint with the same ClientSessionId header, all the actions belonging to the same action group can be undone/redone together in a single API call.
      - in: path
        name: dashboard_id
        schema:
          type: integer
        description: Creates a widget for the dashboard related to the provided value.
        required: true
      tags:
      - Dashboard widgets
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Dashboard_WidgetCreateWidget'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Dashboard_WidgetCreateWidget'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Dashboard_WidgetCreateWidget'
      security:
      - UserSource JWT: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Dashboard_WidgetWidget'
          description: ''
        '400':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Machine readable error indicating what went wrong.
                    enum:
                    - ERROR_REQUEST_BODY_VALIDATION
                    - ERROR_WIDGET_TYPE_DOES_NOT_EXIST
                  detail:
                    oneOf:
                    - type: string
                      format: string
                      description: Human readable details about what went wrong.
                    - type: object
                      format: object
                      description: Machine readable object about what went wrong.
          description: ''
        '401':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Machine readable error indicating what went wrong.
                    enum:
                    - ERROR_PERMISSION_DENIED
                  detail:
                    oneOf:
                    - type: string
                      format: string
                      description: Human readable details about what went wrong.
                    - type: object
                      format: object
                      description: Machine readable object about what went wrong.
          description: ''
        '404':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Machine readable error indicating what went wrong.
                    enum:
                    - ERROR_DASHBOARD_DOES_NOT_EXIST
                  detail:
                    oneOf:
                    - type: string
                      format: string
                      description: Human readable details about what went wrong.
                    - type: object
                      format: object
                      description: Machine readable object about what went wrong.
          description: ''
  /api/dashboard/widgets/{widget_id}/:
    patch:
      operationId: update_dashboard_widget
      description: Updates an existing dashboard widget.
      parameters:
      - in: header
        name: ClientSessionId
        schema:
          type: string
          format: uuid
        description: An optional header that marks the action performed by this request as having occurred in a particular client session. Then using the undo/redo endpoints with the same ClientSessionId header this action can be undone/redone.
      - in: header
        name: ClientUndoRedoActionGroupId
        schema:
          type: string
          format: uuid
        description: An optional header that marks the action performed by this request as having occurred in a particular action group.Then calling the undo/redo endpoint with the same ClientSessionId header, all the actions belonging to the same action group can be undone/redone together in a single API call.
      - in: path
        name: widget_id
        schema:
          type: integer
        description: The id of the widget
        required: true
      tags:
      - Dashboard widgets
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedDashboard_WidgetUpdateWidget'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedDashboard_WidgetUpdateWidget'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedDashboard_WidgetUpdateWidget'
      security:
      - UserSource JWT: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Dashboard_WidgetWidget'
          description: ''
        '400':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Machine readable error indicating what went wrong.
                    enum:
                    - ERROR_REQUEST_BODY_VALIDATION
                  detail:
                    oneOf:
                    - type: string
                      format: string
                      description: Human readable details about what went wrong.
                    - type: object
                      format: object
                      description: Machine readable object about what went wrong.
          description: ''
        '401':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Machine readable error indicating what went wrong.
                    enum:
                    - ERROR_PERMISSION_DENIED
                  detail:
                    oneOf:
                    - type: string
                      format: string
                      description: Human readable details about what went wrong.
                    - type: object
                      format: object
                      description: Machine readable object about what went wrong.
          description: ''
        '404':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Machine readable error indicating what went wrong.
                    enum:
                    - ERROR_WIDGET_DOES_NOT_EXIST
                  detail:
                    oneOf:
                    - type: string
                      format: string
                      description: Human readable details about what went wrong.
                    - type: object
                      format: object
                      description: Machine readable object about what went wrong.
          description: ''
    delete:
      operationId: delete_dashboard_widget
      description: Deletes the widget related to the given id.
      parameters:
      - in: header
        name: ClientSessionId
        schema:
          type: string
          format: uuid
        description: An optional header that marks the action performed by this request as having occurred in a particular client session. Then using the undo/redo endpoints with the same ClientSessionId header this action can be undone/redone.
      - in: header
        name: ClientUndoRedoActionGroupId
        schema:
          type: string
          format: uuid
        description: An optional header that marks the action performed by this request as having occurred in a particular action group.Then calling the undo/redo endpoint with the same ClientSessionId header, all the actions belonging to the same action group can be undone/redone together in a single API call.
      - in: path
        name: widget_id
        schema:
          type: integer
        description: The id of the widget
        required: true
      tags:
      - Dashboard widgets
      security:
      - UserSource JWT: []
      - JWT: []
      responses:
        '204':
          description: No response body
        '401':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Machine readable error indicating what went wrong.
                    enum:
                    - ERROR_PERMISSION_DENIED
                  detail:
                    oneOf:
                    - type: string
                      format: string
                      description: Human readable details about what went wrong.
                    - type: object
                      format: object
                      description: Machine readable object about what went wrong.
          description: ''
        '404':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Machine readable error indicating what went wrong.
                    enum:
                    - ERROR_WIDGET_DOES_NOT_EXIST
                  detail:
                    oneOf:
                    - type: string
                      format: string
                      description: Human readable details about what went wrong.
                    - type: object
                      format: object
                      description: Machine readable object about what went wrong.
          description: ''
components:
  schemas:
    DefaultSeriesChartTypeC18Enum:
      enum:
      - PIE
      - DOUGHNUT
      type: string
      description: '* `PIE` - Pie

        * `DOUGHNUT` - Doughnut'
    PieChartWidgetCreateWidget:
      type: object
      description: This serializer allow to set the type of the new widget.
      properties:
        title:
          type: string
          maxLength: 255
        description:
          type: string
          maxLength: 255
        type:
          allOf:
          - $ref: '#/components/schemas/Type2b7Enum'
          description: 'The type of the widget.


            * `summary` - summary

            * `chart` - chart

            * `pie_chart` - pie_chart'
        series_config:
          type: array
          items:
            $ref: '#/components/schemas/PieChartSeriesConfig'
          description: Provides series configuration.
        default_series_chart_type:
          allOf:
          - $ref: '#/components/schemas/DefaultSeriesChartTypeC18Enum'
          description: 'Default chart type.


            * `PIE` - Pie

            * `DOUGHNUT` - Doughnut'
      required:
      - title
      - type
    ChartWidgetCreateWidget:
      type: object
      description: This serializer allow to set the type of the new widget.
      properties:
        title:
          type: string
          maxLength: 255
        description:
          type: string
          maxLength: 255
        type:
          allOf:
          - $ref: '#/components/schemas/Type2b7Enum'
          description: 'The type of the widget.


            * `summary` - summary

            * `chart` - chart

            * `pie_chart` - pie_chart'
        series_config:
          type: array
          items:
            $ref: '#/components/schemas/ChartSeriesConfig'
          description: Provides series configuration.
        default_series_chart_type:
          allOf:
          - $ref: '#/components/schemas/DefaultSeriesChartType767Enum'
          description: 'Default chart type.


            * `BAR` - Bar

            * `LINE` - Line'
      required:
      - title
      - type
    Dashboard_WidgetCreateWidget:
      oneOf:
      - $ref: '#/components/schemas/SummaryWidgetCreateWidget'
      - $ref: '#/components/schemas/ChartWidgetCreateWidget'
      - $ref: '#/components/schemas/PieChartWidgetCreateWidget'
      discriminator:
        propertyName: type
        mapping:
          summary: '#/components/schemas/SummaryWidgetCreateWidget'
          chart: '#/components/schemas/ChartWidgetCreateWidget'
          pie_chart: '#/components/schemas/PieChartWidgetCreateWidget'
    ChartWidgetWidget:
      type: object
      description: Basic widget serializer mostly for returned values.
      properties:
        id:
          type: integer
          readOnly: true
        title:
          type: string
          readOnly: true
        description:
          type: string
          readOnly: true
        dashboard_id:
          type: integer
          readOnly: true
        type:
          type: string
          readOnly: true
          description: The type of the widget.
        order:
          type: string
          format: decimal
          pattern: ^-?\d{0,20}(?:\.\d{0,20})?$
          readOnly: true
          description: Lowest first.
        data_source_id:
          type: integer
          description: References a data source field for the widget.
        series_config:
          type: array
          items:
            $ref: '#/components/schemas/ChartSeriesConfig'
          description: Provides series configuration.
        default_series_chart_type:
          allOf:
          - $ref: '#/components/schemas/DefaultSeriesChartType767Enum'
          description: 'Default chart type.


            * `BAR` - Bar

            * `LINE` - Line'
      required:
      - dashboard_id
      - description
      - id
      - order
      - title
      - type
    DefaultSeriesChartType767Enum:
      enum:
      - BAR
      - LINE
      type: string
      description: '* `BAR` - Bar

        * `LINE` - Line'
    SeriesChartTypeC18Enum:
      enum:
      - PIE
      - DOUGHNUT
      type: string
      description: '* `PIE` - Pie

        * `DOUGHNUT` - Doughnut'
    PieChartSeriesConfig:
      type: object
      properties:
        series_id:
          type: integer
        series_chart_type:
          $ref: '#/components/schemas/SeriesChartTypeC18Enum'
      required:
      - series_chart_type
      - series_id
    PieChartWidgetUpdateWidget:
      type: object
      properties:
        title:
          type: string
          maxLength: 255
        description:
          type: string
          maxLength: 255
        series_config:
          type: array
          items:
            $ref: '#/components/schemas/PieChartSeriesConfig'
          description: Provides series configuration.
        default_series_chart_type:
          allOf:
          - $ref: '#/components/schemas/DefaultSeriesChartTypeC18Enum'
          description: 'Default chart type.


            * `PIE` - Pie

            * `DOUGHNUT` - Doughnut'
    ChartWidgetUpdateWidget:
      type: object
      properties:
        title:
          type: string
          maxLength: 255
        description:
          type: string
          maxLength: 255
        series_config:
          type: array
          items:
            $ref: '#/components/schemas/ChartSeriesConfig'
          description: Provides series configuration.
        default_series_chart_type:
          allOf:
          - $ref: '#/components/schemas/DefaultSeriesChartType767Enum'
          description: 'Default chart type.


            * `BAR` - Bar

            * `LINE` - Line'
    SummaryWidgetUpdateWidget:
      type: object
      properties:
        title:
          type: string
          maxLength: 255
        description:
          type: string
          maxLength: 255
    SeriesChartType767Enum:
      enum:
      - BAR
      - LINE
      type: string
      description: '* `BAR` - Bar

        * `LINE` - Line'
    Dashboard_WidgetWidget:
      oneOf:
      - $ref: '#/components/schemas/SummaryWidgetWidget'
      - $ref: '#/components/schemas/ChartWidgetWidget'
      - $ref: '#/components/schemas/PieChartWidgetWidget'
      discriminator:
        propertyName: type
        mapping:
          summary: '#/components/schemas/SummaryWidgetWidget'
          chart: '#/components/schemas/ChartWidgetWidget'
          pie_chart: '#/components/schemas/PieChartWidgetWidget'
    SummaryWidgetCreateWidget:
      type: object
      description: This serializer allow to set the type of the new widget.
      properties:
        title:
          type: string
          maxLength: 255
        description:
          type: string
          maxLength: 255
        type:
          allOf:
          - $ref: '#/components/schemas/Type2b7Enum'
          description: 'The type of the widget.


            * `summary` - summary

            * `chart` - chart

            * `pie_chart` - pie_chart'
      required:
      - title
      - type
    ChartSeriesConfig:
      type: object
      properties:
        series_id:
          type: integer
        series_chart_type:
          $ref: '#/components/schemas/SeriesChartType767Enum'
      required:
      - series_chart_type
      - series_id
    PieChartWidgetWidget:
      type: object
      description: Basic widget serializer mostly for returned values.
      properties:
        id:
          type: integer
          readOnly: true
        title:
          type: string
          readOnly: true
        description:
          type: string
          readOnly: true
        dashboard_id:
          type: integer
          readOnly: true
        type:
          type: string
          readOnly: true
          description: The type of the widget.
        order:
          type: string
          format: decimal
          pattern: ^-?\d{0,20}(?:\.\d{0,20})?$
          readOnly: true
          description: Lowest first.
        data_source_id:
          type: integer
          description: References a data source field for the widget.
        series_config:
          type: array
          items:
            $ref: '#/components/schemas/PieChartSeriesConfig'
          description: Provides series configuration.
        default_series_chart_type:
          allOf:
          - $ref: '#/components/schemas/DefaultSeriesChartTypeC18Enum'
          description: 'Default chart type.


            * `PIE` - Pie

            * `DOUGHNUT` - Doughnut'
      required:
      - dashboard_id
      - description
      - id
      - order
      - title
      - type
    PatchedDashboard_WidgetUpdateWidget:
      anyOf:
      - $ref: '#/components/schemas/SummaryWidgetUpdateWidget'
      - $ref: '#/components/schemas/ChartWidgetUpdateWidget'
      - $ref: '#/components/schemas/PieChartWidgetUpdateWidget'
    Type2b7Enum:
      enum:
      - summary
      - chart
      - pie_chart
      type: string
      description: '* `summary` - summary

        * `chart` - chart

        * `pie_chart` - pie_chart'
    SummaryWidgetWidget:
      type: object
      description: Basic widget serializer mostly for returned values.
      properties:
        id:
          type: integer
          readOnly: true
        title:
          type: string
          readOnly: true
        description:
          type: string
          readOnly: true
        dashboard_id:
          type: integer
          readOnly: true
        type:
          type: string
          readOnly: true
          description: The type of the widget.
        order:
          type: string
          format: decimal
          pattern: ^-?\d{0,20}(?:\.\d{0,20})?$
          readOnly: true
          description: Lowest first.
        data_source_id:
          type: integer
          description: References a data source field for the widget.
      required:
      - dashboard_id
      - description
      - id
      - order
      - title
      - type
  securitySchemes:
    Database_token:
      type: http
      scheme: bearer
      bearerFormat: Token your_token
    JWT:
      type: http
      scheme: bearer
      bearerFormat: JWT your_token
    UserSource_JWT:
      type: http
      scheme: bearer
      bearerFormat: JWT your_token