---
agentTools:
  projectIndex: https://cobromix.readme.io/llms.txt
---

# Obtener Metricas

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Documentación Dev",
    "version": "1.1"
  },
  "servers": [
    {
      "url": "https://dev-api.cobromix.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/empresa/ver-estadisticasApi": {
      "get": {
        "summary": "Obtener Metricas",
        "description": "",
        "operationId": "obtener-metricas",
        "parameters": [
          {
            "name": "secret_empresa",
            "in": "query",
            "description": "Clave secreta asociada a la empresa, generada durante el proceso de registro.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "description": "Año del cual quiere consultar",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "64d63442fb44b9001eecdbbc:66bcfa22b006c0001ca7bdf9"
}
```