naftiko: 1.0.0-alpha2 info: label: Streaming Services OpenAPI Specification — Apportioned Daily Emissions description: 'Apportioned Daily Emissions. 4 operations. Lead operation: operations. Self-contained Naftiko capability covering one EPA business surface.' tags: - EPA - Apportioned Daily Emissions created: '2026-05-29' modified: '2026-05-29' binds: - namespace: env keys: EPA_APIKEY_KEY: EPA_APIKEY_KEY capability: consumes: - type: http namespace: cam-streaming-apportioned-daily-emissions baseUri: https://api.epa.gov/easey description: Streaming Services OpenAPI Specification — Apportioned Daily Emissions business capability. Self-contained, no shared references. authentication: type: apikey key: x-api-key value: '{{env.EPA_APIKEY_KEY}}' placement: header resources: - name: streaming-services-emissions-apportioned-daily path: /streaming-services/emissions/apportioned/daily operations: - name: dailyApportionedEmissionsControllerstreamEmissions method: GET description: dailyApportionedEmissionsControllerstreamEmissions inputParameters: - name: stateCode in: query type: array required: false description: Two letter abbreviation for the State. - name: facilityId in: query type: array required: false description: The Facility ID code assigned by the Department of Energy's Energy Information Administration. The Energy Information Administration Plant ID code is also referred to as the "ORIS code", "ORISPL code" - name: unitType in: query type: array required: false description: Type of unit or boiler. - name: unitFuelType in: query type: array required: false description: Primary or Secondary fuel types combusted by the unit. - name: controlTechnologies in: query type: array required: false description: Method or equipment used by the combustion unit to minimize Hg, NOx, PM, or SO2 emissions. - name: programCodeInfo in: query type: array required: false description: Statutory or regulatory based options for tracking and reducing air pollution emissions. - name: beginDate in: query type: string required: true description: Begin date for a given period of a unit's emissions. - name: endDate in: query type: string required: true description: End date for a given period of a unit's emissions. - name: exclude in: query type: array required: false description: Selected items will be excluded from the response - name: unitId in: query type: string required: false description: unitId - name: unit_id in: query type: number required: false description: unit_id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-daily-by-facility path: /streaming-services/emissions/apportioned/daily/by-facility operations: - name: dailyApportionedEmissionsControllerstreamEmissionsFacilityAggregation method: GET description: dailyApportionedEmissionsControllerstreamEmissionsFacilityAggregation inputParameters: - name: stateCode in: query type: array required: false description: Two letter abbreviation for the State. - name: facilityId in: query type: array required: false description: The Facility ID code assigned by the Department of Energy's Energy Information Administration. The Energy Information Administration Plant ID code is also referred to as the "ORIS code", "ORISPL code" - name: unitType in: query type: array required: false description: Type of unit or boiler. - name: unitFuelType in: query type: array required: false description: Primary or Secondary fuel types combusted by the unit. - name: controlTechnologies in: query type: array required: false description: Method or equipment used by the combustion unit to minimize Hg, NOx, PM, or SO2 emissions. - name: programCodeInfo in: query type: array required: false description: Statutory or regulatory based options for tracking and reducing air pollution emissions. - name: beginDate in: query type: string required: true description: Begin date for a given period of a unit's emissions. - name: endDate in: query type: string required: true description: End date for a given period of a unit's emissions. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-daily-by-state path: /streaming-services/emissions/apportioned/daily/by-state operations: - name: dailyApportionedEmissionsControllerstreamEmissionsStateAggregation method: GET description: dailyApportionedEmissionsControllerstreamEmissionsStateAggregation inputParameters: - name: stateCode in: query type: array required: false description: Two letter abbreviation for the State. - name: facilityId in: query type: array required: false description: The Facility ID code assigned by the Department of Energy's Energy Information Administration. The Energy Information Administration Plant ID code is also referred to as the "ORIS code", "ORISPL code" - name: unitType in: query type: array required: false description: Type of unit or boiler. - name: unitFuelType in: query type: array required: false description: Primary or Secondary fuel types combusted by the unit. - name: controlTechnologies in: query type: array required: false description: Method or equipment used by the combustion unit to minimize Hg, NOx, PM, or SO2 emissions. - name: programCodeInfo in: query type: array required: false description: Statutory or regulatory based options for tracking and reducing air pollution emissions. - name: beginDate in: query type: string required: true description: Begin date for a given period of a unit's emissions. - name: endDate in: query type: string required: true description: End date for a given period of a unit's emissions. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-daily-nationally path: /streaming-services/emissions/apportioned/daily/nationally operations: - name: dailyApportionedEmissionsControllerstreamEmissionsNationalAggregation method: GET description: dailyApportionedEmissionsControllerstreamEmissionsNationalAggregation inputParameters: - name: stateCode in: query type: array required: false description: Two letter abbreviation for the State. - name: facilityId in: query type: array required: false description: The Facility ID code assigned by the Department of Energy's Energy Information Administration. The Energy Information Administration Plant ID code is also referred to as the "ORIS code", "ORISPL code" - name: unitType in: query type: array required: false description: Type of unit or boiler. - name: unitFuelType in: query type: array required: false description: Primary or Secondary fuel types combusted by the unit. - name: controlTechnologies in: query type: array required: false description: Method or equipment used by the combustion unit to minimize Hg, NOx, PM, or SO2 emissions. - name: programCodeInfo in: query type: array required: false description: Statutory or regulatory based options for tracking and reducing air pollution emissions. - name: beginDate in: query type: string required: true description: Begin date for a given period of a unit's emissions. - name: endDate in: query type: string required: true description: End date for a given period of a unit's emissions. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: cam-streaming-apportioned-daily-emissions-rest port: 8080 description: REST adapter for Streaming Services OpenAPI Specification — Apportioned Daily Emissions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/streaming-services/emissions/apportioned/daily name: streaming-services-emissions-apportioned-daily description: REST surface for dailyApportionedEmissionsControllerstreamEmissions. operations: - method: GET name: dailyApportionedEmissionsControllerstreamEmissions description: dailyApportionedEmissionsControllerstreamEmissions call: cam-streaming-apportioned-daily-emissions.dailyApportionedEmissionsControllerstreamEmissions with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo beginDate: rest.beginDate endDate: rest.endDate exclude: rest.exclude unitId: rest.unitId unit_id: rest.unit_id outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/daily/by-facility name: streaming-services-emissions-apportioned-daily-by-facility description: REST surface for dailyApportionedEmissionsControllerstreamEmissionsFacilityAggregation. operations: - method: GET name: dailyApportionedEmissionsControllerstreamEmissionsFacilityAggregation description: dailyApportionedEmissionsControllerstreamEmissionsFacilityAggregation call: cam-streaming-apportioned-daily-emissions.dailyApportionedEmissionsControllerstreamEmissionsFacilityAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo beginDate: rest.beginDate endDate: rest.endDate outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/daily/by-state name: streaming-services-emissions-apportioned-daily-by-state description: REST surface for dailyApportionedEmissionsControllerstreamEmissionsStateAggregation. operations: - method: GET name: dailyApportionedEmissionsControllerstreamEmissionsStateAggregation description: dailyApportionedEmissionsControllerstreamEmissionsStateAggregation call: cam-streaming-apportioned-daily-emissions.dailyApportionedEmissionsControllerstreamEmissionsStateAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo beginDate: rest.beginDate endDate: rest.endDate outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/daily/nationally name: streaming-services-emissions-apportioned-daily-nationally description: REST surface for dailyApportionedEmissionsControllerstreamEmissionsNationalAggregation. operations: - method: GET name: dailyApportionedEmissionsControllerstreamEmissionsNationalAggregation description: dailyApportionedEmissionsControllerstreamEmissionsNationalAggregation call: cam-streaming-apportioned-daily-emissions.dailyApportionedEmissionsControllerstreamEmissionsNationalAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo beginDate: rest.beginDate endDate: rest.endDate outputParameters: - type: object mapping: $. - type: mcp namespace: cam-streaming-apportioned-daily-emissions-mcp port: 9090 transport: http description: MCP adapter for Streaming Services OpenAPI Specification — Apportioned Daily Emissions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: dailyapportionedemissionscontroller-streamemissions description: dailyapportionedemissionscontroller-streamemissions hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-daily-emissions.dailyApportionedEmissionsControllerstreamEmissions with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo beginDate: tools.beginDate endDate: tools.endDate exclude: tools.exclude unitId: tools.unitId unit_id: tools.unit_id outputParameters: - type: object mapping: $. - name: dailyapportionedemissionscontroller-streamemissionsfacilityaggregation description: dailyapportionedemissionscontroller-streamemissionsfacilityaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-daily-emissions.dailyApportionedEmissionsControllerstreamEmissionsFacilityAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo beginDate: tools.beginDate endDate: tools.endDate outputParameters: - type: object mapping: $. - name: dailyapportionedemissionscontroller-streamemissionsstateaggregation description: dailyapportionedemissionscontroller-streamemissionsstateaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-daily-emissions.dailyApportionedEmissionsControllerstreamEmissionsStateAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo beginDate: tools.beginDate endDate: tools.endDate outputParameters: - type: object mapping: $. - name: dailyapportionedemissionscontroller-streamemissionsnationalaggregation description: dailyapportionedemissionscontroller-streamemissionsnationalaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-daily-emissions.dailyApportionedEmissionsControllerstreamEmissionsNationalAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo beginDate: tools.beginDate endDate: tools.endDate outputParameters: - type: object mapping: $.