Web API

Press shift + S to search API reference.

Compliance

List eDiscovery exports

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

Get the status and result of all eDiscovery exports.

Requirements

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

Enterprise admin

Billing plansEnterprise Scale

Path parameters

enterpriseAccountId
string

Query parameters

state
optional<"pending" | "processing" | "error" | "done">

Filter for exports with the specified state.

pageSize
optional<number>

The number of records per page. Maximum value of 100; defaults to 10.

offset
optional<number>

If there may be more to retrieve, an offset is returned. Pass the offset to the next call to retrieve the next page. Do not pass offset when retrieving the first page.

Response format

offset
optional<number>

Offset pagination token to pass in to get the next page of results.

exports
array of the below object

eDiscovery exports are returned newest to oldest.

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.

Request (example)
Copy
$
curl "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/exports\
?state=done" \
-H "Authorization: Bearer YOUR_TOKEN"
200 – Response (example)
{
"exports": [
{
"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"
}
}
],
"offset": 10
}