Skip to content
TriedDocs
Account

Get export

Read the status of one CSV export job.

GEThttps://api.tried.com.au/exports/{id}

Returns one export job. Poll it after Create export until status is complete or error.

Request#

Path parameter Type Description
id string The export_id, for example export_5d2a8f1c4e7b0d3a6f9c2e5b.

Example request#

curl https://api.tried.com.au/exports/export_5d2a8f1c4e7b0d3a6f9c2e5b \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch(
  "https://api.tried.com.au/exports/export_5d2a8f1c4e7b0d3a6f9c2e5b",
  { headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` } },
);
const job = await res.json();
import os, requests

res = requests.get(
    "https://api.tried.com.au/exports/export_5d2a8f1c4e7b0d3a6f9c2e5b",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
job = res.json()

Response#

200 OK

{
  "export_id": "export_5d2a8f1c4e7b0d3a6f9c2e5b",
  "kind": "calls",
  "status": "complete",
  "row_count": 1284,
  "filters": { "from": 1759276800000, "to": 1761955199000, "agent_ids": [] },
  "error": null,
  "created_timestamp": 1760918400000,
  "completed_timestamp": 1760918403120,
  "download_url": "/exports/export_5d2a8f1c4e7b0d3a6f9c2e5b/download"
}

The fields are described on Create export.

Errors#

Status When
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the admin scope.
404 Export not found in this workspace.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.