Download preview result

Download the raw, binary result of a preview job, before it is passed throguh any transformations. Note that this endpoint will return 404 if there is no raw data.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
Request Body schema: application/json
required

External ID of preview job to get result for.

externalId
required
string (CogniteExternalId) <= 255 characters

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

Responses
200

Raw result from the preview.

400

The response for a bad request.

422

Validation Error

post/hostedextractors/preview/download
Request samples
application/json
{
  • "externalId": "my.known.id"
}
Response samples
application/json
{
  • "error": {
    • "code": 400,
    • "message": "`null` values aren't allowed."
    }
}