> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apowerb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a chart to the user's chat dashboard (user-triggered)

> Add ``chart_id`` to the current chat's dashboard (created on first use).

Backs the "Send to dashboard" button on an inline chart card: charts are no
longer added automatically, so the user triggers this explicitly. The
dashboard is scoped to ``session_id`` (the conversation) when provided.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/charts/{chart_id}/send-to-dashboard
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/v1/charts/{chart_id}/send-to-dashboard:
    post:
      tags:
        - charts
        - charts
      summary: Add a chart to the user's chat dashboard (user-triggered)
      description: >-
        Add ``chart_id`` to the current chat's dashboard (created on first use).


        Backs the "Send to dashboard" button on an inline chart card: charts are
        no

        longer added automatically, so the user triggers this explicitly. The

        dashboard is scoped to ``session_id`` (the conversation) when provided.
      operationId: send_chart_to_dashboard_api_v1_charts__chart_id__send_to_dashboard_post
      parameters:
        - name: chart_id
          in: path
          required: true
          schema:
            type: string
            title: Chart Id
        - name: session_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Send Chart To Dashboard Api V1 Charts  Chart Id  Send
                  To Dashboard Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [Add a component to a dashboard](/api-reference/dashboards/add-a-component-to-a-dashboard.md)
- [List published dashboards shared with the current user](/api-reference/dashboards/list-published-dashboards-shared-with-the-current-user.md)
- [Create a dashboard](/api-reference/dashboards/create-a-dashboard.md)
- [Unpublish a dashboard](/api-reference/dashboards/unpublish-a-dashboard.md)
- [Publish a dashboard](/api-reference/dashboards/publish-a-dashboard.md)
