naftiko: 1.0.0-alpha2 info: label: Streaming Services OpenAPI Specification — Apportioned Monthly Emissions description: 'Apportioned Monthly Emissions. 4 operations. Lead operation: operations. Self-contained Naftiko capability covering one EPA business surface.' tags: - EPA - Apportioned Monthly 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-monthly-emissions baseUri: https://api.epa.gov/easey description: Streaming Services OpenAPI Specification — Apportioned Monthly 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-monthly path: /streaming-services/emissions/apportioned/monthly operations: - name: monthlyApportionedEmissionsControllerstreamEmissions method: GET description: monthlyApportionedEmissionsControllerstreamEmissions 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: year in: query type: array required: true description: The calendar year during which activity occurred. - name: month in: query type: array required: true description: Month on which activity occurred. - name: exclude in: query type: array required: false description: Selected items will be excluded from the response outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-monthly-by-facility path: /streaming-services/emissions/apportioned/monthly/by-facility operations: - name: monthlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation method: GET description: monthlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation 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: year in: query type: array required: true description: The calendar year during which activity occurred. - name: month in: query type: array required: true description: Month on which activity occurred. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-monthly-by-state path: /streaming-services/emissions/apportioned/monthly/by-state operations: - name: monthlyApportionedEmissionsControllerstreamEmissionsStateAggregation method: GET description: monthlyApportionedEmissionsControllerstreamEmissionsStateAggregation 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: year in: query type: array required: true description: The calendar year during which activity occurred. - name: month in: query type: array required: true description: Month on which activity occurred. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-monthly-nationally path: /streaming-services/emissions/apportioned/monthly/nationally operations: - name: monthlyApportionedEmissionsControllerstreamEmissionsNationalAggregation method: GET description: monthlyApportionedEmissionsControllerstreamEmissionsNationalAggregation 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: year in: query type: array required: true description: The calendar year during which activity occurred. - name: month in: query type: array required: true description: Month on which activity occurred. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: cam-streaming-apportioned-monthly-emissions-rest port: 8080 description: REST adapter for Streaming Services OpenAPI Specification — Apportioned Monthly Emissions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/streaming-services/emissions/apportioned/monthly name: streaming-services-emissions-apportioned-monthly description: REST surface for monthlyApportionedEmissionsControllerstreamEmissions. operations: - method: GET name: monthlyApportionedEmissionsControllerstreamEmissions description: monthlyApportionedEmissionsControllerstreamEmissions call: cam-streaming-apportioned-monthly-emissions.monthlyApportionedEmissionsControllerstreamEmissions with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year month: rest.month exclude: rest.exclude outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/monthly/by-facility name: streaming-services-emissions-apportioned-monthly-by-facility description: REST surface for monthlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation. operations: - method: GET name: monthlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation description: monthlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation call: cam-streaming-apportioned-monthly-emissions.monthlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year month: rest.month outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/monthly/by-state name: streaming-services-emissions-apportioned-monthly-by-state description: REST surface for monthlyApportionedEmissionsControllerstreamEmissionsStateAggregation. operations: - method: GET name: monthlyApportionedEmissionsControllerstreamEmissionsStateAggregation description: monthlyApportionedEmissionsControllerstreamEmissionsStateAggregation call: cam-streaming-apportioned-monthly-emissions.monthlyApportionedEmissionsControllerstreamEmissionsStateAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year month: rest.month outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/monthly/nationally name: streaming-services-emissions-apportioned-monthly-nationally description: REST surface for monthlyApportionedEmissionsControllerstreamEmissionsNationalAggregation. operations: - method: GET name: monthlyApportionedEmissionsControllerstreamEmissionsNationalAggregation description: monthlyApportionedEmissionsControllerstreamEmissionsNationalAggregation call: cam-streaming-apportioned-monthly-emissions.monthlyApportionedEmissionsControllerstreamEmissionsNationalAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year month: rest.month outputParameters: - type: object mapping: $. - type: mcp namespace: cam-streaming-apportioned-monthly-emissions-mcp port: 9090 transport: http description: MCP adapter for Streaming Services OpenAPI Specification — Apportioned Monthly Emissions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: monthlyapportionedemissionscontroller-streamemissions description: monthlyapportionedemissionscontroller-streamemissions hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-monthly-emissions.monthlyApportionedEmissionsControllerstreamEmissions with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year month: tools.month exclude: tools.exclude outputParameters: - type: object mapping: $. - name: monthlyapportionedemissionscontroller-streamemissionsfacilityaggregation description: monthlyapportionedemissionscontroller-streamemissionsfacilityaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-monthly-emissions.monthlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year month: tools.month outputParameters: - type: object mapping: $. - name: monthlyapportionedemissionscontroller-streamemissionsstateaggregation description: monthlyapportionedemissionscontroller-streamemissionsstateaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-monthly-emissions.monthlyApportionedEmissionsControllerstreamEmissionsStateAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year month: tools.month outputParameters: - type: object mapping: $. - name: monthlyapportionedemissionscontroller-streamemissionsnationalaggregation description: monthlyapportionedemissionscontroller-streamemissionsnationalaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-monthly-emissions.monthlyApportionedEmissionsControllerstreamEmissionsNationalAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year month: tools.month outputParameters: - type: object mapping: $.