Saltar al contenido principal

Tools disponibles

ToolEndpointDescripción
get_emissionsGET /api/v1/emissionsLista de emisiones calculadas
get_emissions_dashboardGET /api/v1/emissions/dashboardDashboard por scope, categoría y edificio

Ejemplos de uso

"¿Cuáles son mis emisiones totales en 2024?"
→ get_emissions_dashboard({ companyId: "uuid", startDate: "2024-01-01", endDate: "2024-12-31" })

"Muéstrame las emisiones de Scope 1 del último trimestre"
→ get_emissions({ companyId: "uuid", scopeIds: ["scope-1-uuid"], startDate: "2024-10-01", endDate: "2024-12-31" })

"¿Qué edificio genera más emisiones?"
→ get_emissions_dashboard({ companyId: "uuid", groupBy: "building" })

Parámetros comunes

get_emissions_dashboard

ParámetroTipoDescripción
companyIdstringID de empresa (requerido)
startDatestringFecha inicio (ISO 8601)
endDatestringFecha fin (ISO 8601)
categoryIdsstring[]Filtrar por categorías GHG
buildingIdsstring[]Filtrar por edificios
entityIdsstring[]Filtrar por entidades
hasCountriesbooleanDesglosar por país

get_emissions

ParámetroTipoDescripción
companyIdstringID de empresa (requerido)
startDatestringFecha inicio
endDatestringFecha fin
categoryIdsstring[]Filtrar por categorías
buildingIdsstring[]Filtrar por edificios
pageintegerNúmero de página
limitintegerResultados por página

Respuesta del dashboard

El dashboard incluye datos agregados por:
  • Scope — Scope 1, Scope 2, Scope 3
  • Categoría — Electricidad, combustibles, transporte, etc.
  • Edificio — Emisiones por ubicación
  • Mes — Evolución temporal