Skip to main content
GET
/
files
/
icon
Get icon
curl --request GET \
  --url https://{cluster}.cognitedata.com/api/v1/projects/{project}/files/icon \
  --header 'Authorization: Bearer <token>'
"<string>"

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.

Query Parameters

id
integer<int64>

A server-generated ID for the object.

Required range: 1 <= x <= 9007199254740991
externalId
string

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

Maximum string length: 255
Example:

"my.known.id"

space
string
Required string length: 1 - 43
Pattern: ^[a-zA-Z][a-zA-Z0-9_-]{0,41}[a-zA-Z0-9]?$
instanceExternalId
string
Required string length: 1 - 255
Pattern: ^[a-zA-Z]([a-zA-Z0-9_]{0,253}[a-zA-Z0-9])?$

Response

Thumbnail image (JPEG)

The response is of type file.

Last modified on April 23, 2026