Skip to main content
GET
Get artifact by fingerprint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

flow_name
string
required

Name of a flow in the org

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\.\-_~]*$
fingerprint
string
required

SHA-256 fingerprint of an artifact, or a prefix of it of at least 5 lowercase hex characters

Pattern: ^[a-f0-9]{5,64}$
org
string
required

Query Parameters

trail
string | null

The name of the trail the artifact was reported to.

attestation_id
string | null

Internal artifact attestation id.

Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{8}$

Response

Successful Response

id
string
required
fingerprint
string
required

SHA-256 fingerprint of an artifact, 64 lowercase hex characters

Pattern: ^[a-f0-9]{64}$
filename
string
required
created_at
string
required
last_modified_at
string
required
evidence
Evidence · object
required
flow_name
string
required

Name of a flow in the org

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\.\-_~]*$
commit_lead_times
Commit Lead Times · object
required
build_lead_times
Build Lead Times · object
required
trail_name
string | null

Name of a trail in the flow

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\.\-_~]*$
template_reference_name
string | null
Maximum string length: 255
Pattern: ^[a-zA-Z0-9\-_]+$
git_commit
string | null

Git commit SHA, 40 lowercase hex characters

Pattern: ^[a-f0-9]{40}$
git_commit_info
ArtifactCommitInfoResponse · object | null

The commit an artifact was built from.

An unrecorded message, author or branch is returned as "" and an unrecorded timestamp as 0, the values clients got when reporting them was required.

repo_info
RepoInfoResponse · object | null
commit_url
string | null
build_url
string | null
repo_url
string | null
html_url
string | null
api_url
string | null
user_data
unknown
external_urls
External Urls · object | null
annotations
Annotations · object | null
state
enum<string> | null
Available options:
COMPLIANT,
NON-COMPLIANT,
INCOMPLETE
template
string[] | null
state_info
string | null
running
any[] | null
exited
any[] | null
history
any[] | null