Skip to main content
GET
Proxy the bytes of an OSS file from the SCANOSS file-content service

Authorizations

Authorization
string
header
required

An Earnie API key, sent as Authorization: Bearer sk_earnie_.... Create one under Settings > API keys. The key's scopes decide which operations it may call.

Path Parameters

scanId
string<uuid>
required

Query Parameters

source_hash
string
required

CRC64 source hash of the matched OSS file — 16-char hex, the knowledge base's key type. MD5 keys are no longer supported.

Pattern: ^[0-9a-fA-F]{16}$

Response

Streamed OSS file bytes.

The response is of type file.