Skip to content

List attestation repositories

GET
/orgs/{org}/attestations/repositories

List repositories owned by the provided organization that have created at least one attested artifact Results will be sorted in ascending order by repository ID

API method documentation

org
required
string

The organization name. The name is not case sensitive.

per_page
integer
default: 30

The number of results per page (max 100). For more information, see “Using pagination in the REST API.”

before
string

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor. For more information, see “Using pagination in the REST API.”

after
string

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor. For more information, see “Using pagination in the REST API.”

predicate_type
string

Optional filter for fetching attestations with a given predicate type. This option accepts provenance, sbom, release, or freeform text for custom predicate types.

Response

Media type application/json
Array<object>
object
id
integer
name
string
Examples
Example default
[
{
"id": 123,
"name": "foo"
},
{
"id": 456,
"name": "bar"
}
]