Lists all relationships. The order of retrieved objects may change for two calls with the same parameters. The endpoint supports pagination. The initial call to this endpoint should not contain a cursor, but the cursor parameter should be used to retrieve further pages of results.
One page of relationships stored by CDF.
General error object.
curl -i -X GET \ 'https://api.cognitedata.com/api/v1/projects/publicdata/relationships?limit=100&cursor=4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo&partition=1%2F10' \ -H 'Authorization: Bearer <YOUR_OpenID Connect or OAuth2 token_HERE>'
{- "items": [
- {
- "externalId": "string",
- "sourceExternalId": "string",
- "sourceType": "asset",
- "targetExternalId": "string",
- "targetType": "asset",
- "startTime": 1730204346000,
- "endTime": 1730204346000,
- "confidence": 1,
- "dataSetId": 1,
- "labels": [
- {
- "externalId": "my.known.id"
}
], - "createdTime": 1730204346000,
- "lastUpdatedTime": 1730204346000
}
], - "nextCursor": "string"
}