# Phytosanitary Endpoints for phytosanitary monitoring and analysis (pest/disease tracking) ## Get phytosanitary monitoring summary - [GET /api/control/phytosanitary/summary](https://docs.hydrobit.ag/spec/openapi/phytosanitary/getphytosanitarysummary.md): Retrieves aggregated phytosanitary data (pest and disease incidence/severity) for a specified time range. Requires API token authentication with read:phytosanitary scope via the x-api-key header. Key features: - Aggregates data from phytosanitary form records - Supports filtering by company, project, or sector - Returns incidence and severity metrics per sector - Maximum range: 180 days - Dates must be in YYYY-MM-DD format (local time, no timezone suffix) - Timezone is automatically resolved from the project settings ## Get phytosanitary summary for entire company - [GET /api/control/phytosanitary/company-summary](https://docs.hydrobit.ag/spec/openapi/phytosanitary/getphytosanitarycompanysummary.md): Retrieves aggregated phytosanitary data (pest and disease incidence/severity) for all projects and sectors belonging to the authenticated company within a specified time range. Requires API token authentication with read:phytosanitary scope via the x-api-key header. Key features: - Automatically uses companyId from the authenticated API token - Aggregates data from all projects and sectors belonging to the company - Returns incidence and severity metrics grouped by project and sector - Maximum range: 180 days - Dates must be in YYYY-MM-DD format (local time, no timezone suffix) - Timezone is automatically resolved from the company's projects - No need to specify companyId, projectId, or sectorId manually