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

# Get Agent Overview

> Aggregate stats + upcoming work for one agent.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/agents/{agent_id}/overview
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/agents/{agent_id}/overview:
    get:
      tags:
        - v1
        - protected
        - dashboard
      summary: Get Agent Overview
      description: Aggregate stats + upcoming work for one agent.
      operationId: get_agent_overview_v1_agents__agent_id__overview_get
      parameters:
        - in: path
          name: agent_id
          required: true
          schema:
            format: uuid
            title: Agent Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentOverviewResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    AgentOverviewResponse:
      properties:
        cost_mtd_usd:
          title: Cost Mtd Usd
          type: number
        cost_today_usd:
          title: Cost Today Usd
          type: number
        daily_spend:
          items:
            $ref: '#/components/schemas/DailySpendPoint'
          title: Daily Spend
          type: array
        daily_tasks:
          items:
            $ref: '#/components/schemas/DailyTaskCounts'
          title: Daily Tasks
          type: array
        last_activity_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Activity At
        tasks_done_today:
          title: Tasks Done Today
          type: integer
        tasks_failed_today:
          title: Tasks Failed Today
          type: integer
        upcoming:
          items:
            $ref: '#/components/schemas/UpcomingItem'
          title: Upcoming
          type: array
      required:
        - cost_today_usd
        - cost_mtd_usd
        - tasks_done_today
        - tasks_failed_today
        - last_activity_at
        - daily_spend
        - daily_tasks
        - upcoming
      title: AgentOverviewResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    DailySpendPoint:
      properties:
        date:
          title: Date
          type: string
        usd:
          title: Usd
          type: number
      required:
        - date
        - usd
      title: DailySpendPoint
      type: object
    DailyTaskCounts:
      properties:
        completed:
          title: Completed
          type: integer
        date:
          title: Date
          type: string
        failed:
          title: Failed
          type: integer
        input_required:
          title: Input Required
          type: integer
      required:
        - date
        - completed
        - failed
        - input_required
      title: DailyTaskCounts
      type: object
    UpcomingItem:
      properties:
        cron_expression:
          anyOf:
            - type: string
            - type: 'null'
          title: Cron Expression
        fires_at:
          title: Fires At
          type: string
        kind:
          title: Kind
          type: string
        task_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Task Id
        title:
          title: Title
          type: string
        trigger_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Trigger Id
      required:
        - fires_at
        - kind
        - title
      title: UpcomingItem
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````