Dataset Samples
Both Nexla API and Nexla CLI support methods to fetch a sample set of records from any dataset. The returned samples may come from a live sample of the corresponding dataset, or a cached copy, depending on the status of that dataset.
Furthermore, by modifying the payload request you can choose to fetch different types of information about the sampled data.
Fetch Input and Output Samples
Each Nexla dataset processes data by applying transforms to an input set of records to create corresponding output records. You can choose to fetch input and corresponding output samples of a dataset to view how samples got processed by the dataset. The input item is a sample data object matching the source schema or parent data set output schema. The output item is the same sample after the data set's transforms (if any) have been applied.
- Nexla API
- Nexla CLI
- Nexla API
- Nexla CLI
Fetch Input and Output Samples
Call methods below to receive only output samples from the data set, i.e. records to which the data set's transforms have been applied.
- Nexla API
- Nexla CLI
- Nexla API
- Nexla CLI
Fetch Samples with Metadata
Nexla associates metadata with each record that flows through it. You can choose to fetch samples with their associated metadata by setting include_metadata=1
request parameter in Nexla API or --metadata
option in Nexla CLI. In this case, each sample will be prepacked with two attributes: rawMessage
that contains the actual record data, and nexlaMetaData
that contains the corresponding metadata for that record.
- Nexla API
- Nexla CLI
- Nexla API
- Nexla CLI