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

# Dashboard overview metrics

> Consolidated workspace snapshot: contacts, conversations, workflows, runs, messages, recent runs.



## OpenAPI

````yaml /api-reference/openapi.json get /api/metrics/overview
openapi: 3.1.0
info:
  title: Tedro API
  version: 1.0.0
  description: REST API for the Tedro communication operations platform.
servers:
  - url: https://api.tedro.io
    description: Production
security:
  - sessionCookie: []
    workspaceId: []
paths:
  /api/metrics/overview:
    get:
      tags:
        - Metrics
      summary: Dashboard overview metrics
      description: >-
        Consolidated workspace snapshot: contacts, conversations, workflows,
        runs, messages, recent runs.
      responses:
        '200':
          description: Overview metrics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsOverviewResponse'
        '401':
          description: Unauthorized - missing or invalid session cookie
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden - insufficient role (admin required)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - sessionCookie: []
          workspaceId: []
components:
  schemas:
    MetricsOverviewResponse:
      type: object
      properties:
        totalContacts:
          type: integer
        activeContacts24h:
          type: integer
        totalConversations:
          type: integer
        openConversations:
          type: integer
        handoffConversations:
          type: integer
        totalWorkflows:
          type: integer
        publishedWorkflows:
          type: integer
        runsLast24h:
          type: integer
        runsSucceeded:
          type: integer
        runsFailed:
          type: integer
        runsRunning:
          type: integer
        messagesInbound24h:
          type: integer
        messagesOutbound24h:
          type: integer
        recentRuns:
          type: array
          items:
            $ref: '#/components/schemas/RecentRun'
      required:
        - totalContacts
        - activeContacts24h
        - totalConversations
        - openConversations
        - handoffConversations
        - totalWorkflows
        - publishedWorkflows
        - runsLast24h
        - runsSucceeded
        - runsFailed
        - runsRunning
        - messagesInbound24h
        - messagesOutbound24h
        - recentRuns
      description: >-
        Dashboard overview snapshot (contacts, conversations, runs, messages,
        recent activity)
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    RecentRun:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workflowName:
          type: string
        status:
          type: string
        contactName:
          type:
            - string
            - 'null'
        startedAt:
          type: string
        finishedAt:
          type:
            - string
            - 'null'
      required:
        - id
        - workflowName
        - status
        - contactName
        - startedAt
        - finishedAt
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: Session cookie set by Better Auth on sign-in.
    workspaceId:
      type: apiKey
      in: header
      name: x-workspace-id
      description: Workspace UUID. Required on all /api/* endpoints.

````