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

# Retrieve the dashboard of the GLEC service footprint

> Fetch the dashboard of the GLEC service footprint.



## OpenAPI

````yaml /openapi.json get /api/v1/service-footprint/glec/dashboard
openapi: 3.0.3
info:
  title: Manglai Public API
  description: Manglai API for Carbon Footprint Management
  contact:
    email: admin@manglai.io
    name: Manglai Support
    url: https://manglai.io
  termsOfService: https://manglai.io/privacy
  version: '1.0'
servers:
  - url: https://www.manglai.io
    description: Production
security:
  - apiTokenAuth: []
tags: []
paths:
  /api/v1/service-footprint/glec/dashboard:
    get:
      tags:
        - service-footprint-glec
      summary: Retrieve the dashboard of the GLEC service footprint
      description: Fetch the dashboard of the GLEC service footprint.
      parameters:
        - name: companyId
          in: query
          description: The unique identifier of the company.
          required: true
          schema:
            type: string
        - name: clientId
          in: query
          description: The unique identifier of the client/supplier.
          required: true
          schema:
            type: string
        - name: vehicleId
          in: query
          description: The unique identifier of the vehicle.
          required: true
          schema:
            type: string
        - name: externalId
          in: query
          description: The unique identifier of the external service footprint entry.
          schema:
            type: string
        - name: startDate
          in: query
          description: The start date of the period.
          required: true
          schema:
            type: string
            format: date
        - name: endDate
          in: query
          description: The end date of the period.
          required: true
          schema:
            type: string
            format: date
        - name: calculationMode
          in: query
          description: The calculation mode.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful response with emissions data
          content:
            application/json:
              schema:
                type: object
                properties:
                  monthly:
                    type: object
                    additionalProperties:
                      type: object
                      properties:
                        totalEmissions:
                          type: number
                          format: float
                          description: Total emissions for the month in kilograms.
                        numberOfServices:
                          type: integer
                          description: Number of services for the month.
                  byClient:
                    type: object
                    additionalProperties:
                      type: object
                      properties:
                        totalEmissions:
                          type: number
                          format: float
                          description: Total emissions for the client in kilograms.
                        numberOfServices:
                          type: integer
                          description: Number of services for the client.
                  mode:
                    type: object
                    properties:
                      internal:
                        type: object
                        properties:
                          totalEmissions:
                            type: number
                            format: float
                            description: Total emissions for internal services.
                          numberOfActions:
                            type: integer
                            description: Number of actions for internal services.
                      external:
                        type: object
                        properties:
                          totalEmissions:
                            type: number
                            format: float
                            description: Total emissions for external services.
                          numberOfActions:
                            type: integer
                            description: Number of actions for external services.
                  emissionByScope:
                    type: object
                    properties:
                      scope-1:
                        type: object
                        properties:
                          totalEmissions:
                            type: number
                            format: float
                            description: Total Scope 1 emissions.
                      scope-3:
                        type: object
                        properties:
                          totalEmissions:
                            type: number
                            format: float
                            description: Total Scope 3 emissions.
                  numberOfServices:
                    type: integer
                    description: Total number of services.
                  distance:
                    type: number
                    format: float
                    description: Total distance covered in kilometers.
                  load:
                    type: integer
                    description: Total load in tonnes.
                  numberOfActions:
                    type: integer
                    description: Total number of actions.
                  totalEmissions:
                    type: number
                    format: float
                    description: Total emissions in kilograms.
components:
  securitySchemes:
    apiTokenAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````