Skip to main content
POST
/
hostedextractors
/
preview
/
download
Download preview result
curl --request POST \
  --url https://{cluster}.cognitedata.com/api/v1/projects/{project}/hostedextractors/preview/download \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "externalId": "my.known.id"
}
'
"<string>"

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.

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

External ID of preview job to get result for.

externalId
string
required

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

Maximum string length: 255
Example:

"my.known.id"

Response

Raw result from the preview.

The response is of type file.

Last modified on May 13, 2026