List Dataset Relationships
const url = 'https://example.com/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/relationships/?skip=0&limit=100';const options = {method: 'GET'};
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'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
Unauthorized — missing or invalid credentials
Forbidden — caller lacks write access
Not found
Conflict — resource state prevents the operation
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request