Skip to main content
GET
/
v1
/
evaluations
/
exports
/
{exportId}
Get evaluation export
curl --request GET \
  --url https://api.craftcx.com/v1/evaluations/exports/{exportId}
import requests

url = "https://api.craftcx.com/v1/evaluations/exports/{exportId}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.craftcx.com/v1/evaluations/exports/{exportId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "created_at": 123,
  "download_url": "<string>",
  "filters": {
    "from": 1,
    "to": 1
  },
  "format": "csv",
  "id": "<string>",
  "updated_at": 123,
  "error_message": "<string>"
}
{
  "status": 401,
  "title": "<string>",
  "detail": "<string>",
  "type": "about:blank"
}
{
  "status": 404,
  "title": "<string>",
  "detail": "<string>",
  "type": "about:blank"
}
{
  "status": 500,
  "title": "<string>",
  "detail": "<string>",
  "type": "about:blank"
}

Path Parameters

exportId
string
required

The export ID

Response

The evaluation export job details

created_at
number
required

Epoch timestamp (milliseconds) for when the export was created

download_url
string<uri> | null
required

Download URL for the completed export

filters
object
required

Filters applied to the export

format
enum<string>
required

The export format

Available options:
csv
id
string
required

The export ID

kind
enum<string>
required

The evaluation export type

Available options:
axis,
resolution_audit
status
enum<string>
required

The status of the export

Available options:
pending,
running,
complete,
failed
updated_at
number
required

Epoch timestamp (milliseconds) for when the export was last updated

error_message
string | null

A human-readable error if the export failed