List attestations matching a search criteria within an organization.
This endpoint returns a dictionary mapping commit SHAs to lists of attestations. Each attestation contains metadata about compliance, timing, and type-specific data.
GET /attestations/my-org?flow_name=production-flow
GET /attestations/my-org?attestation_type=snyk&commit_list=ae08fc6a5c963ae8dfaa0c27d8e5de9980d433b6
GET /attestations/my-org?attestation_name=manual-test
GET /attestations/my-org?attestation_type=custom:security-scan
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The flow name to search for attestations in
The commit list that the attestations are associated with
^[a-f0-9]{40}$The attestation name to search for
The attestation ID to search for
The attestation type to search for. Use built-in types (e.g., 'junit') or 'custom:
Successfully retrieved attestations
Response model for listing attestations by commit.
This model represents a dictionary mapping commit SHAs to lists of attestations. Each attestation can be of different types (generic, junit, snyk, pull_request, jira, sonar, custom).