Phygrid Developers
Browse Topics
Data Export / Phygrid Developers

Data Export

You can export a tenant's raw analytics data from the OmboriGrid Platform through the Data Export feature.

There are two options:

  1. Export through the console. Go to your tenant in console.omborigrid.com, and navigate to Menu > Data export.
  2. Export through API

Exporting through API

  • Below is the instruction on you can export a tenant's raw analytics data.

Request authentication

  • In Grid Console, you need to generate an Access Token under the "Developer" tab.
  • Add Authorization: Bearer <token> in the request header, with the generated access token value.

Creating an export job

Endpoint

MethodURL
POSThttps://api.omborigrid.com/api/analytics-export-job

Body

KeyDescription
tenantIdTenant ID
dataDateFromData date from in YYYY-MM-DD format
dataDateToData date to in YYYY-MM-DD format

Response

KeyDescription
status[queued, processing, done]
idJob ID
tenantIdTenant ID
jobExpiryDateDate when the job will be archived.
dataDateFrom

Start date range of the data included in the exported parquet files

dataDateToEnd date range of the data included in the exported parquet files
createdAtDate when the job was created
updatedAtDate when the job was updated
filenameThe target filename of the export job output

Getting an export job status

MethodURL
GEThttps://api.omborigrid.com/api/analytics-export-job/<job-id>

Response

KeyDescription
status[queued, processing, done]
idJob ID
tenantIdTenant ID
jobExpiryDateDate when the job will be archived.
dataDateFrom

Start date range of the data included in the exported parquet files

dataDateToEnd date range of the data included in the exported parquet files
createdAtDate when the job was created
updatedAtDate when the job was updated
filenameThe target filename of the export job output
downloadUrlExport job output's download url
fileSizeExport job output's file size

© 2024 · Phygrid. An Ombori company