> ## 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.

# Get agent linked to dashboard

> Get the agent associated with a dashboard.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/dashboards/{dashboard_id}/agent
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/dashboards/{dashboard_id}/agent:
    get:
      tags:
        - dashboards
      summary: Get agent linked to dashboard
      description: Get the agent associated with a dashboard.
      operationId: get_dashboard_agent_api_v1_dashboards__dashboard_id__agent_get
      parameters:
        - name: dashboard_id
          in: path
          required: true
          schema:
            type: string
            title: Dashboard Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Get Dashboard Agent Api V1 Dashboards  Dashboard Id 
                  Agent Get
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
      type: object
      required:
        - detail
      title: ErrorResponse
    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

- [Get a dashboard by ID](/api-reference/dashboards/get-a-dashboard-by-id.md)
- [Get a dashboard by slug](/api-reference/dashboards/get-a-dashboard-by-slug.md)
- [List dashboards](/api-reference/dashboards/list-dashboards.md)
- [List refresh schedules for a dashboard](/api-reference/dashboard-refresh/list-refresh-schedules-for-a-dashboard.md)
- [Configuration](/configuration.md)
