Skip to main content
POST
/
diagram-parsing
/
parsing
/
symbol-detection
Run parsing for files
curl --request POST \
  --url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/parsing/symbol-detection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "documents": [
    {
      "fileId": {
        "space": "<string>",
        "externalId": "my.known.id"
      },
      "pageNumber": 123
    }
  ],
  "libraryId": "my.known.id",
  "nonce": "<string>"
}
'
{
  "items": [
    "my.known.id"
  ]
}

Authorizations

Authorization
string
header
required

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.

Body

application/json

Specifies the library to use when parsing the given files.

documents
object[]
required
Required array length: 1 - 100 elements
libraryId
string
required

The external ID of a library for parsing

Maximum string length: 255
Example:

"my.known.id"

nonce
string
required

Nonce parameter

Response

List of external IDs returned in a response

items
string[]
required
Required array length: 1 - 100 elements

The external ID provided by the client. Must be unique for the resource type.

Maximum string length: 255
Last modified on April 23, 2026