Skip to main content
GET
Get authoritative project scan summary

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

Project scan state including empty, active and failed projects.

Authoritative project scan summary, independent of history paging/search. Source selection is identical to ProjectSummary (full-first and the default-branch git provenance rule). Null source means no valid posture. Includes at most four scan records, never a history window.

total
integer
required
succeeded
integer
required
running
integer
required

All nonterminal scans, including queued scans.

queued
integer
required

Pending subset of running.

failed
integer
required
source_scan
object | null
required
active_scan
object | null
required
latest_completed_scan
object | null
required

Latest successful run of any coverage, for failure supersession.

latest_failed_scan
object | null
required