Sources

Retrieve the list of Sources, including information on fetching times, files fetched, and any issues with fetching or parsing the data.

GET

/v1/api/:orgId/sources

Attribute
Definition

orgId UUID

Organization ID, can be found on the Developers page.

Response Body

[{
  "id": ""
  "datasets": [{
    "id": "",
    "name": "",
    "revision": 0,
    "status": "",
    "createdAt": 0,
    "lastUpdatedBy": "",
    "lastUpdatedAt": 0,
    "lastReceived": 0,
    "latestTimestamp": 0,
    "failures": [{
      "type": "",
      "count": 0
    }],
    "lastFile": {
      "name": "",
      "fetchTime": 0
    }
  }]
}]
Attribute
Definition

id UUID

The Source ID

datasets Dataset[]

A collection of Dataset objects

Dataset

Attribute
Definition

id UUID

The dataset ID

name string

The dataset name

revision integer

An incremental integer representing the current dataset revision.

status string

One of the following values: pending, active, or deactivated.

createdAt integer

Epoch timestamp in milliseconds for creation of the dataset.

lastUpdatedBy string

Epoch timestamp in milliseconds for creation of the dataset.

lastUpdatedAt integer

Epoch timestamp in milliseconds for updates to the dataset (e.g. schema changes, rename, etc.).

lastReceived integer

Epoch timestamp in milliseconds for last time the dataset was updated with new data.

latestTimestamp integer

Epoch timestamp in milliseconds for the latest transaction on the dataset (i.e. "as-of" indication).

failures Failure[]

A collection of descriptions of failures in fetching and parsing data for the dataset.

lastFile FetchedFile[]

Details of the last file received into the dataset.

Last updated