Grids

Export data from Grid sheets as CSV files. Create export jobs and download the resulting files.

Generate CSV from a sheet

post

Create a CSV export job for a specific sheet. This is an asynchronous operation - use the returned job ID with the download endpoint to check status and retrieve the file.

Authorizations
Path parameters
grid_idstringRequired

The Grid id

Example: 789
sheet_idstringRequired

The Sheet id

Example: 101
Responses
200

Job to generate CSV created

application/json
post
/public_api/grids/{grid_id}/sheets/{sheet_id}/generate_csv
POST /public_api/grids/{grid_id}/sheets/{sheet_id}/generate_csv HTTP/1.1
Host: api.airops.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": 230
}

Download CSV / Check job status

get

Check the status of a CSV generation job and download the CSV file once it's ready. Returns the job status and download URL when complete.

Authorizations
Path parameters
grid_idstringRequired

The Grid ID

Example: 789
sheet_idstringRequired

The Sheet ID

Example: 101
job_idstringRequired

The Job ID

Example: 230
Responses
200

CSV job status and download link

application/json
get
/public_api/grids/{grid_id}/sheets/{sheet_id}/download_csv/{job_id}
GET /public_api/grids/{grid_id}/sheets/{sheet_id}/download_csv/{job_id} HTTP/1.1
Host: api.airops.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "status": "success",
  "download_link": "https://example.com/download/file.csv"
}

Was this helpful?