Retrieve all datasets that use this connection
https://api.faraday.ai/v1/connections/{connection_id}/datasetsGet all datasets that use this connection
Authentication
Provide your API key in the Authorization header. You can find your API key in the Settings page of the dashboard.
Authorization: Bearer YOUR_TOKENpath parameters
The UUID of a connection
"5e0dfa56-2d52-4c06-a870-bc79c71e86a3"Responses
200The list of datasets
400The request was invalid.
A Faraday error code.
Some possible values include:
Generic HTTP Errors
- BAD_REQUEST: The request could not be validated.
- FORBIDDEN: You do not have permission to access the specified resour...
"ERROR_TYPE"BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, VALIDATION_FAILED, CONFLICTA unique ID for this error. Please include this in bug reports.
"082f9513-901c-4308-8081-902a8fe22d7e"validationErrorsarray[object]JSON Schema validation errors, if any.
401No API key was supplied.
A Faraday error code.
Some possible values include:
Generic HTTP Errors
- BAD_REQUEST: The request could not be validated.
- FORBIDDEN: You do not have permission to access the specified resour...
"ERROR_TYPE"BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, VALIDATION_FAILED, CONFLICTA unique ID for this error. Please include this in bug reports.
"082f9513-901c-4308-8081-902a8fe22d7e"validationErrorsarray[object]JSON Schema validation errors, if any.
403Access to this resource was forbidden.
A Faraday error code.
Some possible values include:
Generic HTTP Errors
- BAD_REQUEST: The request could not be validated.
- FORBIDDEN: You do not have permission to access the specified resour...
"ERROR_TYPE"BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, VALIDATION_FAILED, CONFLICTA unique ID for this error. Please include this in bug reports.
"082f9513-901c-4308-8081-902a8fe22d7e"validationErrorsarray[object]JSON Schema validation errors, if any.
404The requested resource ID was not found.
A Faraday error code.
Some possible values include:
Generic HTTP Errors
- BAD_REQUEST: The request could not be validated.
- FORBIDDEN: You do not have permission to access the specified resour...
"ERROR_TYPE"BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, VALIDATION_FAILED, CONFLICTA unique ID for this error. Please include this in bug reports.
"082f9513-901c-4308-8081-902a8fe22d7e"validationErrorsarray[object]JSON Schema validation errors, if any.
500An internal server error occurred.
A Faraday error code.
Some possible values include:
Generic HTTP Errors
- BAD_REQUEST: The request could not be validated.
- FORBIDDEN: You do not have permission to access the specified resour...
"ERROR_TYPE"BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, VALIDATION_FAILED, CONFLICTA unique ID for this error. Please include this in bug reports.
"082f9513-901c-4308-8081-902a8fe22d7e"validationErrorsarray[object]JSON Schema validation errors, if any.
Tags
Test request
Request snippet
curl -X GET 'https://api.faraday.ai/v1/connections/{connection_id}/datasets' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY'Example response
[
{
"archived_at": "2024-01-01T12:00:00Z",
"connection_id": "5e0dfa56-2d52-4c06-a870-bc79c71e86a3",
"created_at": "2024-01-01T12:00:00Z",
"detected_columns": [
{
"data_type": "text",
"is_nullable": false,
"name": "id"
},
{
"data_type": "long",
"is_nullable": true,
"name": "amount"
}
],
"enrichment": {
"key": {
"any": 123,
"person": 123,
"residence": 123
}
},
"id": "8cd2dcf6-f2b3-4318-b8b3-eb19ab18d29d",
"identified_count": 0,
"identity_providers": [
[
{
"provider": "fig"
}
]
],
"identity_sets": {
"key": {
"address_line_1": "shipping_address_address1",
"address_line_2": "shipping_address_address2",
"city": "shipping_address_city",
"email": "email_address",
"email_hash": "email_hash",
"freeform_address": "shipping_address",
"house_number_and_street": [
"shipping_address_address1",
"shipping_address_address2"
],
"person_first_name": "shipping_address_first_name",
"person_full_name": "shipping_address_full_name",
"person_last_name": "shipping_address_last_name",
"phone": "shipping_address_phone",
"postcode": "shipping_address_zip",
"state": "shipping_address_state"
}
},
"incremental_column": "updated_at",
"last_read_input_at": "2024-01-01T12:00:00Z",
"last_updated_config_at": "2024-01-01T12:00:00Z",
"last_updated_output_at": "2024-01-01T12:00:00Z",
"managed": true,
"matched_count": 0,
"merge_datasets": [
{
"dataset_id": "5e0dfa56-2d52-4c06-a870-bc79c71e86a3",
"join_column": "id"
}
],
"name": "string",
"options": {
"table_name": "string (pattern: ^[_a-zA-Z][a-zA-Z0-9_]+$)",
"type": "aws_aurora_mysql"
},
"output_all_columns_as_traits": {
"exclude": [
"id"
],
"include": [
"id"
]
},
"output_to_streams": {
"key": {
"classic": true,
"conditions": [
{
"_eq": "string",
"_gt": 0,
"_gte": 0,
"_in": [
"string"
],
"_lt": 0,
"_lte": 0,
"_matches": "string",
"_neq": "string",
"_nin": [
"string"
],
"_nnull": true,
"_null": true,
"column_name": "string",
"optional": true
}
],
"data_map": {
"datetime": {
"column_name": "skus",
"format": "currency_cents"
}
},
"stream_id": "eefb0735-6ad6-4611-a832-40bab2968353"
}
},
"output_to_streams_array": [
{
"properties": {
"key": {
"column_name": "age_in_years",
"decode": {
"cast": "string",
"map": {
"a": 1,
"b": 2
},
"sql": "SELECT * FROM table"
},
"recode": {
"map": {
"a": 1,
"b": 2
},
"sql": "SELECT * FROM table"
},
"value": "2025-10-01T00:00:00.000Z"
}
},
"stream_id": "eefb0735-6ad6-4611-a832-40bab2968353",
"stream_name": "attribute_assertion_figv2_age"
}
],
"output_to_traits": {
"key": {
"column_name": "skus",
"format": "currency_cents",
"null_values": [
"string"
],
"transformation_table": {
"key": "string"
},
"value": true
}
},
"preview": true,
"privacy": "suppress",
"reference_key_column": "customer_id",
"reference_key_columns": [
"customer_id"
],
"resource_type": "datasets",
"row_count": 10000,
"sample": {},
"status": "pending",
"status_changed_at": "2024-01-01T12:00:00Z",
"status_error": "string",
"updated_at": "2024-01-01T12:00:00Z",
"updates": [
{
"datetime": "2021-10-05T14:48:00.000Z",
"rows_added": 123
},
{
"datetime": "2021-10-06T14:48:00.000Z",
"rows_added": 32
}
],
"upsert_columns": [
"id"
]
}
]