Skip to main content
GET
/
v1
/
assessments
/
{id}
Get an assessment
curl --request GET \
  --url https://api.app.chainloop.dev/v1/assessments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "result": {
    "justification_code": "ASSESSMENT_JUSTIFICATION_CODE_UNSPECIFIED",
    "note": "note",
    "creator_type": "ASSESSMENT_CREATOR_TYPE_UNSPECIFIED",
    "created_at": "2000-01-23T04:56:07.000Z",
    "external_id": "external_id",
    "project_version_id": "project_version_id",
    "created_by": {
      "intercom_hash": "intercom_hash",
      "created_at": "2000-01-23T04:56:07.000Z",
      "last_name": "last_name",
      "id": "id",
      "first_name": "first_name",
      "email": "email",
      "instance_admin": true
    },
    "products": [
      {
        "purl_glob": "purl_glob"
      },
      {
        "purl_glob": "purl_glob"
      }
    ],
    "updated_at": "2000-01-23T04:56:07.000Z",
    "project_id": "project_id",
    "finding_ids": [
      "finding_ids",
      "finding_ids"
    ],
    "organization_id": "organization_id",
    "scope": "ASSESSMENT_SCOPE_UNSPECIFIED",
    "id": "id",
    "status": "ASSESSMENT_STATUS_UNSPECIFIED"
  }
}

Authorizations

Authorization
string
header
required

Bearer token for authentication

Path Parameters

id
string
required

Assessment ID

Response

A successful response.

Response for Get method

result
AssessmentItem · object

Full representation of a security assessment

Example:
{
"justification_code": "ASSESSMENT_JUSTIFICATION_CODE_UNSPECIFIED",
"note": "note",
"creator_type": "ASSESSMENT_CREATOR_TYPE_UNSPECIFIED",
"created_at": "2000-01-23T04:56:07.000Z",
"external_id": "external_id",
"project_version_id": "project_version_id",
"created_by": {
"intercom_hash": "intercom_hash",
"created_at": "2000-01-23T04:56:07.000Z",
"last_name": "last_name",
"id": "id",
"first_name": "first_name",
"email": "email",
"instance_admin": true
},
"products": [
{ "purl_glob": "purl_glob" },
{ "purl_glob": "purl_glob" }
],
"updated_at": "2000-01-23T04:56:07.000Z",
"project_id": "project_id",
"finding_ids": ["finding_ids", "finding_ids"],
"organization_id": "organization_id",
"scope": "ASSESSMENT_SCOPE_UNSPECIFIED",
"id": "id",
"status": "ASSESSMENT_STATUS_UNSPECIFIED"
}