Skip to main content
GET
Get a project's Scan Configuration sources

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

projectId
string<uuid>
required

Response

The project's Scan Configuration sources. A project that never saved one gets an empty project section.

A project's effective Scan Configuration sources, shown distinctly — the project's own editable document, the read-only entries contributed by the repo's committed scanoss.json, and the inherited organization document.

project
object
required

One UI-editable layer of Scan Configuration — the organization-wide document or a project's document. Skip patterns and size rules exclude files before scanning on the next scan; Component overrides auto-resolve matches at scan time.

organization
object
required

One UI-editable layer of Scan Configuration — the organization-wide document or a project's document. Skip patterns and size rules exclude files before scanning on the next scan; Component overrides auto-resolve matches at scan time.

effective_snippet_tuning
object
required

What the project's next scan runs with, per knob, resolved by the same function the scanner uses.

file
object | null

Null until a scan has observed a scanoss.json in the project's source (or after a scan observed the file was removed).