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
NameDescription
FormatBearer <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
NameDescriptionTypeAttributes and examples
flatA dataset is flat when it only contains simple types (not nested)string Optional
tqlQueryFilter on dataset’s list by using TQL (Talend Query Language)string Optional
favoriteFilter on dataset’s favorite statusstring Optional
sameSchemaAsFilter on datasets which have the same schema as the targeted datasetstring Optional
sortOrderOrder for the sort: ascending or descending, should be paired with the sortBy parameterstring Optional
sortBySort on datasets' list with a field name, should be paired with the sortOrder parameterstring Optional
cloudrunnerFilter on dataset’s connection remote engine typestring Optional

Response

200Status 200
successful operation
Body
details
NameDescriptionTypeAttributes and examples
array of DatasetResponse
Datatype details
TypeDescriptionAttributes 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
NameDescriptionTypeAttributes and examples
datasetIdstring 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
NameDescriptionTypeAttributes and examples
datasetIdstring 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
NameDescriptionTypeAttributes and examples
datasetIdId of dataset to update the certificationstring 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
NameDescriptionTypeAttributes and examples
datasetIdstring Required
Query parameters
NameDescriptionTypeAttributes and examples
limitinteger Optional
100
INT32
categorystring Optional
offsetThe number of rows to ignore before the beginning of the result setinteger 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
NameDescriptionTypeAttributes and examples
datasetIdThe dataset idstring Required
idThe cad or business idstring 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
NameDescriptionTypeAttributes and examples
datasetIdThe dataset idstring Required
idThe cad or business idstring 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
NameDescriptionTypeAttributes and examples
limitLimit the number of elements returnedinteger Optional
100
INT32
categorystring Optional
custom
includeMetadataAdd metadata to the response, as the creator full nameboolean Optional
true
offsetThe number of rows to ignore before the beginning of the result setinteger 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
NameDescriptionTypeAttributes and examples
definitionIdstring 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
NameDescriptionTypeAttributes and examples
definitionIdstring Required
Query parameters
NameDescriptionTypeAttributes and examples
includeMetadataAdd metadata to the response, such as the creator full nameboolean 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
NameDescriptionTypeAttributes and examples
definitionIdstring 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
NameDescriptionTypeAttributes and examples
datasetIdId of the datasetstring Required

Response

200Status 200
Body
details
NameDescriptionTypeAttributes and examples
array of ColumnDescription
Datatype details
TypeDescriptionAttributes 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
NameDescriptionTypeAttributes and examples
datasetIdId of the datasetstring Required
Body
details
NameDescriptionTypeAttributes and examples
array of ColumnDescription
Datatype details
TypeDescriptionAttributes 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
NameDescriptionTypeAttributes and examples
datasetIdId of the datasetstring Required
pathPath of the field to update the descriptionstring 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
NameDescriptionTypeAttributes and examples
idUUIDstring Optional
labelLabel of the attributestring Required
descriptionDetailed descriptionstring Optional
typeType of the attributestring Required
defaultsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayDefault value for the attribute
string
mandatoryIndicates if this attribute is mandatoryboolean Required
createdAtCreation timestamp of the attributeinteger Optional
INT32
updatedAtLast update timestamp of the attributeinteger Required
INT64
createdByAuthor Required
updatedByAuthor Required

CustomAttributeCreateRequest

Object
NameDescriptionTypeAttributes and examples
labelLabel of the attributestring Required
descriptionDetailed description of the attributestring Optional
mandatoryIndicates if this attribute is mandatoryboolean Required
typeType of the attributestring Required
valuesarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayValues for the attribute
string
defaultsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayDefault values for the attribute
string

CustomAttributeCreateResponse

Object
NameDescriptionTypeAttributes and examples
definitionIdThe id of the created attributestring Required

CustomAttributeUpdateRequest

Object
NameDescriptionTypeAttributes and examples
labelLabel of the attributestring Required
descriptionDescription of the attributestring Optional
mandatoryIndicates if this attribute is mandatoryboolean Required
defaultsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayDefault values for this attribute/ For the attributes of type ‘text’, only the first element of the array is stored.
string
valuesarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayValues of the attribute, this field is only available for attributes of type ‘enum’
string

Author

Object
NameDescriptionTypeAttributes and examples
idUser identifierstring Optional
userNameFull name of the userstring Optional

DatasetResponse

Object
NameDescriptionTypeAttributes and examples
idUUIDstring Optional
labelLabel of the datasetstring Required
certificationCertification statusstring Optional
entitlementsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayIntersection of TMC user entitlements and the user sharing entitlements
string
enabledIndicates if the dataset is enabled or notboolean Optional
versionTechnical version of the datasetinteger Required
INT32
datastoreIdId of the connection used for the datasetstring Optional
datastoreConnectionInfo Optional
propertiesConfiguration of the datasetObjectOptional
ownerId of the user who owns the datasetstring Optional
creatorFull name of the user who created the datasetstring Optional
ratingRatingInfo Optional
draftIndicates if the dataset is a draftboolean Optional
sharingSharingState Optional
favoriteIndicates if the dataset is a favoriteboolean Optional
talendGlobalQualityTalendQuality Optional
trustScoreTrust score of the datasetnumber Optional
DOUBLE
trustScoreAxesarray of TrustScoreAxis Optional
Datatype details
TypeDescriptionAttributes and examples
arrayTrust score details for the dataset
TrustScoreAxis
nestedIndicates if the dataset is hierarchicalboolean Optional
createdCreation timestamp of the datasetnumber Optional
updatedLast update timestamp of the datasetstring Optional
createdByUser who created the datasetObjectOptional
NameDescriptionTypeAttributes and examples
idUUIDstring Optional
updatedByUser who last updated the datasetObjectOptional
NameDescriptionTypeAttributes and examples
idUUIDstring Optional

CustomAttributeValueDatasetResponse

Object
NameDescriptionTypeAttributes and examples
dataarray of AttributeValue Required
Datatype details
TypeDescriptionAttributes and examples
array
AttributeValue
pagingPaging Required

AttributeValue

Object
NameDescriptionTypeAttributes and examples
idUUIDstring Required
labelLabel of the attributestring Required
categoryCategory of the attributestring Optional
valuesarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayCurrent value for the attribute on this dataset
string
isDefaultIndicates if the current value for this dataset matches the default value of the attributeboolean Optional
businessIdBusiness idstring Optional

AttributeValuePutRequest

Object
NameDescriptionTypeAttributes and examples
valuesarray of string Required
Datatype details
TypeDescriptionAttributes and examples
arrayAttribute’s values to set on the dataset
string

CertificationRequest

Object
NameDescriptionTypeAttributes and examples
currentCertificationCertification value to set on the datasetstring Required

TalendQuality

Object
NameDescriptionTypeAttributes and examples
-1Number of invalid values in the dataset sampleinteger Required
INT32
0Number of empty values in the dataset sampleinteger Required
INT32
1Number of valid values in the dataset sampleinteger Required
INT32
totalTotal number of values in the dataset sampleinteger Required
INT32

ConnectionInfo

Object
NameDescriptionTypeAttributes and examples
idID of the connection used for this datasetstring Optional
labelLabel of the connectionstring Optional
typeId of the connection typestring Optional
typeLabelLabel of the connection typestring Optional
cloudAgentIdID of the engine used by this connectionstring Optional
iconIcon identifier of this connectionstring Optional

Paging

Object
NameDescriptionTypeAttributes and examples
limitLimit the number of elements returnedinteger Required
INT32
offsetThe number of rows to ignore before the beginning of the result setinteger Required
INT32
totalThe total number of elementsinteger Required
INT32

RatingInfo

Object
NameDescriptionTypeAttributes and examples
contributorsNumber of users who contributed to this ratinginteger Optional
INT32
globalValue of the ratingnumber Optional
DOUBLE

CommandSuccess

Object
NameDescriptionTypeAttributes and examples
idCommand idstring Optional
requestIdRequest idstring Optional

SharingState

Object
NameDescriptionTypeAttributes and examples
isOwnerIndicates if the current user is the owner of the datasetboolean Required
isSharedWithOthersIndicates if this dataset is shared with other users or groupsboolean Required

TrustScoreAxis

Object
NameDescriptionTypeAttributes and examples
idIdentifier of the axisstring Required
labelLabel of the axisstring Required
descriptionstring Optional
currentValueValue for this axisnumber Optional
maxValueMax value for this axisnumber Optional

ErrorMessageBody

Object
NameDescriptionTypeAttributes and examples
timestampinteger Required
INT64
statusHTTP statusinteger Required
INT32
errorstring Required
exceptionstring Optional
messageThe request is invalidstring Optional
path/datasetsstring Optional

ColumnDescription

Object
NameDescriptionTypeAttributes and examples
pathThe path of the field, as returned in the dataset schemastring Required
descriptionThe description to set for the related pathstring Required

ColumnDescriptionUpdateRequest

Object
NameDescriptionTypeAttributes and examples
descriptionDescription of the fieldstring Required
ColumnDescriptionUpdateRequest
This is the full address of the person
back to top↑