cURL
curl --request GET \ --url https://ai.data.cloud/api/v1/team/datasets/{datasetId}/datasources/{datasourceId} \ --header 'x-pd-api-key: <api-key>'
{ "code": 0, "data": { "id": "datasource-cadsgfsdagasgadsg", "datasetId": "dataset-dagasdgasgasg", "name": "test.csv", "fileName": "test.csv", "type": "FILE", "status": "pending" } }
Obtains information about the specified data source.
The external trace ID. The length ranges from 0 to 128 characters.
The ID of the dataset that contains the data source.
The data source ID.
The response is of type object.
object