Web API

Press shift + S to search API reference.

Compliance

Get eDiscovery export

gethttps://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/exports/{enterpriseTaskId}

Get the status and result of an eDiscovery export.

Requirements

AuthenticationPersonal access token, OAuth integration
Scopeenterprise.exports:manage
User role

Enterprise admin

Billing plansEnterprise Scale

Path parameters

enterpriseAccountId
string
enterpriseTaskId
string

Response format

id
string
data
optional<object>

Available once the export completes.

expirationTime
string

The date and time at which the download URLs expire.

jsonDownloadUrl
string

URL to download JSON export.

csvZipDownloadUrl
optional<string>

URL to download CSV export (as a zipped file), if includeCsvFormat was set for this export.

error
optional<string>

If state is error, this will contain an error message.

state
"pending" | "processing" | "error" | "done"
createdTime
string

A date timestamp in the ISO format, eg:"2018-01-01T00:00:00.000Z"

user
object

The user that created the eDiscovery export.

id
string

A user ID

email
string
name
string
request
object
baseId
string

Base ID of the export.

includeCsvFormat
boolean

Whether the export includes a CSV export (as a zipped file).

shouldSendEmailOnCompletion
boolean

Whether an email notification should be sent when the export is complete.

Error responses

Error Response (404)
Invalid task ID
{
"error": {
"type": "NOT_FOUND"
}
}
Request (example)
Copy
$
curl "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/exports/{enterpriseTaskId}" \
-H "Authorization: Bearer YOUR_TOKEN"
200 – Response (example)
{
"createdTime": "2021-01-01T00:00:00.000Z",
"data": {
"csvZipDownloadUrl": "https://example.com/ediscovery_export.zip",
"expirationTime": "2021-01-30T00:00:00.000Z",
"jsonDownloadUrl": "https://example.com/ediscovery_export.json"
},
"id": "etkJkReGfIaW8DZq5",
"request": {
"baseId": "appLkNDICXNqxSDhG",
"includeCsvFormat": true,
"shouldSendEmailOnCompletion": true
},
"state": "done",
"user": {
"email": "foo@bar.com",
"id": "usrL2PNC5o3H4lBEi",
"name": "Barry Allen"
}
}