Create EVP Stream
POST
/api/ceramic/create-evp-stream
This endpoint handles the creation of an EVP stream on the Ceramic network using provided document data. It accepts a POST request with a document ID and session data, fetches the corresponding document from the database, transforms it, sends it to Ceramic, and saves the resulting stream data back to the database. It ensures proper authentication and session handling via DID sessions.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
document_id
string
Document ID from the PostgreSQL table
session
string
DID session string for authentication
Response
Successfully created a new EVP stream in Ceramic, fetched the stream data, and saved the result in the database.
{
"success": true,
"message": "Document data fetched, transformed, sent to Ceramic, & Ceramic result saved in DB successfully!",
"documentData": {
"id": "7a3650a0-0d1a-43fe-b00f-1ee53b000667",
"user_id": "b5bd5e25-7d18-4138-83ee-353b72fb9343",
"organization_id": null,
"data": {
"id": null,
"type": 1,
"greenscore_id": "04016c26-45fc-4106-8002-466b240c291a",
"audit_document": {
"type": 1,
"created_at": "2022-08-09T08:31:00.000Z",
"evp_report": {
"type": 1,
"user_id": null,
"miner_ids": [
"f01695888"
],
"created_at": "2022-08-09T08:31:00.000Z",
"updated_at": "2022-09-08T08:31:00.000Z",
"audit_review": {
"greenscore_id": "04016c26-45fc-4106-8002-466b240c291a",
"report_option": 1,
"review_status": 3,
"is_historic_data": true,
"provider_evp_status": 3,
"auditor_evp_submission_date": "2024-08-29T23:33:51.593Z"
},
"audit_status": 3,
"entity_company": "Zeta Cube",
"report_end_date": "2022-09-08T08:31:00.000Z",
"energy_production": {
"status": 8,
"created_at": "2024-08-29T23:48:49.439Z",
"updated_at": "2024-08-29T23:48:49.439Z",
"purchase_files": [],
"inspection_date": "N/A",
"solar_watt_peak": 469,
"inspection_files": [],
"is_historic_data": true,
"installation_date": "N/A",
"solar_panel_brand": "N/A",
"method_of_mesurement": "",
"number_of_solar_panels": 0,
"renewable_energy_usage": true,
"frequency_of_mesurement": "N/A",
"solar_panel_modal_number": "N/A",
"total_electricity_controlled": 0,
"renewable_electricity_purchased": 9269,
"network_renewable_energy_purchases": 128526000,
"renewable_electricity_purchased_docs": "N/A",
"renewable_electricity_purchased_source": "Zero Labs"
},
"report_start_date": "2022-08-09T08:31:00.000Z",
"water_consumption": {
"status": 8,
"end_date": "2022-09-08T08:31:00.000Z",
"reference": "N/A",
"created_at": "2022-08-09T08:31:00.000Z",
"start_date": "2022-08-09T08:31:00.000Z",
"updated_at": "2022-09-08T08:31:00.000Z",
"water_usage": false,
"water_company": "N/A",
"water_consumed": 0,
"is_historic_data": true,
"water_bill_files": []
},
"location_information": {
"status": 8,
"created_at": "2024-08-29T23:33:51.593Z",
"updated_at": "2024-08-29T23:33:51.593Z",
"provider_city": "Gwangju",
"entity_company": null,
"provider_state": null,
"is_historic_data": true,
"provider_country": "KR",
"provider_zipcode": null,
"address_confirmed": true,
"provider_location": "N/A"
},
"provider_network_type": 1,
"hardware_configuration": {
"status": 8,
"hardware": {
"description": "N/A",
"hardware_type": "N/A",
"supporting_file": [],
"hardware_details": "N/A"
},
"created_at": "2024-08-29T23:33:51.593Z",
"updated_at": "2024-08-29T23:33:51.593Z",
"is_historic_data": true
},
"electricity_consumption": {
"status": 8,
"end_date": "2022-09-08T08:31:00.000Z",
"reference": "N/A",
"start_date": "2022-08-09T08:31:00.000Z",
"is_historic_data": true,
"electricity_company": "N/A",
"electricity_bill_files": [],
"estimation_methodology": null,
"annual_electricity_usage": 257732990,
"actual_electricity_consumed": 9269,
"actual_electricity_returned": null,
"actual_electricity_delivered": 9269,
"electricity_not_powering_infrastructure": 8800,
"total_electricity_used_for_node_operations": null
},
"renewable_energy_procurement": {
"status": 8,
"end_date": "2022-09-08T08:31:00.000Z",
"created_at": "2024-08-29T23:48:49.439Z",
"start_date": "2022-08-09T08:31:00.000Z",
"updated_at": "2024-08-29T23:48:49.439Z",
"energy_usage": true,
"document_files": [],
"is_historic_data": true,
"supporting_files": [],
"renewable_energy_type": "",
"actual_electricity_returned": 0,
"actual_electricity_delivered": 0,
"network_renewable_energy_purchases": 128526000
},
"preliminary_results_rec_matching": {
"status": 8,
"end_date": "2022-09-08T08:31:00.000Z",
"created_at": "2024-08-29T23:48:49.439Z",
"start_date": "2022-08-09T08:31:00.000Z",
"updated_at": "2024-08-29T23:48:49.439Z",
"time_period": "N/A",
"supporting_file": null,
"total_emissions": 0,
"emissions_factor": 436,
"is_historic_data": true,
"actual_electricity_consumed": 9269,
"actual_electricity_returned": null,
"actual_electricity_delivered": 9269
}
},
"greenscore": {
"type": 1,
"other": {
"co2_storage_block_cid": "bafyreihqjxtxdbplm5xesnz4n42xix4lw5xge2wt764jg4qk23jkhtlvqq",
"notes_on_data_sources": "SP provided monthly power bills.",
"co2_storage_content_cid": "bafyreihb7xowcf76wjclervtl5hgmuboveigfbfdn64xbkzdozbj3psotu",
"co2_storage_previous_asset_cid": "bafyreihvuqyv7r5havzeheagcldlvkfiof7fpmsqo7fnd4mk3gijz7eqdi",
"information_about_greenscore_mesurement_type": "Electricity and Water data for Green Score"
},
"status": 3,
"miner_ids": [
"f01695888"
],
"document_id": null,
"green_score": 54.5,
"provider_city": "Gwangju",
"entity_company": "Zeta Cube",
"location_score": 0.224,
"emissions_score": 1,
"report_end_date": "2022-09-08T08:31:00.000Z",
"confidence_score": 0.411,
"is_historic_data": true,
"provider_country": "KR",
"provider_location": null,
"report_start_date": "2022-08-09T08:31:00.000Z",
"grid_emissions_factor": null,
"provider_network_type": 1,
"provider_location_code": null,
"confidence_score_details": {
"node_id_confidence": 1,
"hardware_confidence": 0.3,
"location_confidence": 0.65,
"water_use_confidence": null,
"energy_use_confidence": 0.4,
"node_id_confidence_percentage_information": "Auditor verifies no discrepancies (100%)",
"hardware_confidence_percentage_information": "Self Reported by SP (30%)",
"location_information_percentage_information": "Reported on Utility Bill or other third-party document (65%)",
"water_use_confidence_percentage_information": "No data (0%)",
"energy_use_confidence_percentage_information": "Power Bill (40%)"
},
"marginal_emissions_factor": null,
"network_marginal_emissions": {
"network_marginal_emissions": 79459720,
"global_average_grid_emissions_factor": null,
"total_network_electricity_consumption": null,
"total_network_renewable_energy_production": null,
"global_average_grid_emissions_factor_source": "https://ourworldindata.org/grapher/carbon-intensity-electricity?tab=table"
},
"benchmark_emission_intensity": null,
"marginal_emissions_intensity": 15426.78,
"scope2_emissions_calculation": {
"scope2_emissions": null,
"grid_emissions_factor_value": null,
"actual_net_power_consumed_value": null,
"renewable_energy_consumption_value": null,
"average_data_storage_capacity_value": null
},
"emission_intensity_calculation": null,
"normalized_emissions_intensity": null,
"global_average_grid_emissions_factor": 436,
"network_scope2_emissions_calculation": {
"network_scope2_emissions": 56334252,
"estimate_cumulative_energy_use_per_time": null,
"global_average_grid_emissions_factor_value": 436,
"network_average_renewable_energy_purchases_value": null,
"average_raw_byte_capacity_for_reporting_time_value": null
},
"benchmark_marginal_emission_intensity": null,
"normalized_marginal_emission_intensity": null,
"global_average_marginal_emission_factor": 614.98,
"global_average_marginal_emissions_factor_source": "https://unfccc.int/sites/default/files/resource/IFI%20Default%20Grid%20Factors%202021%20v3.1_unfccc.xlsx"
},
"greenscore_id": "04016c26-45fc-4106-8002-466b240c291a"
}
},
"created_at": "2024-08-29T23:49:07.865Z",
"updated_at": "2024-09-17T15:12:17.312Z",
"deleted_at": null
},
"transformedData": {
"evpId": "7a3650a0-0d1a-43fe-b00f-1ee53b000667",
"organizationId": "7a3650a0-0d1a-43fe-b00f-1ee53b000667",
"type": 1,
"createdAt": "2022-08-09T08:31:00.000Z",
"evpReportDB": {
"type": 1,
"userId": "",
"createdAt": "2022-08-09T08:31:00.000Z",
"updatedAt": "2022-09-08T08:31:00.000Z",
"submittedAt": null,
"auditStatus": 3,
"locationInformation": {
"addressConfirmed": true,
"createdAt": "2024-08-29T23:33:51.593Z",
"entityCompany": "",
"providerCity": "Gwangju",
"providerCountry": "KR",
"providerLocation": "N/A",
"providerState": "",
"providerZipcode": "",
"isHistoricData": true,
"updatedAt": "2024-08-29T23:33:51.593Z",
"status": 8
},
"hardwareConfiguration": {
"hardware": {
"hardwareType": "N/A",
"description": "N/A",
"supportingFile": [],
"hardwareDetails": "N/A"
},
"status": 8,
"createdAt": "2024-08-29T23:33:51.593Z",
"updatedAt": "2024-08-29T23:33:51.593Z",
"isHistoricData": true
},
"waterConsumption": {
"isHistoricData": true,
"createdAt": "2022-08-09T08:31:00.000Z",
"updatedAt": "2022-09-08T08:31:00.000Z",
"startDate": "2022-08-09T08:31:00.000Z",
"endDate": "2022-09-08T08:31:00.000Z",
"reference": "N/A",
"waterUsage": false,
"waterConsumed": 0,
"waterCompany": "N/A",
"waterBillFiles": [],
"status": 8
},
"electricityConsumption": {
"actualElectricityConsumed": "9269",
"actualElectricityDelivered": "9269",
"actualElectricityReturned": "0",
"annualElectricityUsage": "257732990",
"electricityBillFiles": [],
"electricityCompany": "N/A",
"electricityNotPoweringInfrastructure": "8800",
"endDate": "2022-09-08T08:31:00.000Z",
"estimationMethodology": "",
"isHistoricData": true,
"reference": "N/A",
"startDate": "2022-08-09T08:31:00.000Z",
"status": 8,
"totalElectricityUsedForNodeOperations": 0
},
"energyProduction": {
"createdAt": "2024-08-29T23:48:49.439Z",
"frequencyOfMeasurement": "",
"electricityPurchased": 0,
"isHistoricData": true,
"inspectionDate": "N/A",
"inspectionFiles": [],
"installationDate": "N/A",
"methodOfMeasurement": "",
"numberOfSolarPanels": 0,
"purchaseFiles": [],
"renewableEnergyUsage": true,
"solarPanelBrand": "N/A",
"solarPanelModalNumber": "N/A",
"solarWattPeak": "469",
"status": 8,
"totalElectricityControlled": 0,
"updatedAt": "2024-08-29T23:48:49.439Z",
"renewableElectricityPurchased": 9269,
"renewableElectricityPurchasedDocs": "N/A",
"renewableElectricityPurchasedSource": "Zero Labs",
"networkRenewableEnergyPurchases": 128526000
},
"renewableEnergyProcurement": {
"actualElectricityDelivered": "",
"actualElectricityReturned": "",
"documentFiles": [],
"endDate": "",
"energyUsage": false,
"renewableEnergyPurchasedFrom": "",
"renewableEnergyType": "",
"startDate": "",
"supportingFiles": [],
"createdAt": "",
"updatedAt": "",
"electricityPurchased": 0,
"renewableElectricityPurchasedSource": "",
"renewableElectricityPurchasedDocs": "",
"networkRenewableEnergyPurchases": 0,
"isHistoricData": false,
"status": 1
},
"preliminaryResultsRecMatching": {
"startDate": "2022-08-09T08:31:00.000Z",
"endDate": "2022-09-08T08:31:00.000Z",
"isHistoricData": false,
"actualElectricityConsumed": "9269",
"actualElectricityDelivered": "9269",
"actualElectricityReturned": "",
"emissionsFactor": 436,
"totalEmissions": 0,
"supportingFile": null,
"timePeriod": "N/A",
"status": 8
},
"auditReview": {
"reviewStatus": 7,
"providerEvpStatus": 7,
"auditorEvpSubmissionDate": "2024-08-29T23:33:51.593Z",
"providerEvpSubmissionDate": "",
"reportOption": 1
},
"greenscoreId": "",
"reportStartDate": "2022-08-09T08:31:00.000Z",
"reportEndDate": "2022-09-08T08:31:00.000Z",
"providerNetworkType": 1,
"minerIds": [
"f01695888"
],
"entityCompany": "Zeta Cube"
},
"greenscoreDB": {
"isHistoricData": true,
"benchmarkEmissionIntensity": 0,
"benchmarkMarginalEmissionIntensity": 0,
"confidenceScore": 0.411,
"confidenceScoreDetails": {
"locationConfidence": 0.65,
"nodeIdConfidence": 1,
"hardwareConfidence": 0.3,
"waterUseConfidence": 0,
"energyUseConfidence": 0.4,
"locationInformationPercentageInformation": "Reported on Utility Bill or other third-party document (65%)",
"nodeIdConfidencePercentageInformation": "Auditor verifies no discrepancies (100%)",
"hardwareConfidencePercentageInformation": "Self Reported by SP (30%)",
"waterUseConfidencePercentageInformation": "No data (0%)",
"energyUseConfidencePercentageInformation": "Power Bill (40%)"
},
"createdAt": "",
"documentId": "",
"emissionIntensityCalculation": "",
"emissionsScore": 1,
"entityCompany": "Zeta Cube",
"globalAverageGridEmissionsFactor": 436,
"globalAverageGridEmissionsFactorSource": "",
"globalAverageMarginalEmissionFactor": 614.98,
"globalAverageMarginalEmissionFactorSource": "",
"globalMarginalEmissionsFactor": 0,
"greenScore": 54.5,
"gridEmissionsFactor": "",
"locationScore": 0.224,
"marginalEmissionsFactor": 0,
"marginalEmissionsIntensity": 15426.78,
"networkMarginalEmissions": {
"network_marginal_emissions": 79459720,
"global_average_grid_emissions_factor": null,
"total_network_electricity_consumption": null,
"total_network_renewable_energy_production": null,
"global_average_grid_emissions_factor_source": "https://ourworldindata.org/grapher/carbon-intensity-electricity?tab=table"
},
"networkScope2EmissionsCalculation": {
"network_scope2_emissions": 56334252,
"estimate_cumulative_energy_use_per_time": null,
"global_average_grid_emissions_factor_value": 436,
"network_average_renewable_energy_purchases_value": null,
"average_raw_byte_capacity_for_reporting_time_value": null
},
"normalizedEmissionsIntensity": 0,
"normalizedMarginalEmissionIntensity": 0,
"providerCountry": "KR",
"providerCity": "Gwangju",
"providerLocationCode": "",
"providerLocation": "",
"reportEndDate": "2022-09-08T08:31:00.000Z",
"reportStartDate": "2022-08-09T08:31:00.000Z",
"scope2EmissionsCalculation": {
"scope2_emissions": null,
"grid_emissions_factor_value": null,
"actual_net_power_consumed_value": null,
"renewable_energy_consumption_value": null,
"average_data_storage_capacity_value": null
},
"status": 3,
"type": 1,
"updatedAt": "",
"other": {
"co2StorageBlockCid": "bafyreihqjxtxdbplm5xesnz4n42xix4lw5xge2wt764jg4qk23jkhtlvqq",
"co2StorageContentCid": "bafyreihb7xowcf76wjclervtl5hgmuboveigfbfdn64xbkzdozbj3psotu",
"co2StoragePreviousAssetCid": "bafyreihvuqyv7r5havzeheagcldlvkfiof7fpmsqo7fnd4mk3gijz7eqdi",
"notesOnDataSources": "SP provided monthly power bills.",
"informationAboutGreenscoreMeasurementType": ""
}
}
},
"ceramicResult": {
"data": {
"createNovaEVPAttestationsDB": {
"document": {
"id": "kjzl6kcym7w8y6cijsfaeznkegrjqrc2f0rq4uwkynv405fmpk7uyc46l77av04",
"evpId": "b5bd5e25-7d18-4138-83ee-353b72fb9343",
"organizationId": "null",
"type": "1",
"createdAt": "2022-08-09T08:31:00.000Z",
"evpReportDB": {
"type": "1",
"createdAt": "2022-08-09T08:31:00.000Z",
"updatedAt": "2022-09-08T08:31:00.000Z",
"submittedAt": "",
"auditStatus": 3,
"entityCompany": "Zeta Cube",
"providerNetworkType": 1,
"minerIds": [
"f01695888"
],
"reportStartDate": "2022-08-09T08:31:00.000Z",
"reportEndDate": "2022-09-08T08:31:00.000Z",
"locationInformation": {
"addressConfirmed": true,
"createdAt": "2024-08-29T23:33:51.593Z",
"entityCompany": "",
"isHistoricData": true,
"providerCity": "Gwangju",
"providerCountry": "KR",
"providerLocation": "N/A",
"providerState": "",
"providerZipcode": "",
"status": 8,
"updatedAt": "2024-08-29T23:33:51.593Z"
},
"hardwareConfiguration": {
"status": 8,
"hardware": {
"description": "N/A",
"hardwareType": "N/A",
"supportingFile": [],
"hardwareDetails": "N/A"
},
"createdAt": "2024-08-29T23:33:51.593Z",
"updatedAt": "2024-08-29T23:33:51.593Z",
"isHistoricData": true
},
"waterConsumption": {
"status": 8,
"createdAt": "2022-08-09T08:31:00.000Z",
"updatedAt": "2022-09-08T08:31:00.000Z",
"startDate": "2022-08-09T08:31:00.000Z",
"endDate": "2022-09-08T08:31:00.000Z",
"reference": "N/A",
"waterUsage": false,
"waterConsumed": 0,
"waterBillFiles": [],
"waterCompany": "N/A",
"isHistoricData": true
},
"electricityConsumption": {
"actualElectricityConsumed": "9269",
"actualElectricityDelivered": "9269",
"actualElectricityReturned": "0",
"annualElectricityUsage": "257732990",
"electricityBillFiles": [],
"electricityCompany": "N/A",
"electricityNotPoweringInfrastructure": "8800",
"endDate": "2022-09-08T08:31:00.000Z",
"estimationMethodology": "",
"reference": "N/A",
"startDate": "2022-08-09T08:31:00.000Z",
"status": 8,
"totalElectricityUsedForNodeOperations": 0,
"isHistoricData": true
},
"energyProduction": {
"createdAt": "2024-08-29T23:48:49.439Z",
"frequencyOfMeasurement": "",
"isHistoricData": true,
"inspectionDate": "N/A",
"inspectionFiles": [],
"installationDate": "N/A",
"methodOfMeasurement": "",
"numberOfSolarPanels": 0,
"purchaseFiles": [],
"renewableEnergyUsage": true,
"solarPanelBrand": "N/A",
"solarPanelModalNumber": "N/A",
"solarWattPeak": "469",
"status": 8,
"totalElectricityControlled": 0
},
"renewableEnergyProcurement": {
"status": 1,
"endDate": "",
"createdAt": "",
"startDate": "",
"updatedAt": "",
"energyUsage": false,
"documentFiles": [],
"isHistoricData": false,
"supportingFiles": [],
"renewableEnergyType": "",
"actualElectricityDelivered": "",
"actualElectricityReturned": "",
"networkRenewableEnergyPurchases": 0,
"electricityPurchased": 0,
"renewableEnergyPurchasedFrom": "",
"networkRenewableElectricityPurchasedSource": "",
"networkRenewableElectricityPurchasedDocs": ""
},
"preliminaryResultsRecMatching": {
"status": 8,
"endDate": "2022-09-08T08:31:00.000Z",
"createdAt": "",
"startDate": "2022-08-09T08:31:00.000Z",
"updatedAt": "",
"actualElectricityConsumed": "9269",
"actualElectricityDelivered": "9269",
"actualElectricityReturned": "",
"emissionsFactor": 436,
"totalEmissions": 0,
"supportingFile": "",
"timePeriod": "N/A",
"isHistoricData": false
},
"auditReview": {
"providerEvpStatus": 7,
"reviewStatus": 7,
"auditorEvpSubmissionDate": "2024-08-29T23:33:51.593Z",
"providerEvpSubmissionDate": "",
"reportOption": 1
},
"greenscoreID": ""
},
"greenscoreDB": {
"benchmarkEmissionIntensity": 0,
"benchmarkMarginalEmissionIntensity": 0,
"confidenceScore": 0.411,
"confidenceScoreDetails": {
"locationConfidence": 0.65,
"locationInformationPercentageInformation": "Reported on Utility Bill or other third-party document (65%)",
"nodeIdConfidence": 1,
"nodeIDConfidencePercentageInformation": "",
"hardwareConfidence": 0.3,
"hardwareConfidencePercentageInformation": "Self Reported by SP (30%)",
"waterUseConfidence": 0,
"waterUseConfidencePercentageInformation": "No data (0%)",
"energyUseConfidence": 0.4,
"energyUseConfidencePercentageInformation": "Power Bill (40%)"
},
"createdAt": "",
"documentId": "",
"providerNetworkType": "",
"minerIds": [],
"emissionIntensityCalculation": "",
"emissionsScore": 1,
"entityCompany": "Zeta Cube",
"isHistoricData": true,
"globalAverageGridEmissionsFactor": 436,
"globalAverageGridEmissionsFactorSource": "",
"globalAverageMarginalEmissionFactor": 614.98,
"globalAverageMarginalEmissionFactorSource": "",
"globalMarginalEmissionsFactor": 0,
"greenScore": 54.5,
"greenscoreId": "",
"gridEmissionsFactor": "",
"locationScore": 0.224,
"marginalEmissionsFactor": 0,
"marginalEmissionsIntensity": 15426.78,
"networkMarginalEmissions": {
"totalNetworkElectricityConsumption": 0,
"totalNetworkRenewableEnergyProduction": 0,
"globalAverageGridEmissionsFactor": 0,
"globalAverageGridEmissionsFactorSource": "",
"networkMarginalEmissions": 0
},
"networkScope2EmissionsCalculation": {
"estimateCumulativeEnergyUsePerTime": 0,
"averageRawByteCapacityForReportingTime": 0,
"globalAverageGridEmissionsFactor": 0,
"networkAverageRenewableEnergyPurchases": 0,
"networkScope2Emissions": 0
},
"normalizedEmissionsIntensity": 0,
"normalizedMarginalEmissionIntensity": 0,
"providerCountry": "KR",
"providerCity": "Gwangju",
"providerLocationCode": "",
"providerLocation": "",
"reportEndDate": "2022-09-08T08:31:00.000Z",
"reportStartDate": "2022-08-09T08:31:00.000Z",
"scope2EmissionsCalculation": {
"actualNetPowerConsumed": 0,
"gridEmissionsFactor": 0,
"renewableEnergyConsumption": 0,
"averageDataStorageCapacity": 0,
"scope2Emissions": 0
},
"status": 3,
"type": "1",
"updatedAt": "",
"other": {
"co2StorageBlockCid": "bafyreihqjxtxdbplm5xesnz4n42xix4lw5xge2wt764jg4qk23jkhtlvqq",
"co2StorageContentCid": "bafyreihb7xowcf76wjclervtl5hgmuboveigfbfdn64xbkzdozbj3psotu",
"co2StoragePreviousAssetCid": "bafyreihvuqyv7r5havzeheagcldlvkfiof7fpmsqo7fnd4mk3gijz7eqdi",
"notesOnDataSources": "SP provided monthly power bills.",
"informationAboutGreenScoreMeasurementType": ""
}
}
}
}
}
},
"streamDataResult": {
"state": {
"type": 3,
"content": {
"type": "1",
"evpId": "b5bd5e25-7d18-4138-83ee-353b72fb9343",
"createdAt": "2022-08-09T08:31:00.000Z",
"evpReportDB": {
"type": "1",
"minerIds": [
"f01695888"
],
"createdAt": "2022-08-09T08:31:00.000Z",
"updatedAt": "2022-09-08T08:31:00.000Z",
"auditReview": {
"reportOption": 1,
"reviewStatus": 7,
"providerEvpStatus": 7,
"auditorEvpSubmissionDate": "2024-08-29T23:33:51.593Z",
"providerEvpSubmissionDate": ""
},
"auditStatus": 3,
"submittedAt": "",
"greenscoreID": "",
"entityCompany": "Zeta Cube",
"reportEndDate": "2022-09-08T08:31:00.000Z",
"reportStartDate": "2022-08-09T08:31:00.000Z",
"energyProduction": {
"status": 8,
"createdAt": "2024-08-29T23:48:49.439Z",
"purchaseFiles": [],
"solarWattPeak": "469",
"inspectionDate": "N/A",
"isHistoricData": true,
"inspectionFiles": [],
"solarPanelBrand": "N/A",
"installationDate": "N/A",
"methodOfMeasurement": "",
"numberOfSolarPanels": 0,
"renewableEnergyUsage": true,
"solarPanelModalNumber": "N/A",
"frequencyOfMeasurement": "",
"totalElectricityControlled": 0
},
"waterConsumption": {
"status": 8,
"endDate": "2022-09-08T08:31:00.000Z",
"createdAt": "2022-08-09T08:31:00.000Z",
"reference": "N/A",
"startDate": "2022-08-09T08:31:00.000Z",
"updatedAt": "2022-09-08T08:31:00.000Z",
"waterUsage": false,
"waterCompany": "N/A",
"waterConsumed": 0,
"isHistoricData": true,
"waterBillFiles": []
},
"locationInformation": {
"status": 8,
"createdAt": "2024-08-29T23:33:51.593Z",
"updatedAt": "2024-08-29T23:33:51.593Z",
"providerCity": "Gwangju",
"entityCompany": "",
"providerState": "",
"isHistoricData": true,
"providerCountry": "KR",
"providerZipcode": "",
"addressConfirmed": true,
"providerLocation": "N/A"
},
"providerNetworkType": 1,
"hardwareConfiguration": {
"status": 8,
"hardware": {
"description": "N/A",
"hardwareType": "N/A",
"supportingFile": [],
"hardwareDetails": "N/A"
},
"createdAt": "2024-08-29T23:33:51.593Z",
"updatedAt": "2024-08-29T23:33:51.593Z",
"isHistoricData": true
},
"electricityConsumption": {
"status": 8,
"endDate": "2022-09-08T08:31:00.000Z",
"reference": "N/A",
"startDate": "2022-08-09T08:31:00.000Z",
"isHistoricData": true,
"electricityCompany": "N/A",
"electricityBillFiles": [],
"estimationMethodology": "",
"annualElectricityUsage": "257732990",
"actualElectricityConsumed": "9269",
"actualElectricityReturned": "0",
"actualElectricityDelivered": "9269",
"electricityNotPoweringInfrastructure": "8800",
"totalElectricityUsedForNodeOperations": 0
},
"renewableEnergyProcurement": {
"status": 1,
"endDate": "",
"createdAt": "",
"startDate": "",
"updatedAt": "",
"energyUsage": false,
"documentFiles": [],
"isHistoricData": false,
"supportingFiles": [],
"renewableEnergyType": "",
"electricityPurchased": 0,
"actualElectricityReturned": "",
"actualElectricityDelivered": "",
"renewableEnergyPurchasedFrom": "",
"networkRenewableEnergyPurchases": 0,
"networkRenewableElectricityPurchasedDocs": "",
"networkRenewableElectricityPurchasedSource": ""
},
"preliminaryResultsRecMatching": {
"status": 8,
"endDate": "2022-09-08T08:31:00.000Z",
"createdAt": "",
"startDate": "2022-08-09T08:31:00.000Z",
"updatedAt": "",
"timePeriod": "N/A",
"isHistoricData": false,
"supportingFile": "",
"totalEmissions": 0,
"emissionsFactor": 436,
"actualElectricityConsumed": "9269",
"actualElectricityReturned": "",
"actualElectricityDelivered": "9269"
}
},
"greenscoreDB": {
"type": "1",
"other": {
"co2StorageBlockCid": "bafyreihqjxtxdbplm5xesnz4n42xix4lw5xge2wt764jg4qk23jkhtlvqq",
"notesOnDataSources": "SP provided monthly power bills.",
"co2StorageContentCid": "bafyreihb7xowcf76wjclervtl5hgmuboveigfbfdn64xbkzdozbj3psotu",
"co2StoragePreviousAssetCid": "bafyreihvuqyv7r5havzeheagcldlvkfiof7fpmsqo7fnd4mk3gijz7eqdi",
"informationAboutGreenScoreMeasurementType": ""
},
"status": 3,
"minerIds": [],
"createdAt": "",
"updatedAt": "",
"documentId": "",
"greenScore": 54.5,
"greenscoreId": "",
"providerCity": "Gwangju",
"entityCompany": "Zeta Cube",
"locationScore": 0.224,
"reportEndDate": "2022-09-08T08:31:00.000Z",
"emissionsScore": 1,
"isHistoricData": true,
"confidenceScore": 0.411,
"providerCountry": "KR",
"reportStartDate": "2022-08-09T08:31:00.000Z",
"providerLocation": "",
"gridEmissionsFactor": "",
"providerNetworkType": "",
"providerLocationCode": "",
"confidenceScoreDetails": {
"nodeIdConfidence": 1,
"hardwareConfidence": 0.3,
"locationConfidence": 0.65,
"waterUseConfidence": 0,
"energyUseConfidence": 0.4,
"nodeIDConfidencePercentageInformation": "",
"hardwareConfidencePercentageInformation": "Self Reported by SP (30%)",
"waterUseConfidencePercentageInformation": "No data (0%)",
"energyUseConfidencePercentageInformation": "Power Bill (40%)",
"locationInformationPercentageInformation": "Reported on Utility Bill or other third-party document (65%)"
},
"marginalEmissionsFactor": 0,
"networkMarginalEmissions": {
"networkMarginalEmissions": 0,
"globalAverageGridEmissionsFactor": 0,
"totalNetworkElectricityConsumption": 0,
"totalNetworkRenewableEnergyProduction": 0,
"globalAverageGridEmissionsFactorSource": ""
},
"benchmarkEmissionIntensity": 0,
"marginalEmissionsIntensity": 15426.78,
"scope2EmissionsCalculation": {
"scope2Emissions": 0,
"gridEmissionsFactor": 0,
"actualNetPowerConsumed": 0,
"averageDataStorageCapacity": 0,
"renewableEnergyConsumption": 0
},
"emissionIntensityCalculation": "",
"normalizedEmissionsIntensity": 0,
"globalMarginalEmissionsFactor": 0,
"globalAverageGridEmissionsFactor": 436,
"networkScope2EmissionsCalculation": {
"networkScope2Emissions": 0,
"globalAverageGridEmissionsFactor": 0,
"estimateCumulativeEnergyUsePerTime": 0,
"averageRawByteCapacityForReportingTime": 0,
"networkAverageRenewableEnergyPurchases": 0
},
"benchmarkMarginalEmissionIntensity": 0,
"globalAverageMarginalEmissionFactor": 614.98,
"normalizedMarginalEmissionIntensity": 0,
"globalAverageGridEmissionsFactorSource": "",
"globalAverageMarginalEmissionFactorSource": ""
},
"organizationId": "null"
},
"metadata": {
"controllers": [
"did:pkh:eip155:1:0x00e72cbcdf365395f23ced4404c96a58d27ced0f"
],
"model": {
"_type": 2,
"_cid": {
"/": "bagcqcerafpt4lwb5akrxioxsnp52q6yn7wjpcf6tavf5pfx4aum54nbesoha"
}
},
"unique": {
"0": 244,
"1": 244,
"2": 197,
"3": 160,
"4": 219,
"5": 224,
"6": 64,
"7": 46,
"8": 38,
"9": 11,
"10": 43,
"11": 53
}
},
"signature": 2,
"anchorStatus": 1,
"log": [
{
"cid": {
"/": "bagcqcerahlcsapqm7lj7cemhoc2d3z6q3dvk6qljp5fiow2bbghsmkjlnz2a"
},
"type": 0,
"expirationTime": 1727190796
}
]
},
"streamId": "kjzl6kcym7w8y6cijsfaeznkegrjqrc2f0rq4uwkynv405fmpk7uyc46l77av04"
},
"databaseInsertionResult": {
"id": "cb6d7e45-99f7-43af-8f62-9cdbfca9e191",
"ceramic_id": "kjzl6kcym7w8y6cijsfaeznkegrjqrc2f0rq4uwkynv405fmpk7uyc46l77av04",
"user_id": "b5bd5e25-7d18-4138-83ee-353b72fb9343",
"document_id": "7a3650a0-0d1a-43fe-b00f-1ee53b000667",
"greenscore_id": null,
"model_cid": "{\"/\":\"bagcqcerafpt4lwb5akrxioxsnp52q6yn7wjpcf6tavf5pfx4aum54nbesoha\"}",
"root_cid": "{\"/\":\"bagcqcerahlcsapqm7lj7cemhoc2d3z6q3dvk6qljp5fiow2bbghsmkjlnz2a\"}",
"anchor_proof": null,
"meta_data": {
"model": {
"_cid": {
"/": "bagcqcerafpt4lwb5akrxioxsnp52q6yn7wjpcf6tavf5pfx4aum54nbesoha"
},
"_type": 2
},
"unique": {
"0": 244,
"1": 244,
"2": 197,
"3": 160,
"4": 219,
"5": 224,
"6": 64,
"7": 46,
"8": 38,
"9": 11,
"10": 43,
"11": 53
},
"controllers": [
"did:pkh:eip155:1:0x00e72cbcdf365395f23ced4404c96a58d27ced0f"
]
},
"data": {
"type": "1",
"evpId": "b5bd5e25-7d18-4138-83ee-353b72fb9343",
"createdAt": "2022-08-09T08:31:00.000Z",
"evpReportDB": {
"type": "1",
"minerIds": [
"f01695888"
],
"createdAt": "2022-08-09T08:31:00.000Z",
"updatedAt": "2022-09-08T08:31:00.000Z",
"auditReview": {
"reportOption": 1,
"reviewStatus": 7,
"providerEvpStatus": 7,
"auditorEvpSubmissionDate": "2024-08-29T23:33:51.593Z",
"providerEvpSubmissionDate": ""
},
"auditStatus": 3,
"submittedAt": "",
"greenscoreID": "",
"entityCompany": "Zeta Cube",
"reportEndDate": "2022-09-08T08:31:00.000Z",
"reportStartDate": "2022-08-09T08:31:00.000Z",
"energyProduction": {
"status": 8,
"createdAt": "2024-08-29T23:48:49.439Z",
"purchaseFiles": [],
"solarWattPeak": "469",
"inspectionDate": "N/A",
"isHistoricData": true,
"inspectionFiles": [],
"solarPanelBrand": "N/A",
"installationDate": "N/A",
"methodOfMeasurement": "",
"numberOfSolarPanels": 0,
"renewableEnergyUsage": true,
"solarPanelModalNumber": "N/A",
"frequencyOfMeasurement": "",
"totalElectricityControlled": 0
},
"waterConsumption": {
"status": 8,
"endDate": "2022-09-08T08:31:00.000Z",
"createdAt": "2022-08-09T08:31:00.000Z",
"reference": "N/A",
"startDate": "2022-08-09T08:31:00.000Z",
"updatedAt": "2022-09-08T08:31:00.000Z",
"waterUsage": false,
"waterCompany": "N/A",
"waterConsumed": 0,
"isHistoricData": true,
"waterBillFiles": []
},
"locationInformation": {
"status": 8,
"createdAt": "2024-08-29T23:33:51.593Z",
"updatedAt": "2024-08-29T23:33:51.593Z",
"providerCity": "Gwangju",
"entityCompany": "",
"providerState": "",
"isHistoricData": true,
"providerCountry": "KR",
"providerZipcode": "",
"addressConfirmed": true,
"providerLocation": "N/A"
},
"providerNetworkType": 1,
"hardwareConfiguration": {
"status": 8,
"hardware": {
"description": "N/A",
"hardwareType": "N/A",
"supportingFile": [],
"hardwareDetails": "N/A"
},
"createdAt": "2024-08-29T23:33:51.593Z",
"updatedAt": "2024-08-29T23:33:51.593Z",
"isHistoricData": true
},
"electricityConsumption": {
"status": 8,
"endDate": "2022-09-08T08:31:00.000Z",
"reference": "N/A",
"startDate": "2022-08-09T08:31:00.000Z",
"isHistoricData": true,
"electricityCompany": "N/A",
"electricityBillFiles": [],
"estimationMethodology": "",
"annualElectricityUsage": "257732990",
"actualElectricityConsumed": "9269",
"actualElectricityReturned": "0",
"actualElectricityDelivered": "9269",
"electricityNotPoweringInfrastructure": "8800",
"totalElectricityUsedForNodeOperations": 0
},
"renewableEnergyProcurement": {
"status": 1,
"endDate": "",
"createdAt": "",
"startDate": "",
"updatedAt": "",
"energyUsage": false,
"documentFiles": [],
"isHistoricData": false,
"supportingFiles": [],
"renewableEnergyType": "",
"electricityPurchased": 0,
"actualElectricityReturned": "",
"actualElectricityDelivered": "",
"renewableEnergyPurchasedFrom": "",
"networkRenewableEnergyPurchases": 0,
"networkRenewableElectricityPurchasedDocs": "",
"networkRenewableElectricityPurchasedSource": ""
},
"preliminaryResultsRecMatching": {
"status": 8,
"endDate": "2022-09-08T08:31:00.000Z",
"createdAt": "",
"startDate": "2022-08-09T08:31:00.000Z",
"updatedAt": "",
"timePeriod": "N/A",
"isHistoricData": false,
"supportingFile": "",
"totalEmissions": 0,
"emissionsFactor": 436,
"actualElectricityConsumed": "9269",
"actualElectricityReturned": "",
"actualElectricityDelivered": "9269"
}
},
"greenscoreDB": {
"type": "1",
"other": {
"co2StorageBlockCid": "bafyreihqjxtxdbplm5xesnz4n42xix4lw5xge2wt764jg4qk23jkhtlvqq",
"notesOnDataSources": "SP provided monthly power bills.",
"co2StorageContentCid": "bafyreihb7xowcf76wjclervtl5hgmuboveigfbfdn64xbkzdozbj3psotu",
"co2StoragePreviousAssetCid": "bafyreihvuqyv7r5havzeheagcldlvkfiof7fpmsqo7fnd4mk3gijz7eqdi",
"informationAboutGreenScoreMeasurementType": ""
},
"status": 3,
"minerIds": [],
"createdAt": "",
"updatedAt": "",
"documentId": "",
"greenScore": 54.5,
"greenscoreId": "",
"providerCity": "Gwangju",
"entityCompany": "Zeta Cube",
"locationScore": 0.224,
"reportEndDate": "2022-09-08T08:31:00.000Z",
"emissionsScore": 1,
"isHistoricData": true,
"confidenceScore": 0.411,
"providerCountry": "KR",
"reportStartDate": "2022-08-09T08:31:00.000Z",
"providerLocation": "",
"gridEmissionsFactor": "",
"providerNetworkType": "",
"providerLocationCode": "",
"confidenceScoreDetails": {
"nodeIdConfidence": 1,
"hardwareConfidence": 0.3,
"locationConfidence": 0.65,
"waterUseConfidence": 0,
"energyUseConfidence": 0.4,
"nodeIDConfidencePercentageInformation": "",
"hardwareConfidencePercentageInformation": "Self Reported by SP (30%)",
"waterUseConfidencePercentageInformation": "No data (0%)",
"energyUseConfidencePercentageInformation": "Power Bill (40%)",
"locationInformationPercentageInformation": "Reported on Utility Bill or other third-party document (65%)"
},
"marginalEmissionsFactor": 0,
"networkMarginalEmissions": {
"networkMarginalEmissions": 0,
"globalAverageGridEmissionsFactor": 0,
"totalNetworkElectricityConsumption": 0,
"totalNetworkRenewableEnergyProduction": 0,
"globalAverageGridEmissionsFactorSource": ""
},
"benchmarkEmissionIntensity": 0,
"marginalEmissionsIntensity": 15426.78,
"scope2EmissionsCalculation": {
"scope2Emissions": 0,
"gridEmissionsFactor": 0,
"actualNetPowerConsumed": 0,
"averageDataStorageCapacity": 0,
"renewableEnergyConsumption": 0
},
"emissionIntensityCalculation": "",
"normalizedEmissionsIntensity": 0,
"globalMarginalEmissionsFactor": 0,
"globalAverageGridEmissionsFactor": 436,
"networkScope2EmissionsCalculation": {
"networkScope2Emissions": 0,
"globalAverageGridEmissionsFactor": 0,
"estimateCumulativeEnergyUsePerTime": 0,
"averageRawByteCapacityForReportingTime": 0,
"networkAverageRenewableEnergyPurchases": 0
},
"benchmarkMarginalEmissionIntensity": 0,
"globalAverageMarginalEmissionFactor": 614.98,
"normalizedMarginalEmissionIntensity": 0,
"globalAverageGridEmissionsFactorSource": "",
"globalAverageMarginalEmissionFactorSource": ""
},
"organizationId": "null"
},
"created_at": "2024-09-17T16:00:05.747Z",
"updated_at": "2024-09-17T16:00:05.747Z",
"deleted_at": null
}
}
Occurs when required fields, such as document_id
or session
, are missing or invalid in the request body.
{
"success": false,
"message": "Missing document ID"
}
{
"success": false,
"message": "Missing session"
}
Occurs when a request method other than POST is used. The endpoint only accepts POST requests.
{
"success": false,
"message": "Method Not Allowed"
}
Occurs due to unexpected server-side issues, such as failures in processing data or connecting to the Ceramic network.
{
"success": false,
"message": "Internal Server Error",
"details": "Error details here..."
}
Last updated