New: build custom CDF applications with Cognite Flows. Documentation · What's new.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/entities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"diagramId": "my.known.id",
"externalId": "my.known.id",
"isAssetVerified": true,
"isUserDetected": true,
"pathIds": [
"<string>"
],
"symbolId": "my.known.id"
}
]
}
'{
"items": [
{
"createdTime": 1730204346000,
"diagramId": "my.known.id",
"externalId": "my.known.id",
"isAssetVerified": true,
"isUserDetected": true,
"lastUpdatedTime": 1730204346000,
"pathIds": [
"<string>"
],
"symbolId": "my.known.id",
"annotationId": {
"space": "<string>",
"externalId": "my.known.id"
},
"assetId": {
"space": "<string>",
"externalId": "my.known.id"
}
}
]
}Required capabilities:
DiagramParsingAcl:WRITE
Create diagram entities.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/entities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"diagramId": "my.known.id",
"externalId": "my.known.id",
"isAssetVerified": true,
"isUserDetected": true,
"pathIds": [
"<string>"
],
"symbolId": "my.known.id"
}
]
}
'{
"items": [
{
"createdTime": 1730204346000,
"diagramId": "my.known.id",
"externalId": "my.known.id",
"isAssetVerified": true,
"isUserDetected": true,
"lastUpdatedTime": 1730204346000,
"pathIds": [
"<string>"
],
"symbolId": "my.known.id",
"annotationId": {
"space": "<string>",
"externalId": "my.known.id"
},
"assetId": {
"space": "<string>",
"externalId": "my.known.id"
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Diagram entities to create.
List of diagram entities to create
1 - 100 elementsShow child attributes
List of diagram entities
Show child attributes
Was this page helpful?