naftiko: 1.0.0-alpha2 info: label: Streaming Services OpenAPI Specification — Apportioned Quarterly Emissions description: 'Apportioned Quarterly Emissions. 5 operations. Lead operation: operations. Self-contained Naftiko capability covering one EPA business surface.' tags: - EPA - Apportioned Quarterly 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-quarterly-emissions baseUri: https://api.epa.gov/easey description: Streaming Services OpenAPI Specification — Apportioned Quarterly 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-quarterly path: /streaming-services/emissions/apportioned/quarterly operations: - name: quarterlyApportionedEmissionsControllerstreamEmissions method: GET description: quarterlyApportionedEmissionsControllerstreamEmissions 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: quarter in: query type: array required: true description: Calendar quarter in 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-quarterly-last-updated path: /streaming-services/emissions/apportioned/quarterly/last-updated operations: - name: quarterlyApportionedEmissionsControllerstreamLastUpdatedEmissions method: GET description: quarterlyApportionedEmissionsControllerstreamLastUpdatedEmissions 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: false description: The calendar year during which activity occurred. - name: quarter in: query type: array required: false description: Calendar quarter in which activity occurred. - name: exclude in: query type: array required: false description: Selected items will be excluded from the response - name: timestamp in: query type: string required: true description: Timestamp for filtering record which add date is after this given timestamp. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-quarterly-by-facility path: /streaming-services/emissions/apportioned/quarterly/by-facility operations: - name: quarterlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation method: GET description: quarterlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation 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: quarter in: query type: array required: true description: Calendar quarter in which activity occurred. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-quarterly-by-state path: /streaming-services/emissions/apportioned/quarterly/by-state operations: - name: quarterlyApportionedEmissionsControllerstreamEmissionsStateAggregation method: GET description: quarterlyApportionedEmissionsControllerstreamEmissionsStateAggregation 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: quarter in: query type: array required: true description: Calendar quarter in which activity occurred. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-quarterly-nationally path: /streaming-services/emissions/apportioned/quarterly/nationally operations: - name: quarterlyApportionedEmissionsControllerstreamEmissionsNationalAggregation method: GET description: quarterlyApportionedEmissionsControllerstreamEmissionsNationalAggregation 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: quarter in: query type: array required: true description: Calendar quarter in which activity occurred. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: cam-streaming-apportioned-quarterly-emissions-rest port: 8080 description: REST adapter for Streaming Services OpenAPI Specification — Apportioned Quarterly Emissions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/streaming-services/emissions/apportioned/quarterly name: streaming-services-emissions-apportioned-quarterly description: REST surface for quarterlyApportionedEmissionsControllerstreamEmissions. operations: - method: GET name: quarterlyApportionedEmissionsControllerstreamEmissions description: quarterlyApportionedEmissionsControllerstreamEmissions call: cam-streaming-apportioned-quarterly-emissions.quarterlyApportionedEmissionsControllerstreamEmissions with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year quarter: rest.quarter exclude: rest.exclude outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/quarterly/last-updated name: streaming-services-emissions-apportioned-quarterly-last-updated description: REST surface for quarterlyApportionedEmissionsControllerstreamLastUpdatedEmissions. operations: - method: GET name: quarterlyApportionedEmissionsControllerstreamLastUpdatedEmissions description: quarterlyApportionedEmissionsControllerstreamLastUpdatedEmissions call: cam-streaming-apportioned-quarterly-emissions.quarterlyApportionedEmissionsControllerstreamLastUpdatedEmissions with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year quarter: rest.quarter exclude: rest.exclude timestamp: rest.timestamp outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/quarterly/by-facility name: streaming-services-emissions-apportioned-quarterly-by-facility description: REST surface for quarterlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation. operations: - method: GET name: quarterlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation description: quarterlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation call: cam-streaming-apportioned-quarterly-emissions.quarterlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year quarter: rest.quarter outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/quarterly/by-state name: streaming-services-emissions-apportioned-quarterly-by-state description: REST surface for quarterlyApportionedEmissionsControllerstreamEmissionsStateAggregation. operations: - method: GET name: quarterlyApportionedEmissionsControllerstreamEmissionsStateAggregation description: quarterlyApportionedEmissionsControllerstreamEmissionsStateAggregation call: cam-streaming-apportioned-quarterly-emissions.quarterlyApportionedEmissionsControllerstreamEmissionsStateAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year quarter: rest.quarter outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/quarterly/nationally name: streaming-services-emissions-apportioned-quarterly-nationally description: REST surface for quarterlyApportionedEmissionsControllerstreamEmissionsNationalAggregation. operations: - method: GET name: quarterlyApportionedEmissionsControllerstreamEmissionsNationalAggregation description: quarterlyApportionedEmissionsControllerstreamEmissionsNationalAggregation call: cam-streaming-apportioned-quarterly-emissions.quarterlyApportionedEmissionsControllerstreamEmissionsNationalAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year quarter: rest.quarter outputParameters: - type: object mapping: $. - type: mcp namespace: cam-streaming-apportioned-quarterly-emissions-mcp port: 9090 transport: http description: MCP adapter for Streaming Services OpenAPI Specification — Apportioned Quarterly Emissions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: quarterlyapportionedemissionscontroller-streamemissions description: quarterlyapportionedemissionscontroller-streamemissions hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-quarterly-emissions.quarterlyApportionedEmissionsControllerstreamEmissions with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year quarter: tools.quarter exclude: tools.exclude outputParameters: - type: object mapping: $. - name: quarterlyapportionedemissionscontroller-streamlastupdatedemissions description: quarterlyapportionedemissionscontroller-streamlastupdatedemissions hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-quarterly-emissions.quarterlyApportionedEmissionsControllerstreamLastUpdatedEmissions with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year quarter: tools.quarter exclude: tools.exclude timestamp: tools.timestamp outputParameters: - type: object mapping: $. - name: quarterlyapportionedemissionscontroller-streamemissionsfacilityaggregation description: quarterlyapportionedemissionscontroller-streamemissionsfacilityaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-quarterly-emissions.quarterlyApportionedEmissionsControllerstreamEmissionsFacilityAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year quarter: tools.quarter outputParameters: - type: object mapping: $. - name: quarterlyapportionedemissionscontroller-streamemissionsstateaggregation description: quarterlyapportionedemissionscontroller-streamemissionsstateaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-quarterly-emissions.quarterlyApportionedEmissionsControllerstreamEmissionsStateAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year quarter: tools.quarter outputParameters: - type: object mapping: $. - name: quarterlyapportionedemissionscontroller-streamemissionsnationalaggregation description: quarterlyapportionedemissionscontroller-streamemissionsnationalaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-quarterly-emissions.quarterlyApportionedEmissionsControllerstreamEmissionsNationalAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year quarter: tools.quarter outputParameters: - type: object mapping: $.