POST
/
v1
/
attestations
Creates and attestation from a piece of content
curl --request POST \
  --url https://api.app.chainloop.dev/v1/attestations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "content": "aSDinaTvuI8gbWludGxpZnk=",
  "project_name": "<string>"
}'
{
  "attestation": {
    "digest": "digest",
    "id": "id"
  }
}

Authorizations

Authorization
string
header
required

Bearer token for authentication

Body

application/json

Request to create and store an attestation

Response

200
application/json

A successful response.

Response for the attestation creation request