List Dataset Relationships
const url = 'https://example.com/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/relationships/?skip=0&limit=100';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/relationships/?skip=0&limit=100' \ --header 'Authorization: Bearer <token>'List FK relationships for a dataset.
Paginated via skip and limit to bound response size for datasets
with large numbers of auto-detected relationships. Returns the standard
list envelope (relationships + total) so callers can detect whether
more pages exist (GAP-033); total counts the visible relationships before
pagination.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Number of relationships to skip.
Number of relationships to skip.
Maximum number of relationships to return (PERF-N16).
Maximum number of relationships to return (PERF-N16).
Responses
Section titled “ Responses ”Successful Response
Paginated list envelope for dataset FK relationships (GAP-033).
Mirrors the {<entity>: [...], total: int} convention used by every other
paginated list endpoint (e.g. AttributeMetadataListResponse,
VrtGenerationListResponse) so callers can detect whether more pages exist.
total is the count of visible relationships before skip/limit.
object
object
Example generated
{ "relationships": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "label": "example", "relationship_type": "example", "source_column": "example", "source_dataset_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "target_column": "example", "target_dataset_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "target_dataset_title": "example" } ], "total": 1}Bad request — invalid payload
object
Example
{ "type": "about:blank"}Unauthorized — missing or invalid credentials
object
Example
{ "type": "about:blank"}Forbidden — caller lacks write access
object
Example
{ "type": "about:blank"}Not found
object
Example
{ "type": "about:blank"}Conflict — resource state prevents the operation
object
Example
{ "type": "about:blank"}Validation error
object
Example
{ "type": "about:blank"}Internal server error
object
Example
{ "type": "about:blank"}