Dataset

Manage the datasources referenced in Talend Cloud applications and the configuration and metadata associated to these datasources (attributes, data types, data quality).
Contact
Talend

Endpoints

Global security

These security schemes apply to the entire API

Security scheme

This scheme can be referenced across the API

Public

This Bearer authentication can be set in the Authorization header of your requests.

Authentication tokens and Personal Access Tokens are supported.

Personal Access Tokens can be generated in the Profile Preferences page of the Talend Cloud Portal.

Bearer authentication
Name Description
Format Bearer <token>

Get the list of datasets

GET /datasets
A dataset is a collection of data retrieved from a connection. Use this method to list all the datasets that have been created for a given user account.

Request

Query parameters
Name Description Type Attributes and examples
flat A dataset is flat when it only contains simple types (not nested) string Optional
tqlQuery Filter on dataset’s list by using TQL (Talend Query Language) string Optional
favorite Filter on dataset’s favorite status string Optional
sameSchemaAs Filter on datasets which have the same schema as the targeted dataset string Optional
sortOrder Order for the sort: ascending or descending, should be paired with the sortBy parameter string Optional
sortBy Sort on datasets' list with a field name, should be paired with the sortOrder parameter string Optional
cloudrunner Filter on dataset’s connection remote engine type string Optional

Response

200Status 200
successful operation
Body
details
Name Description Type Attributes and examples
array of DatasetResponse
Datatype details
Type Description Attributes and examples
array
DatasetResponse
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not Authorized
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Get a dataset

GET /datasets/{datasetId}
A dataset is a collection of data retrieved from a connection. Use this method to get information on a dataset based on its id.

Request

Path variables
Name Description Type Attributes and examples
datasetId string Required

Response

200Status 200
successful operation
Body
DatasetResponse
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not Authorized
Body
ErrorMessageBody
404Status 404
Dataset not found
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Delete a dataset

DELETE /datasets/{datasetId}
A dataset is a collection of data retrieved from a connection. Use this method to delete a dataset based on its id.

Request

Path variables
Name Description Type Attributes and examples
datasetId string Required

Response

200Status 200
successful operation
Body
CommandSuccess
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not Authorized
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Set the certification state of a dataset

PUT /datasets/{datasetId}/certification

Use this method to add a certification level to a dataset that has trusted data. There are three certification statuses:

  • no certification
  • certification pending
  • certified

Request

Path variables
Name Description Type Attributes and examples
datasetId Id of dataset to update the certification string Required
Body
CertificationRequest

Response

200Status 200
successful operation
Body
CommandSuccess
400Status 400
Invalid payload
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not Authorized
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

List custom attributes values for a dataset

GET /datasets/{datasetId}/attributes
A predefined list of values or free text can be used to add metadata to a dataset based on the configured attribute definition. Use this method to list all the custom attributes values that have been applied on a given dataset based on its id.

Request

Path variables
Name Description Type Attributes and examples
datasetId string Required
Query parameters
Name Description Type Attributes and examples
limit integer Optional
100
INT32
category string Optional
offset The number of rows to ignore before the beginning of the result set integer Optional
INT32

Response

200Status 200
successful operation
Body
CustomAttributeValueDatasetResponse
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Set or update a custom attribute value for a dataset

PUT /datasets/{datasetId}/attributes/{id}

Use this method to set or update a custom attribute value applied on a given dataset.

  • In the case of a List of values definition, you can select another value among the list of authorized ones.
  • In the case of a Text definition, you can simply edit the value.

Request

Path variables
Name Description Type Attributes and examples
datasetId The dataset id string Required
id The cad or business id string Required
Body
AttributeValuePutRequest

Response

200Status 200
successful operation
Body
CommandSuccess
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not Authorized
Body
ErrorMessageBody
404Status 404
Custom Attribute or Dataset identifier not found
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Delete a custom attribute value for a dataset

DELETE /datasets/{datasetId}/attributes/{id}
Use this method to remove a custom attribute value applied on a dataset. When configuring a custom attribute definition, a default value can be set. After removing an existing value, the attribute value of the dataset will be reset to the default one, or to an empty value if no default value was configured beforehand.

Request

Path variables
Name Description Type Attributes and examples
datasetId The dataset id string Required
id The cad or business id string Required

Response

204Status 204
successful operation
Body
CommandSuccess
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not Authorized
Body
ErrorMessageBody
404Status 404
Attribute or Dataset identifier not found
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Create a custom attribute definition

POST /datasets/attributes
Custom attributes allow you to create a tagging system for your datasets using free text or predefined values for a given category. Use this method to create a new custom attribute definition. The two types of attributes definitions are List of values and Text.

Request

Body
CustomAttributeCreateRequest

Response

201Status 201
successful operation
Body
CustomAttributeCreateResponse
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

List custom attributes definitions

GET /datasets/attributes
Custom attributes allow you to create a tagging system for your datasets using free text or predefined values for a given category. Use this method to list all the custom attributes definitions created on the account.

Request

Query parameters
Name Description Type Attributes and examples
limit Limit the number of elements returned integer Optional
100
INT32
category string Optional
custom
includeMetadata Add metadata to the response, as the creator full name boolean Optional
true
offset The number of rows to ignore before the beginning of the result set integer Optional
INT32

Response

200Status 200
successful operation
Body
CustomAttributeDefinition
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Update a custom attribute definition

PATCH /datasets/attributes/{definitionId}
Custom attributes allow you to create a tagging system for your datasets using free text or predefined values for a given category. Use this method to update the configuration of a given custom attribute definition based on its id.The PATCH operation allows you to apply specific changes to the attribute configuration without replacing it entirely.

Request

Path variables
Name Description Type Attributes and examples
definitionId string Required
Body
CustomAttributeUpdateRequest

Response

204Status 204
successful operation
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Attribute Definition not found
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Get a custom attribute definition

GET /datasets/attributes/{definitionId}
Custom attributes allow you to create a tagging system for your datasets using free text or predefined values for a given category. Use this method to retrieve the information on a given custom attribute definition based on its id.

Request

Path variables
Name Description Type Attributes and examples
definitionId string Required
Query parameters
Name Description Type Attributes and examples
includeMetadata Add metadata to the response, such as the creator full name boolean Optional
true

Response

200Status 200
successful operation
Body
CustomAttributeDefinition
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Attribute Definition not found
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Delete a custom attribute definition

DELETE /datasets/attributes/{definitionId}
Custom attributes allow you to create a tagging system for your datasets using free text or predefined values for a given category. Use this method to delete a given custom attribute definition based on its id.

Request

Path variables
Name Description Type Attributes and examples
definitionId string Required

Response

204Status 204
successful operation
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Attribute Definition not found
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

List metadata of all fields for a dataset

GET /datasets/{datasetId}/columns

Request

Path variables
Name Description Type Attributes and examples
datasetId Id of the dataset string Required

Response

200Status 200
Body
details
Name Description Type Attributes and examples
array of ColumnDescription
Datatype details
Type Description Attributes and examples
array
ColumnDescription
401Status 401
User not authenticated
Body
ErrorMessageBody
403Status 403
User not authorized
Body
ErrorMessageBody
5XXStatus 5XX
Unexpected error
Body
ErrorMessageBody

Create or update metadata for multiple fields of a dataset

POST /datasets/{datasetId}/columns

Request

Path variables
Name Description Type Attributes and examples
datasetId Id of the dataset string Required
Body
details
Name Description Type Attributes and examples
array of ColumnDescription
Datatype details
Type Description Attributes and examples
array
ColumnDescription

Response

204Status 204
The metadata has been successfully updated
400Status 400
Path and description are mandatory
Body
ErrorMessageBody
401Status 401
User is not authenticated
Body
ErrorMessageBody
403Status 403
User is not authorized
Body
ErrorMessageBody
404Status 404
Dataset was not found
Body
ErrorMessageBody
5XXStatus 5XX
Unexpected error
Body
ErrorMessageBody

Create or update metadata for a specific field of the dataset

PUT /datasets/{datasetId}/columns/{path}

Request

Path variables
Name Description Type Attributes and examples
datasetId Id of the dataset string Required
path Path of the field to update the description string Required
Body
ColumnDescriptionUpdateRequest

Response

204Status 204
The metadata has been successfully updated
400Status 400
Description is mandatory
Body
ErrorMessageBody
401Status 401
User is not authenticated
Body
ErrorMessageBody
403Status 403
User is not authorized
Body
ErrorMessageBody
5XXStatus 5XX
Unexpected error
Body
ErrorMessageBody

CustomAttributeDefinition

Object
Name Description Type Attributes and examples
id UUID string Optional
label Label of the attribute string Required
description Detailed description string Optional
type Type of the attribute string Required
defaults array of string Optional
Datatype details
Type Description Attributes and examples
array Default value for the attribute
string
mandatory Indicates if this attribute is mandatory boolean Required
createdAt Creation timestamp of the attribute integer Optional
INT32
updatedAt Last update timestamp of the attribute integer Required
INT64
createdBy Author Required
updatedBy Author Required

CustomAttributeCreateRequest

Object
Name Description Type Attributes and examples
label Label of the attribute string Required
description Detailed description of the attribute string Optional
mandatory Indicates if this attribute is mandatory boolean Required
type Type of the attribute string Required
values array of string Optional
Datatype details
Type Description Attributes and examples
array Values for the attribute
string
defaults array of string Optional
Datatype details
Type Description Attributes and examples
array Default values for the attribute
string

CustomAttributeCreateResponse

Object
Name Description Type Attributes and examples
definitionId The id of the created attribute string Required

CustomAttributeUpdateRequest

Object
Name Description Type Attributes and examples
label Label of the attribute string Required
description Description of the attribute string Optional
mandatory Indicates if this attribute is mandatory boolean Required
defaults array of string Optional
Datatype details
Type Description Attributes and examples
array Default values for this attribute/ For the attributes of type ‘text’, only the first element of the array is stored.
string
values array of string Optional
Datatype details
Type Description Attributes and examples
array Values of the attribute, this field is only available for attributes of type ‘enum’
string

Author

Object
Name Description Type Attributes and examples
id User identifier string Optional
userName Full name of the user string Optional

DatasetResponse

Object
Name Description Type Attributes and examples
id UUID string Optional
label Label of the dataset string Required
certification Certification status string Optional
entitlements array of string Optional
Datatype details
Type Description Attributes and examples
array Intersection of TMC user entitlements and the user sharing entitlements
string
enabled Indicates if the dataset is enabled or not boolean Optional
version Technical version of the dataset integer Required
INT32
datastoreId Id of the connection used for the dataset string Optional
datastore ConnectionInfo Optional
properties Configuration of the dataset ObjectOptional
owner Id of the user who owns the dataset string Optional
creator Full name of the user who created the dataset string Optional
rating RatingInfo Optional
draft Indicates if the dataset is a draft boolean Optional
sharing SharingState Optional
favorite Indicates if the dataset is a favorite boolean Optional
talendGlobalQuality TalendQuality Optional
trustScore Trust score of the dataset number Optional
DOUBLE
trustScoreAxes array of TrustScoreAxis Optional
Datatype details
Type Description Attributes and examples
array Trust score details for the dataset
TrustScoreAxis
nested Indicates if the dataset is hierarchical boolean Optional
created Creation timestamp of the dataset number Optional
updated Last update timestamp of the dataset string Optional
createdBy User who created the dataset ObjectOptional
Name Description Type Attributes and examples
id UUID string Optional
updatedBy User who last updated the dataset ObjectOptional
Name Description Type Attributes and examples
id UUID string Optional

CustomAttributeValueDatasetResponse

Object
Name Description Type Attributes and examples
data array of AttributeValue Required
Datatype details
Type Description Attributes and examples
array
AttributeValue
paging Paging Required

AttributeValue

Object
Name Description Type Attributes and examples
id UUID string Required
label Label of the attribute string Required
category Category of the attribute string Optional
values array of string Optional
Datatype details
Type Description Attributes and examples
array Current value for the attribute on this dataset
string
isDefault Indicates if the current value for this dataset matches the default value of the attribute boolean Optional
businessId Business id string Optional

AttributeValuePutRequest

Object
Name Description Type Attributes and examples
values array of string Required
Datatype details
Type Description Attributes and examples
array Attribute’s values to set on the dataset
string

CertificationRequest

Object
Name Description Type Attributes and examples
currentCertification Certification value to set on the dataset string Required

TalendQuality

Object
Name Description Type Attributes and examples
-1 Number of invalid values in the dataset sample integer Required
INT32
0 Number of empty values in the dataset sample integer Required
INT32
1 Number of valid values in the dataset sample integer Required
INT32
total Total number of values in the dataset sample integer Required
INT32

ConnectionInfo

Object
Name Description Type Attributes and examples
id ID of the connection used for this dataset string Optional
label Label of the connection string Optional
type Id of the connection type string Optional
typeLabel Label of the connection type string Optional
cloudAgentId ID of the engine used by this connection string Optional
icon Icon identifier of this connection string Optional

Paging

Object
Name Description Type Attributes and examples
limit Limit the number of elements returned integer Required
INT32
offset The number of rows to ignore before the beginning of the result set integer Required
INT32
total The total number of elements integer Required
INT32

RatingInfo

Object
Name Description Type Attributes and examples
contributors Number of users who contributed to this rating integer Optional
INT32
global Value of the rating number Optional
DOUBLE

CommandSuccess

Object
Name Description Type Attributes and examples
id Command id string Optional
requestId Request id string Optional

SharingState

Object
Name Description Type Attributes and examples
isOwner Indicates if the current user is the owner of the dataset boolean Required
isSharedWithOthers Indicates if this dataset is shared with other users or groups boolean Required

TrustScoreAxis

Object
Name Description Type Attributes and examples
id Identifier of the axis string Required
label Label of the axis string Required
description string Optional
currentValue Value for this axis number Optional
maxValue Max value for this axis number Optional

ErrorMessageBody

Object
Name Description Type Attributes and examples
timestamp integer Required
INT64
status HTTP status integer Required
INT32
error string Required
exception string Optional
message The request is invalid string Optional
path /datasets string Optional

ColumnDescription

Object
Name Description Type Attributes and examples
path The path of the field, as returned in the dataset schema string Required
description The description to set for the related path string Required

ColumnDescriptionUpdateRequest

Object
Name Description Type Attributes and examples
description Description of the field string Required
ColumnDescriptionUpdateRequest
This is the full address of the person
back to top