Grids
Export data from Grid sheets as CSV files. Create export jobs and download the resulting files.
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.
API requests are authenticated using Bearer tokens. Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
You can find your API key in your workspace settings.
The Grid id
789The Sheet id
101Job to generate CSV created
Authentication error
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
}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.
API requests are authenticated using Bearer tokens. Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
You can find your API key in your workspace settings.
The Grid ID
789The Sheet ID
101The Job ID
230CSV job status and download link
Authentication error
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?